PROTECTED SOURCE SCRIPT
Trading Sessions

Trading Sessions
Highlights the Asia, London, and New York trading sessions with dynamic High-Low boxes.
General
- Timezone: select your reference zone (e.g. Exchange, UTC, Europe/Rome, America/New_York).
- Extend Session High/Low: extend the High/Low lines to the last candle.
- Extend Lines (bars): number of bars to extend lines beyond the last candle (0–100, default 15).
- Show High/Low Labels: display labels for the High/Low levels.
- Show Mitigated Levels: also show mitigated (broken) levels.
- Show Only Recent Levels: filter levels from the last N days.
- Number of Recent Days: sets how many days are considered “recent” (1–30).
- Show Debug Info: enable a panel with current time, session status, and active filters.
Sessions
- Asia, London, New York: enable or disable each session.
- Session Time: set the start/end times with the time picker.
- Box Color: choose a semi-transparent highlight color for each session.
- Line Style & Width: customize style (Solid, Dotted, Dashed) and width of current and past High/Low lines.
- Text Size: select the label text size (Tiny, Small, Normal, Large).
- Show Only Recent Levels – filters High/Low lines to show only those from the last Number of Recent Days.
- Number of Recent Days – sets how many days are considered “recent” for the filter.
- Show Mitigated Levels – enables display of broken levels; otherwise only active levels remain visible.
- Show High/Low Labels – toggles text labels at the ends of lines on or off.
- Show Debug Info – displays a floating panel showing:
- Current time in the selected timezone
- On/Off status of Asia, London, NY sessions
- Active filters (recent days, mitigated levels)
- Line style settings for each session
- Current time in the selected timezone
Key Benefits
- Visualize session-specific volatility and potential breakouts.
- No historical limit: scroll back through any past sessions.
- Filter and extend High/Low levels for precise price context.
- Fully customize to fit any chart layout.
Ideal For
- Intraday traders who need clear session boundaries and price level context.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.