OPEN-SOURCE SCRIPT
Atualizado FVG Mapper + Filter

HTF FVG Mapper — Multi-Timeframe Imbalance Projection
For some reason its not showing on the chart above, this site is a buggy mess sometimes, the UI is just the worst.
What the Script Does
How Fair Value Gaps Are Defined
This reflects displacement and temporary imbalance in auction delivery.
Important: FVGs are confirmed only after the selected HTF candle closes to prevent repainting.
Customisation Options
Intended Usage
This indicator is designed for traders who:
Typical Workflow
Important Context
It is not a mechanical strategy.
It is a multi-timeframe structural context tool designed to improve execution precision within higher-timeframe imbalance zones.
For some reason its not showing on the chart above, this site is a buggy mess sometimes, the UI is just the worst.
This script detects Fair Value Gaps (FVGs) on a selectable higher timeframe (HTF) and projects them onto lower timeframes (such as 1-minute) as extended zones. While commonly used with the 4-hour chart, the timeframe is fully customizable, allowing traders to map imbalances from any higher timeframe onto their execution chart.
What the Script Does
- Scans a user-defined higher timeframe using the classic 3-candle FVG model
- Identifies bullish and bearish imbalances (true displacement gaps)
- Allows full HTF selection (e.g., 1H, 4H, Daily, etc.)
- Filters out insignificant gaps using HTF ATR (optional size filter)
- Draws zones on the lower timeframe chart and extends them right
- Deletes zones once mitigated (if enabled)
- Limits the total number of active zones to reduce clutter
- Optionally removes zones far from current price
- Allows wick-based or body-based mitigation detection
How Fair Value Gaps Are Defined
- Bullish FVG → Low of candle 3 is greater than High of candle 1
- Bearish FVG → High of candle 3 is lower than Low of candle 1
This reflects displacement and temporary imbalance in auction delivery.
Important: FVGs are confirmed only after the selected HTF candle closes to prevent repainting.
Customisation Options
- Select the higher timeframe to scan (not restricted to 4H)
- Set maximum number of visible zones
- Enable/disable automatic deletion after mitigation
- Enable minimum size filtering using HTF ATR
- Adjust minimum gap size sensitivity
- Enable proximity filtering (show only zones near current price)
- Toggle wick-based vs body-based fill detection
- Adjust visual styling (colors, transparency)
Intended Usage
This indicator is designed for traders who:
- Trade lower timeframes but anchor bias to higher-timeframe structure
- Use HTF imbalances as reaction or continuation zones
- Look for confluence between liquidity sweeps and HTF inefficiencies
- Want structured multi-timeframe context without visual overload
Typical Workflow
- Select a higher timeframe aligned with your bias (e.g., 4H or Daily)
- Identify active imbalances on your execution timeframe
- Wait for price to approach an HTF FVG
- Drop to lower timeframe structure for confirmation
- Execute with defined invalidation beyond the zone
Important Context
- This indicator does not generate buy/sell signals
- It does not predict direction
- It visualizes higher-timeframe inefficiencies only
- Trade management and bias determination remain trader-dependent
It is a multi-timeframe structural context tool designed to improve execution precision within higher-timeframe imbalance zones.
Notas de Lançamento
Update:- Instead of removing fvgs, fade them.
- Upon selected invalidation condition, stop extending, extend to the point where fvg has been invalidated.
Notas de Lançamento
Close inside now will also count a closethroughScript de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.