[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.
Skrip hanya-undangan
Hanya pengguna yang disetujui oleh penulis yang dapat mengakses skrip ini. Anda perlu meminta dan mendapatkan izin untuk menggunakannya. Izin ini biasanya diberikan setelah pembayaran. Untuk detail selengkapnya, ikuti petunjuk penulis di bawah ini atau hubungi Seboo88 secara langsung.
TradingView TIDAK menyarankan untuk membayar atau menggunakan skrip kecuali Anda sepenuhnya mempercayai pembuatnya dan memahami cara kerjanya. Anda juga dapat menemukan alternatif yang gratis dan sumber terbuka di skrip komunitas kami.
Instruksi penulis
Pernyataan Penyangkalan
Skrip hanya-undangan
Hanya pengguna yang disetujui oleh penulis yang dapat mengakses skrip ini. Anda perlu meminta dan mendapatkan izin untuk menggunakannya. Izin ini biasanya diberikan setelah pembayaran. Untuk detail selengkapnya, ikuti petunjuk penulis di bawah ini atau hubungi Seboo88 secara langsung.
TradingView TIDAK menyarankan untuk membayar atau menggunakan skrip kecuali Anda sepenuhnya mempercayai pembuatnya dan memahami cara kerjanya. Anda juga dapat menemukan alternatif yang gratis dan sumber terbuka di skrip komunitas kami.