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.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.