OPEN-SOURCE SCRIPT
NYSE Open Close Session Map by o0psi

NYSE Open Close Session Map by o0psi
This indicator highlights the regular US cash session window (default 09:30–16:00 New York time) and makes the key session bars obvious on the chart.
What it shows
A marker on the session OPEN bar
A marker on the session CLOSE bar (last in-session candle)
Optional background highlight for the full session window
Optional labels for the session high and session low bars (based on intraday price during the session)
How it works
The script detects bars inside the selected session window (New York timezone). It anchors OPEN on the first in-session bar, updates the session high/low while the session is active, then anchors CLOSE on the final in-session bar and labels the high/low bars where they occurred.
Notes
Session range precision depends on chart timeframe (lower timeframes capture extremes more precisely).
This is a charting/visualization tool and does not provide trading advice.
This indicator highlights the regular US cash session window (default 09:30–16:00 New York time) and makes the key session bars obvious on the chart.
What it shows
A marker on the session OPEN bar
A marker on the session CLOSE bar (last in-session candle)
Optional background highlight for the full session window
Optional labels for the session high and session low bars (based on intraday price during the session)
How it works
The script detects bars inside the selected session window (New York timezone). It anchors OPEN on the first in-session bar, updates the session high/low while the session is active, then anchors CLOSE on the final in-session bar and labels the high/low bars where they occurred.
Notes
Session range precision depends on chart timeframe (lower timeframes capture extremes more precisely).
This is a charting/visualization tool and does not provide trading advice.
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.