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.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.