OPEN-SOURCE SCRIPT
FX Session Highlighter

This indicator highlights the Tokyo, London and New York trading sessions on intraday charts, so you can see at a glance which market is active and how price behaves inside each session.
How it works
Each session is defined by a time range interpreted in its own local timezone (Asia/Tokyo, Europe/London, America/New_York). Because the timezone is attached to each session, daylight-saving shifts are handled automatically — you do not need to adjust the times twice a year.
Features
Background highlight per session (colors and time ranges are fully configurable, each session can be toggled individually)
Optional session high/low tracking, drawn as lines while the session is active
Alert conditions for the open of each session
Notes and limitations
The indicator works on intraday timeframes only; on daily and higher timeframes nothing is drawn. Default time ranges reflect commonly used market hours, but "session" definitions vary between traders — adjust the ranges to match your own approach. This is a visualization tool and implies nothing about future price movement.
How it works
Each session is defined by a time range interpreted in its own local timezone (Asia/Tokyo, Europe/London, America/New_York). Because the timezone is attached to each session, daylight-saving shifts are handled automatically — you do not need to adjust the times twice a year.
Features
Background highlight per session (colors and time ranges are fully configurable, each session can be toggled individually)
Optional session high/low tracking, drawn as lines while the session is active
Alert conditions for the open of each session
Notes and limitations
The indicator works on intraday timeframes only; on daily and higher timeframes nothing is drawn. Default time ranges reflect commonly used market hours, but "session" definitions vary between traders — adjust the ranges to match your own approach. This is a visualization tool and implies nothing about future price movement.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.