OPEN-SOURCE SCRIPT
Atualizado 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.
Notas de Lançamento
Fix bugNotas de Lançamento
Aggiornato motore trigger di ingressoLock della FVG Primary
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.
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.