Institutional Fair Value Gap Liquidity Net MT5
- Indicatori
-
Anthony Cooke
Quantitative Systems Architect and C++, Python, MQL5, MQL4, and Pine Script developer specializing in non-repainting mathematical indicators, Expert Advisors, and statistical strategy audits. I combine industrial quality-control engineering and Applied Mathematics with multi-physics market modeling - Versione: 1.0
- Attivazioni: 5
Overview & Scientific Origin
The Institutional Fair Value Gap Liquidity Net is an institutional quantitative indicator engineered from Market Microstructure and Electronic Order-Book Theory (Smart Money Concepts) . In institutional execution desks and interbank liquidity pools, aggressive high-volume market orders frequently sweep resting limit orders faster than market makers can replenish the book. This displacement leaves behind measurable three-candle price voids—known as Fair Value Gaps (FVGs) or liquidity imbalances—that institutional pricing algorithms routinely revisit to fill remaining orders before continuing the trend . This tool replaces manual chart-drawing with an objective, ATR-filtered, strictly causal liquidity zone engine built for Gold (XAUUSD), Silver (XAGUSD), Major Forex pairs, and US Indices .
Mathematical Mechanism & What It Does
Most retail FVG indicators clutter the chart with dozens of meaningless 1-pip gaps caused by low-volume noise. This indicator enforces strict institutional displacement rules and exact timestamp anchoring so historical zones never drift:
-
ATR-Scaled Displacement Filter: Scans every closed 3-bar candle formation for an unmitigated price gap, confirming a valid FVG only when both the gap width ( InpMinGapATR = 0.25 ) and the middle impulse candle body ( InpMinBodyATR = 0.50 ) exceed dynamic fractions of the 55-bar Average True Range ( InpATRPeriod = 55 ).
-
Exact Zone & Midpoint Mapping: Every confirmed imbalance is locked by timestamp with its exact upper edge, lower edge, and 50% Consequent Encroachment (CE) equilibrium midpoint, extending forward across the chart ( InpExtendBars = 15 ) while capping chart clutter to the most relevant zones ( InpMaxZones = 24 ).
-
Causal Live Mitigation Tracking: As new bars print, the engine automatically monitors whether price has rebalanced the gap based on your chosen rule ( InpMitMode — Touch, 50% Consequent Encroachment, or Full Fill), immediately shifting mitigated zones to DimGray while keeping active unmitigated liquidity pockets highlighted in MediumSeaGreen (bullish) and Crimson (bearish).
-
How to Trade With This Indicator
-
Bullish Liquidity Pullback Entry: When a MediumSpringGreen upward arrow confirms a new MediumSeaGreen bullish FVG zone, wait for price to retrace into the zone—specifically targeting the dashed 50% Consequent Encroachment midpoint—for a high-probability trend-continuation entry.
-
Bearish Liquidity Pullback Entry: When a Crimson downward arrow confirms a new Crimson bearish FVG zone, monitor rallies back into the imbalance block or its 50% midpoint for short continuation setups.
-
Mitigation & Target Selection: Active unmitigated zones act as institutional magnets for take-profit targets. Once a zone flips to DimGray (mitigated), that liquidity pocket has been filled and should no longer be traded as a fresh level.
Technical Specifications & Input Parameters
-
Calculation Engine: 100% causal non-series bar-by-bar execution with zero repainting, zero historical zone drift, and zero external DLL calls .
-
InpATRPeriod (Default: 55): Rolling ATR lookback window used to scale minimum displacement thresholds across any asset or timeframe.
-
InpMinGapATR (Default: 0.25) & InpMinBodyATR (Default: 0.50): Minimum gap size and impulse candle body size (in multiples of ATR) required to filter out retail noise.
-
InpMitMode (Default: FVG_MIT_CE): Selectable mitigation trigger—Touch, 50% Consequent Encroachment ( FVG_MIT_CE ), or Full Fill.
-
Display & Zone Controls: InpLookbackBars ( 500 ), InpMaxZones ( 24 ), InpExtendBars ( 15 ), InpShowCE ( true ), InpShowMitigated ( true ), plus customizable colors ( InpBullColor , InpBearColor , InpMitColor ).
-
Prop-Firm & EA Ready: Exposes dedicated iCustom indicator buffers (5 buffers on MT5, 4 buffers on MT4) so Expert Advisors can read live FVG signals and zone boundaries programmatically .
