[ICT Sebo] HTF FVG

This indicator identifies and visualizes higher-timeframe Fair Value Gaps (HTF FVGs) directly on a lower-timeframe chart. It aggregates price action internally to construct higher-timeframe candles and highlights structurally relevant imbalances without using request.security().
The script is designed as a contextual HTF imbalance reference tool and does not generate trade signals.
How it works
The indicator reconstructs higher-timeframe candles by aggregating lower-timeframe price data in real time. Each higher-timeframe bar is built internally, preserving its open, high, low and close values as well as its exact time window.
Once three consecutive higher-timeframe candles are available, the script evaluates whether a Fair Value Gap has formed. A bullish HTF FVG is detected when a completed bullish candle is followed by a price imbalance where the high of the candle two periods back is below the low of the current candle. A bearish HTF FVG is detected when the low of the candle two periods back is above the high of the current candle.
Each detected gap is validated using a minimum size filter expressed as a percentage of price.
Visualization
Valid HTF Fair Value Gaps are displayed as shaded boxes projected forward for a fixed number of higher-timeframe bars. Each gap includes a dashed midpoint line representing the equilibrium level and a centered label indicating the originating higher timeframe.
Bullish gaps are displayed in green and bearish gaps are displayed in red.
The indicator plots gaps only after a full higher-timeframe structure is confirmed and does not repaint previously confirmed zones.
Intended use
This tool supports higher-timeframe context analysis, imbalance mapping and multi-timeframe market structure observation. It is suitable for intraday analysis where higher-timeframe levels are used as contextual references and should be combined with broader market context and risk management.
Notes
This indicator does not predict price direction, does not provide entry or exit signals and is intended purely as a visual reference for higher-timeframe Fair Value Gaps.
Script sob convite
Somente usuários aprovados pelo autor podem acessar este script. Você precisará solicitar e obter permissão para usá-lo. Normalmente, essa permissão é concedida após o pagamento. Para obter mais detalhes, siga as instruções do autor abaixo ou entre em contato diretamente com Seboo88.
A TradingView NÃO recomenda pagar ou usar um script, a menos que você confie totalmente em seu autor e entenda como ele funciona. Você também pode encontrar alternativas gratuitas e de código aberto em nossos scripts da comunidade.
Instruções do autor
Aviso legal
Script sob convite
Somente usuários aprovados pelo autor podem acessar este script. Você precisará solicitar e obter permissão para usá-lo. Normalmente, essa permissão é concedida após o pagamento. Para obter mais detalhes, siga as instruções do autor abaixo ou entre em contato diretamente com Seboo88.
A TradingView NÃO recomenda pagar ou usar um script, a menos que você confie totalmente em seu autor e entenda como ele funciona. Você também pode encontrar alternativas gratuitas e de código aberto em nossos scripts da comunidade.