OPEN-SOURCE SCRIPT
Mis à jour 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.
Notes de version
Update:- Instead of removing fvgs, fade them.
- Upon selected invalidation condition, stop extending, extend to the point where fvg has been invalidated.
Notes de version
Close inside now will also count a closethroughScript open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.