OPEN-SOURCE SCRIPT
Cập nhật HTF FVG Scanner - Filtered

This script automatically identifies Fair Value Gaps (FVGs) — price inefficiencies — using a 3-candle pattern logic.
⚙️ How it works
Scans sequences of 3 consecutive candles to detect gaps between the first and the third candle
Highlights:
Bullish FVG when price leaves an imbalance to the upside
Bearish FVG when price leaves an imbalance to the downside
Draws FVGs as boxes extended forward until mitigation
📊 Multi-Timeframe
Supports FVG detection on multiple timeframes (e.g., H1, H4, Daily)
Displays higher timeframe FVGs on the current chart
Helps identify key liquidity zones
🎯 Filters & Customization
Minimum FVG size (to filter out weak signals)
Lookback range
Mitigation logic (partial or full)
Visual settings (colors, labels, box style)
🧠 Usage
FVGs represent areas where price moved too quickly, leaving an imbalance.
Price often revisits these zones to rebalance.
Not all FVGs are tradable — the most reliable ones align with market structure and liquidity.
⚙️ How it works
Scans sequences of 3 consecutive candles to detect gaps between the first and the third candle
Highlights:
Bullish FVG when price leaves an imbalance to the upside
Bearish FVG when price leaves an imbalance to the downside
Draws FVGs as boxes extended forward until mitigation
📊 Multi-Timeframe
Supports FVG detection on multiple timeframes (e.g., H1, H4, Daily)
Displays higher timeframe FVGs on the current chart
Helps identify key liquidity zones
🎯 Filters & Customization
Minimum FVG size (to filter out weak signals)
Lookback range
Mitigation logic (partial or full)
Visual settings (colors, labels, box style)
🧠 Usage
FVGs represent areas where price moved too quickly, leaving an imbalance.
Price often revisits these zones to rebalance.
Not all FVGs are tradable — the most reliable ones align with market structure and liquidity.
Phát hành các Ghi chú
Fix bugPhát hành các Ghi chú
Aggiornato motore trigger di ingressoLock della FVG Primary
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
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.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
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.