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
Skrypt open-source
W duchu TradingView twórca tego skryptu udostępnił go jako open-source, aby traderzy mogli analizować i weryfikować jego funkcjonalność. Brawo dla autora! Możesz korzystać z niego za darmo, ale pamiętaj, że ponowna publikacja kodu podlega naszym Zasadom Społeczności.
Wyłączenie odpowiedzialności
Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.
Skrypt open-source
W duchu TradingView twórca tego skryptu udostępnił go jako open-source, aby traderzy mogli analizować i weryfikować jego funkcjonalność. Brawo dla autora! Możesz korzystać z niego za darmo, ale pamiętaj, że ponowna publikacja kodu podlega naszym Zasadom Społeczności.
Wyłączenie odpowiedzialności
Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.