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

A clean 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:
Break alerts arm only when a session completes, so they fire when price takes out a finished session's high or low - not on every new high inside a live session. Each level fires once, then retires when that session next opens.
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)
Break alerts arm only when a session completes, so they fire when price takes out a finished session's high or low - not on every new high inside a live session. Each level fires once, then retires when that session next opens.
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
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.