OPEN-SOURCE SCRIPT
Updated

Market Open Line - 9:30 AM ET

117
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!
Release Notes
Updated to fix errors on specialty charts.

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.