OPEN-SOURCE SCRIPT
Pre-Market High and Low

This Pine Script indicator automatically plots the pre-market high and low price levels for each trading day, helping traders identify key support and resistance zones based on pre-market activity. Designed for stocks and other assets with pre-market sessions, it draws horizontal lines at the pre-market high and low prices at the regular market open (9:30 AM EST) and resets automatically at the start of each new trading day.
Features:
Automatic Daily Reset: Tracks pre-market highs and lows without requiring manual date changes.
Customizable Timeframe: Set your preferred pre-market session (default: 4:00 AM to 9:30 AM EST).
Flexible Styling: Choose line styles (Solid, Dashed, Dotted) and colors for high/low lines.
Adjustable Panel Size: Control how far the lines extend across the chart (default: 50 bars).
Optional Labels: Toggle labels to display "Pre-Market High" and "Pre-Market Low" at the market open.
Overlay Display: Lines and labels are plotted directly on the price chart for easy reference.
Features:
Automatic Daily Reset: Tracks pre-market highs and lows without requiring manual date changes.
Customizable Timeframe: Set your preferred pre-market session (default: 4:00 AM to 9:30 AM EST).
Flexible Styling: Choose line styles (Solid, Dashed, Dotted) and colors for high/low lines.
Adjustable Panel Size: Control how far the lines extend across the chart (default: 50 bars).
Optional Labels: Toggle labels to display "Pre-Market High" and "Pre-Market Low" at the market open.
Overlay Display: Lines and labels are plotted directly on the price chart for easy reference.
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.