OPEN-SOURCE SCRIPT
Updated

Session important reference lines

223
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
Release Notes
Update: Control the IB line opacity in the time before it is settled
Release Notes
Per BenkoTrader request, draw the IB lines, once settled, as "lines" and not "plot", so they are more crisp and strong.
Release Notes
Added "show last price" option which will draw a dashed line from the last bar close price to the price axis

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.