OPEN-SOURCE SCRIPT
Cập nhật

FVG Mapper + Filter

112
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.


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

  1. Bullish FVG → Low of candle 3 is greater than High of candle 1
  2. 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

  1. Select a higher timeframe aligned with your bias (e.g., 4H or Daily)
  2. Identify active imbalances on your execution timeframe
  3. Wait for price to approach an HTF FVG
  4. Drop to lower timeframe structure for confirmation
  5. 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 not a mechanical strategy.

It is a multi-timeframe structural context tool designed to improve execution precision within higher-timeframe imbalance zones.
Phát hành các Ghi chú
Update:

  • Instead of removing fvgs, fade them.
  • Upon selected invalidation condition, stop extending, extend to the point where fvg has been invalidated.
Phát hành các Ghi chú
Close inside now will also count a closethrough

Thông báo miễn trừ trách nhiệm

Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.