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.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.