OPEN-SOURCE SCRIPT
NY Session Candle (09:30-16:00 ET, Mon-Fri)

This indicator plots one synthetic candle per day that represents the official New York trading session (09:30–16:00 ET).
It aggregates the open, high, low, and close across the entire session and draws a single candle on your chart, making it easier to compare session ranges, direction, make studies and volatility.
Features:
-Aggregates intraday OHLC into one candle per session.
-Colors the candle green/red depending on close vs. open.
-Excludes weekends (Sat/Sun) automatically.
-Adjustable timezone and session window in settings.
Use case:
Helps traders visually analyze how each New York session behaved without changing chart timeframes. It is a visualization tool only and does not generate trading signals or predictions.
Notes:
The script does not repaint and does not use lookahead.
The candle of the session only shows once the FULL session is closed, it is not a dynamic candle.
It is for analysis purposes only, not a trading strategy.
Original code and idea; no third-party scripts reused
It aggregates the open, high, low, and close across the entire session and draws a single candle on your chart, making it easier to compare session ranges, direction, make studies and volatility.
Features:
-Aggregates intraday OHLC into one candle per session.
-Colors the candle green/red depending on close vs. open.
-Excludes weekends (Sat/Sun) automatically.
-Adjustable timezone and session window in settings.
Use case:
Helps traders visually analyze how each New York session behaved without changing chart timeframes. It is a visualization tool only and does not generate trading signals or predictions.
Notes:
The script does not repaint and does not use lookahead.
The candle of the session only shows once the FULL session is closed, it is not a dynamic candle.
It is for analysis purposes only, not a trading strategy.
Original code and idea; no third-party scripts reused
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。