OPEN-SOURCE SCRIPT
Updated

Custom Session Static Breakout Levels

84
snapshot
This indicator defines a trading session based on user-specified time and a custom GMT timezone. Its primary function is to provide traders with fixed historical data rather than dynamic information.

Core Logic:

Dynamic Box Update: While the price remains within the session, the "Box" (dynamic high/low) tracks the current session's extreme prices.

Static Level Anchoring: The moment price breaks above the session's high or below its low, the Box updates, and a static horizontal price line is immediately drawn at the previous, unbroken extreme (the historical support/resistance of the Box).

Breakout Identification: The candle responsible for the breakout is clearly marked, providing traders with an anchor point for fixed, structural analysis.
Release Notes
Clear the signal variables at the end of the time period

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.