OPEN-SOURCE SCRIPT
Session Highlighter & Fractals

Session Highlighter & Fractals
A clean session-tracking tool built for intraday traders who want to see exactly where price sits relative to the Asian, London, and New York sessions — combined with Williams Fractal swing points for structure reference.
Features:
Three independently configurable sessions (Asian, London, New York) — each with its own time window, on/off toggle, and color
Background highlighting for the full duration of each active session, with an adjustable transparency slider so the shading never overwhelms your price action
Start/End labels on every session transition — fully customizable text (defaults to "Asian Start", "Asian End", etc.) so you can rename them to match your own trading vocabulary
Timezone control — a dropdown of standard timezones so session boundaries align exactly with whatever timezone your chart is displaying, rather than relying on the exchange's default timezone
Williams Fractals — classic 5-bar swing high/low detection, plotted directly on the chart with green/red triangle markers
Built-in alerts for both bullish and bearish fractal prints, so you can get notified the moment a new swing point forms without watching the chart
How to use it:
Set your chart's timezone (bottom-right clock icon), then match that same timezone in the indicator's settings so session windows line up correctly. Adjust each session's start/end time if you trade a custom window rather than the standard session hours. Toggle labels on or off depending on whether you want a cleaner chart or explicit markers at every transition.
This script is intended as a visual and structural reference tool — it does not generate buy/sell signals and should be combined with your own strategy, risk management, and market analysis.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。