OPEN-SOURCE SCRIPT
Premarket High/Low Rays - RTH Safe

Premarket High/Low Rays (04:00–09:30)
This indicator is designed for intraday traders who operate in regular trading hours (RTH) and need access to key premarket levels without enabling extended hours on the chart.
⸻
Overview
The script automatically calculates:
• Premarket High
• Premarket Low
from 04:00 to 09:30 AM (New York time) and projects these levels into the regular session.
At the market open (09:30), it draws two horizontal rays that extend to the right:
• Premarket High
• Premarket Low
These levels remain visible throughout the trading session.
⸻
Key Features
• Works without Extended Hours enabled
• Uses internal data to calculate premarket range
• Draws clean ray-style levels (extend.right)
• Updates automatically each trading day
• No repainting
• Lightweight and optimized for intraday use
⸻
Purpose
Premarket levels are critical reference points for:
• Breakouts
• Rejections
• Liquidity zones
• Intraday bias confirmation
This indicator allows you to integrate that context directly into your RTH workflow without cluttering your chart.
⸻
Customization
You can adjust:
• Line color (High / Low)
• Line width
• Line style (Solid / Dashed / Dotted)
• Label visibility
• Price display on labels
⸻
Recommended Usage
Best suited for:
• 1m, 3m, 5m, 15m timeframes
• US equities with active premarket trading
Particularly useful for:
• Market open strategies
• Opening Range Breakout (ORB)
• Momentum and reversal setups
⸻
Notes
• Requires symbols with available premarket data in TradingView
• Will not display values for assets without extended session data
• Designed specifically for intraday trading, not higher timeframes
⸻
Summary
This indicator transforms the premarket range into actionable levels during regular trading hours, allowing for faster decision-making and cleaner chart analysis without relying on extended session visibility.
This indicator is designed for intraday traders who operate in regular trading hours (RTH) and need access to key premarket levels without enabling extended hours on the chart.
⸻
Overview
The script automatically calculates:
• Premarket High
• Premarket Low
from 04:00 to 09:30 AM (New York time) and projects these levels into the regular session.
At the market open (09:30), it draws two horizontal rays that extend to the right:
• Premarket High
• Premarket Low
These levels remain visible throughout the trading session.
⸻
Key Features
• Works without Extended Hours enabled
• Uses internal data to calculate premarket range
• Draws clean ray-style levels (extend.right)
• Updates automatically each trading day
• No repainting
• Lightweight and optimized for intraday use
⸻
Purpose
Premarket levels are critical reference points for:
• Breakouts
• Rejections
• Liquidity zones
• Intraday bias confirmation
This indicator allows you to integrate that context directly into your RTH workflow without cluttering your chart.
⸻
Customization
You can adjust:
• Line color (High / Low)
• Line width
• Line style (Solid / Dashed / Dotted)
• Label visibility
• Price display on labels
⸻
Recommended Usage
Best suited for:
• 1m, 3m, 5m, 15m timeframes
• US equities with active premarket trading
Particularly useful for:
• Market open strategies
• Opening Range Breakout (ORB)
• Momentum and reversal setups
⸻
Notes
• Requires symbols with available premarket data in TradingView
• Will not display values for assets without extended session data
• Designed specifically for intraday trading, not higher timeframes
⸻
Summary
This indicator transforms the premarket range into actionable levels during regular trading hours, allowing for faster decision-making and cleaner chart analysis without relying on extended session visibility.
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.