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
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.