OPEN-SOURCE SCRIPT
Session Range High Low (ORB)

This Pine Script indicator plots the High and Low of a user-defined trading session directly on your chart. It allows traders to visualize key intraday levels formed during specific market sessions (such as London, New York, Asia, or any custom time window).
This script can also be used as an Opening Range Breakout strategy.
The script dynamically tracks price action within the selected session and automatically locks in the session’s high and low once the session closes. These levels can then be used as reference points for breakouts, reversals, liquidity sweeps, and intraday bias.
Designed for flexibility, the indicator includes customizable session times, line styles, colors, and display options, allowing traders to tailor it to their strategy and chart setup.
This script can also be used as an Opening Range Breakout strategy.
The script dynamically tracks price action within the selected session and automatically locks in the session’s high and low once the session closes. These levels can then be used as reference points for breakouts, reversals, liquidity sweeps, and intraday bias.
Designed for flexibility, the indicator includes customizable session times, line styles, colors, and display options, allowing traders to tailor it to their strategy and chart setup.
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.
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.