OPEN-SOURCE SCRIPT
Telah dikemas kini 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.
Nota Keluaran
Update:- Instead of removing fvgs, fade them.
- Upon selected invalidation condition, stop extending, extend to the point where fvg has been invalidated.
Nota Keluaran
Close inside now will also count a closethroughSkrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.