INVITE-ONLY SCRIPT
[ICT Sebo] HTF FVG

Overview
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.
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.
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。