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
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。