Fair Value Gaps Multi-Timeframe (HuntsPip)

────────────────────
█ CONCEPTS
A Fair Value Gap (FVG) is a three-candle pattern where the wicks of the first and third candles do not overlap, leaving a gap in the price range covered by the middle candle. This gap represents a price area where trading occurred in only one direction without being contested from the other side. In price action and Smart Money Concepts (SMC) analysis, some traders interpret these gaps as areas of imbalance that price may revisit later.
Viewing fair value gaps across multiple timeframes adds context to this analysis. Higher timeframe gaps tend to be wider and may carry more significance, while lower timeframe gaps are more frequent and granular. When gaps from different timeframes overlap or cluster in the same price area, some traders interpret this as a zone of stronger interest. Mitigation - when price returns to fill or partially fill the gap - can be tracked independently for each timeframe layer.
────────────────────
█ WHAT IT DOES
This tool scans for fair value gaps on three configurable timeframes and displays them as colored boxes on the chart. Each timeframe layer uses its own colors and transparency levels so traders can visually distinguish which timeframe a gap belongs to. An optional label on each zone displays the timeframe and "FVG" text for quick identification.
Active gaps extend forward on the chart and update their right edge on each new bar. When mitigation tracking is enabled, the tool monitors whether price has returned to interact with each gap according to the selected condition for that timeframe. Mitigated zones change to a neutral color and stop extending. Each timeframe layer manages its own display limit, prioritizing gaps closest to the current price and removing the farthest ones when the maximum is reached. Mitigated zones can optionally remain on the chart up to a separate limit per timeframe.
────────────────────
█ FEATURES AND USAGE
FAIR VALUE GAPS (HIGHER / INTERMEDIATE / CHART)
Three separate settings groups control FVG detection for each timeframe. All three share the same settings layout:
- Display FVGs of - Toggles detection on or off. For the Higher and Intermediate groups, a timeframe selector sets which timeframe to scan. The Chart group uses the current chart timeframe.
- Mitigate FVG when - Toggle and dropdown for mitigation tracking.
- Close Outside - Price closes beyond the far edge of the gap.
- Wick Outside - Price wicks beyond the far edge of the gap.
- Close > 50% - Price closes past the midpoint of the gap.
- Wick > 50% - Price wicks past the midpoint of the gap.
- Close Inside - Price closes inside the gap.
- Wick Inside - Price wicks into the gap. - Show Label - Toggles the timeframe and FVG label on each zone.
- Colors - Three color pickers controlling the bullish, bearish, and mitigated zone colors.
- Display maximum of - Controls how many active gaps are shown for this timeframe. The indicator prioritizes zones closest to the current price.
- Max Mitigated - Controls how many mitigated zones remain visible for this timeframe.
- Extend forward by - Controls how far active zone boxes extend to the right. Max: 200 bars.
This tool works on any instrument and any timeframe. Traders who want a top-down view can enable all three layers and use progressively lower transparency for higher timeframes so the most significant gaps stand out visually. Those who prefer a cleaner chart can enable just one or two layers. Fair value gaps are best used as confluence with other analysis - such as order blocks, market structure, or session levels - rather than as standalone entry triggers.
Script sob convite
Somente usuários aprovados pelo autor podem acessar este script. Você precisará solicitar e obter permissão para usá-lo. Normalmente, essa permissão é concedida após o pagamento. Para obter mais detalhes, siga as instruções do autor abaixo ou entre em contato diretamente com HuntsPipDevs.
A TradingView NÃO recomenda pagar ou usar um script, a menos que você confie totalmente em seu autor e entenda como ele funciona. Você também pode encontrar alternativas gratuitas e de código aberto em nossos scripts da comunidade.
Instruções do autor
Aviso legal
Script sob convite
Somente usuários aprovados pelo autor podem acessar este script. Você precisará solicitar e obter permissão para usá-lo. Normalmente, essa permissão é concedida após o pagamento. Para obter mais detalhes, siga as instruções do autor abaixo ou entre em contato diretamente com HuntsPipDevs.
A TradingView NÃO recomenda pagar ou usar um script, a menos que você confie totalmente em seu autor e entenda como ele funciona. Você também pode encontrar alternativas gratuitas e de código aberto em nossos scripts da comunidade.