Fair Value Gaps
Multi-Timeframe Imbalance Detection
Identify where price moved too fast - and where it's likely to return.
The Fair Value Gaps (FVG) indicator detects price imbalances across up to three independent timeframe sources simultaneously - chart/higher timeframe, a second chart/higher timeframe, and a lower intrabar timeframe - giving a complete picture of unfilled gaps at every degree of market structure.
What Is a Fair Value Gap
A Fair Value Gap forms when price moves so quickly in one direction that a three-candle sequence leaves an untouched price zone between the first and third candle. These imbalances represent areas where no two-sided trading occurred, and price frequently returns to them to seek liquidity or establish value.
Three Independent FVG Sources
Each of the three FVG layers is independently configurable with its own timeframe, fill method, zone colors, and label visibility:
FVG #1 & #2 (Chart / HTF) - detect gaps on the current chart timeframe or any higher timeframe up to Monthly. When a higher timeframe is selected and it is above the chart timeframe, gaps are derived from reconstructed HTF candles, providing macro-level imbalance context directly on your chart.
FVG #3 (LTF - Intrabar) - uses lower timeframe data within each chart bar to reveal micro-structure gaps invisible on the chart timeframe. Auto mode selects an appropriate lower timeframe based on the current chart period.
Fill Methods
Each FVG source uses its own independently selected fill method to determine when a zone is considered repaired:
Any Touch - zone is filled when price wicks into it from either side
Midpoint Reached - zone is filled when price reaches the 50% level of the imbalance
Wick Sweep - zone is filled when a wick fully passes through the entire zone and returns inside
Body Beyond - zone is filled only when the candle body closes beyond the opposite edge, confirming full structural repair
Active zones display real-time fill progress as a percentage, updating as price interacts with each imbalance.
LTF Significance Filter
The lower timeframe FVG layer includes an ATR-based significance filter. Gaps smaller than the defined threshold relative to the average true range are ignored, keeping the chart focused on meaningful imbalances and filtering out noise.
Zone Display
Each FVG zone is rendered with three boundary lines - top, midpoint (dotted), and bottom - plus a filled background for quick visual identification. Labels show the source timeframe and live fill progress. Hovering any zone reveals a tooltip with exact top, mid, and bottom prices.
Notes
Higher timeframe FVG sources automatically fall back to the chart timeframe if the selected HTF is not above the current chart period. The LTF source requires intrabar data access and processes sub-bar history at each chart bar close. Max Bars Back controls how far into history each source looks for gaps, helping manage performance on long chart histories.