OPEN-SOURCE SCRIPT
Updated X HL Targets

Designed to track and project prior interval high and low levels. It provides traders with clear reference points for potential targets, support and resistance
Key Features
Prior Interval Anchoring
At the start of each new interval, the indicator captures the previous interval’s high and low.
Current interval developing highs and lows are ignored, ensuring only completed data drives level creation.
Dynamic Extensions
Each high and low level is extended forward until price action mitigates (touches or crosses) the level.
When mitigated, the line is automatically “frozen” at the bar of contact and restyled to a subdued color.
End-of-Day Housekeeping
Optional setting allows all mitigated lines to be automatically removed at the end of each interval, keeping charts uncluttered and focused only on active untested levels.
Performance Management
User-defined limit on the number of past intervals retained ensures efficient performance and prevents chart overload.
Trading Applications
Target Mapping: Prior interval highs and lows are commonly watched areas where liquidity pools form and price often reacts.
Breakout & Reversal Signals: Monitoring if and when price mitigates these levels can help confirm breakouts or identify potential reversals.
Intraday Focus: By excluding developing highs and lows of the current session, the indicator emphasizes only proven, market-validated levels.
Clean Workspace: End-of-day deletion of mitigated lines prevents clutter and highlights only the most relevant active levels for ongoing sessions.
Key Features
Prior Interval Anchoring
At the start of each new interval, the indicator captures the previous interval’s high and low.
Current interval developing highs and lows are ignored, ensuring only completed data drives level creation.
Dynamic Extensions
Each high and low level is extended forward until price action mitigates (touches or crosses) the level.
When mitigated, the line is automatically “frozen” at the bar of contact and restyled to a subdued color.
End-of-Day Housekeeping
Optional setting allows all mitigated lines to be automatically removed at the end of each interval, keeping charts uncluttered and focused only on active untested levels.
Performance Management
User-defined limit on the number of past intervals retained ensures efficient performance and prevents chart overload.
Trading Applications
Target Mapping: Prior interval highs and lows are commonly watched areas where liquidity pools form and price often reacts.
Breakout & Reversal Signals: Monitoring if and when price mitigates these levels can help confirm breakouts or identify potential reversals.
Intraday Focus: By excluding developing highs and lows of the current session, the indicator emphasizes only proven, market-validated levels.
Clean Workspace: End-of-day deletion of mitigated lines prevents clutter and highlights only the most relevant active levels for ongoing sessions.
Release Notes
language clean upOpen-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.