OPEN-SOURCE SCRIPT
Updated Market Open Line - 9:30 AM ET

I've created a PineScript indicator that draws a horizontal line at the exact opening price from 9:30 AM Eastern Time.
Key Features:
Detects when the market opens at 9:30 AM ET
Captures the opening price at that exact time
Draws a horizontal line that extends from 9:30 AM through the rest of the trading session
Resets daily for a fresh line each trading day
Includes an optional label showing the price level
I tried to find other scripts that performed this same function on all chart types (i.e. Renko) but no other scripts worked for all use cases.
Cheers!
Key Features:
Detects when the market opens at 9:30 AM ET
Captures the opening price at that exact time
Draws a horizontal line that extends from 9:30 AM through the rest of the trading session
Resets daily for a fresh line each trading day
Includes an optional label showing the price level
I tried to find other scripts that performed this same function on all chart types (i.e. Renko) but no other scripts worked for all use cases.
Cheers!
Release Notes
Updated to fix errors on specialty charts. 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.