OPEN-SOURCE SCRIPT
Updated Opening Range, Initial Balance, Opening Price

This script draws Opening Range, Initial Balance and Opening Price with options to show mid levels.
By default, lines changes color depending on whether closing price is above or below the lines. Red if price is below, green if price is above.
Colors and line styles are all configurable.
Options to change label positions.
Some definitions:
Opening Range - The opening range is high and low for a given period after the market opens. This period is generally the first 30 or 60 minutes of trading
Initial Balance - WRT to TPO profile chart, the Initial Balance is the price range resulting from the market’s trade during the first two 30 minute periods of the regular trading hours session.
Why is this useful?
The first hour of the trading day is the most active and dynamic period. The price range defined by this period of trading creates some key support / resistance levels for the rest of the day. Example below:
https://tradingview.sweetlogin.com/x/YdaoqNGa/
By default, lines changes color depending on whether closing price is above or below the lines. Red if price is below, green if price is above.
Colors and line styles are all configurable.
Options to change label positions.
Some definitions:
Opening Range - The opening range is high and low for a given period after the market opens. This period is generally the first 30 or 60 minutes of trading
Initial Balance - WRT to TPO profile chart, the Initial Balance is the price range resulting from the market’s trade during the first two 30 minute periods of the regular trading hours session.
Why is this useful?
The first hour of the trading day is the most active and dynamic period. The price range defined by this period of trading creates some key support / resistance levels for the rest of the day. Example below:
https://tradingview.sweetlogin.com/x/YdaoqNGa/
Release Notes
Updated time zone bug to that it will work properly on futuresRelease Notes
Added time zone options for sessions time. This allows users to adjust to their local time zone,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.
Purchases / Subscriptions / Support - buymeacoffee.com/ptgambler
PayPal - paypal.me/PtGambler
You can reach me privately through my Discord Channel: discord.gg/WMQfaVGyQC
PayPal - paypal.me/PtGambler
You can reach me privately through my Discord Channel: discord.gg/WMQfaVGyQC
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.
Purchases / Subscriptions / Support - buymeacoffee.com/ptgambler
PayPal - paypal.me/PtGambler
You can reach me privately through my Discord Channel: discord.gg/WMQfaVGyQC
PayPal - paypal.me/PtGambler
You can reach me privately through my Discord Channel: discord.gg/WMQfaVGyQC
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.