OPEN-SOURCE SCRIPT
Session important reference lines

This indicator automatically plots crucial price reference points for the Regular Trading Hours (RTH) session, including Yesterday's High/Low/Close, Session Open, Midpoint, and the Initial Balance (IB) range with its 2x extension.
In the example above the lines are:
Dotted green - Today's open price
Dashed yellow - Today's mid line
Solid yellow - Initial Balance high/low
Dotted yellow - Initial Balance extension
Dotted dark green - Previous session high
Dotted dark red - Previous session low
Dotted orange - Previous session close
In the example above the lines are:
Dotted green - Today's open price
Dashed yellow - Today's mid line
Solid yellow - Initial Balance high/low
Dotted yellow - Initial Balance extension
Dotted dark green - Previous session high
Dotted dark red - Previous session low
Dotted orange - Previous session close
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.