OPEN-SOURCE SCRIPT
Sessions

This indicator highlights the New York After Hours and Pre-Market session and visually defines its structure on the chart.
The session runs from 18:00 to 09:30 New York time, covering the full overnight and pre-market trading window leading into the regular cash open.
During this period, the script tracks and marks the high and low of the New York pre-market, allowing traders to clearly see the overnight range that often acts as key liquidity, support, and resistance during the regular trading session.
The session range can be displayed as a shaded background or as a high/low range, depending on user preference.
For clarity and precision, the indicator is visible only on intraday timeframes:
5-minute
30-minute
1-hour
This makes it especially useful for futures, index, and intraday traders who incorporate pre-market structure into their trading plans.
The session runs from 18:00 to 09:30 New York time, covering the full overnight and pre-market trading window leading into the regular cash open.
During this period, the script tracks and marks the high and low of the New York pre-market, allowing traders to clearly see the overnight range that often acts as key liquidity, support, and resistance during the regular trading session.
The session range can be displayed as a shaded background or as a high/low range, depending on user preference.
For clarity and precision, the indicator is visible only on intraday timeframes:
5-minute
30-minute
1-hour
This makes it especially useful for futures, index, and intraday traders who incorporate pre-market structure into their trading plans.
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.