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.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.