[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.
Tập lệnh chỉ hiển thị cho người được mời
Chỉ những người dùng được tác giả chấp thuận mới có thể truy cập tập lệnh này. Bạn sẽ cần yêu cầu và được cấp quyền sử dụng. Thông thường quyền này được cấp sau khi thanh toán. Để biết thêm chi tiết, làm theo hướng dẫn của tác giả bên dưới hoặc liên hệ trực tiếp với Seboo88.
TradingView KHÔNG khuyến nghị bạn trả phí hoặc sử dụng một tập lệnh trừ khi bạn hoàn toàn tin tưởng vào tác giả và hiểu cách hoạt động của tập lệnh. Bạn cũng có thể tìm các lựa chọn miễn phí, mã nguồn mở trong các script cộng đồng của chúng tôi.
Hướng dẫn của tác giả
Thông báo miễn trừ trách nhiệm
Tập lệnh chỉ hiển thị cho người được mời
Chỉ những người dùng được tác giả chấp thuận mới có thể truy cập tập lệnh này. Bạn sẽ cần yêu cầu và được cấp quyền sử dụng. Thông thường quyền này được cấp sau khi thanh toán. Để biết thêm chi tiết, làm theo hướng dẫn của tác giả bên dưới hoặc liên hệ trực tiếp với Seboo88.
TradingView KHÔNG khuyến nghị bạn trả phí hoặc sử dụng một tập lệnh trừ khi bạn hoàn toàn tin tưởng vào tác giả và hiểu cách hoạt động của tập lệnh. Bạn cũng có thể tìm các lựa chọn miễn phí, mã nguồn mở trong các script cộng đồng của chúng tôi.