OPEN-SOURCE SCRIPT
PivotalX Sessions - Asia, London and New York

THE CLEANEST sessions indicator built around the three sessions that matter most: Asia, London, and New York.
Most session indicators try to display everything - Sydney, Tokyo, Shanghai, Frankfurt, NYSE - until the chart becomes unreadable. This one keeps it to the golden three, drawn as clear high/low range boxes with the levels traders actually reference.
WHAT IT DRAWS
LEVELS THAT KEEP WORKING AFTER THE CLOSE
Choose how each finished session's high and low project forward:
BUILT-IN ALERTS
Nine alert conditions, available from the standard alert dialog:
DST-SAFE BY DESIGN
Each session is anchored to its home city timezone (Tokyo, London, New York), so daylight saving is handled automatically. The boxes never drift an hour when clocks change and you never need to adjust the settings twice a year. Japan has no DST, so the Asia session is stable year-round.
YOUR TIMEZONE, YOUR CLOCK
Pick your timezone in the settings and the info table converts all session times to your local clock - Sydney, Singapore, Dubai, London, New York and more. Changing the table timezone never moves the boxes; they are anchored to each city and always sit in the correct place on the chart.
KEPT CLEAN ON PURPOSE

Most session indicators try to display everything - Sydney, Tokyo, Shanghai, Frankfurt, NYSE - until the chart becomes unreadable. This one keeps it to the golden three, drawn as clear high/low range boxes with the levels traders actually reference.
WHAT IT DRAWS
- A range box for each session, expanding in real time as new highs and lows print
- Solid session high and low lines in the session color so the key levels stand out
- Optional 50% midline (off by default) for traders who reference the session midpoint
- A clean info table showing each session's open and close time, live Open/Closed status, and the active timezone
LEVELS THAT KEEP WORKING AFTER THE CLOSE
Choose how each finished session's high and low project forward:
- None: levels end with the session
- Until next session (default): levels extend as reference until that session runs again - for example, the completed Asia high and low stay on the chart through London
- Until broken: each level extends until price trades through it, then freezes at the break
BUILT-IN ALERTS
Nine alert conditions, available from the standard alert dialog:
- Session opened (Asia / London / New York)
- Session high broken (Asia / London / New York)
- Session low broken (Asia / London / New York)
DST-SAFE BY DESIGN
Each session is anchored to its home city timezone (Tokyo, London, New York), so daylight saving is handled automatically. The boxes never drift an hour when clocks change and you never need to adjust the settings twice a year. Japan has no DST, so the Asia session is stable year-round.
YOUR TIMEZONE, YOUR CLOCK
Pick your timezone in the settings and the info table converts all session times to your local clock - Sydney, Singapore, Dubai, London, New York and more. Changing the table timezone never moves the boxes; they are anchored to each city and always sit in the correct place on the chart.
KEPT CLEAN ON PURPOSE
- Show last N days control (default 15) so old sessions do not pile up
- Session inputs hidden from the chart status line for a tidy header
- A clear on-chart notice if the indicator is added to a Daily or higher timeframe, since sessions can only be drawn on intraday charts
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.