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が提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。