INVITE-ONLY SCRIPT

[ICT Sebo] HTF High & Lows

17
Overview

This indicator identifies and tracks significant higher-timeframe highs and lows (HTF Highs & Lows) and projects them onto a lower-timeframe chart. It dynamically monitors how price interacts with these levels and highlights liquidity sweep events within a defined trading session.

The script is designed as a higher-timeframe liquidity and structure reference tool and does not generate trade signals.

How it works

The indicator internally aggregates higher-timeframe candles based on the selected timeframe input. From consecutive higher-timeframe candles, it derives structurally relevant highs and lows and extends these levels forward in time.

Each HTF level remains active until price trades through it. When price touches and trades through a level, the indicator classifies the event as a liquidity sweep and visually updates the level state.

Session logic is applied so that sweep detection, alerts and background highlighting are only active during the defined trading session, ensuring time-filtered context.

Liquidity sweep detection and visualization

When price trades through a higher-timeframe high or low, the level switches to a dashed state and a sweep label is plotted directly on the chart. A temporary background highlight reflects the most recent sweep direction, providing immediate visual context.

Swept levels are automatically aged and removed after a defined number of bars, keeping the chart clean and focused on relevant structure.

Additional context and references

Optional reference candles from the originating higher timeframe can be displayed to visually confirm how each high or low was formed. Each level is also accompanied by a dynamic label showing the originating timeframe and the elapsed time since the level was created.

Intended use

This tool supports higher-timeframe market structure analysis, liquidity mapping and session-based context evaluation. It is suitable for intraday analysis where HTF highs and lows are used as key reference levels 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 and analytical reference for higher-timeframe liquidity levels.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.