OPEN-SOURCE SCRIPT
Svopex Sessions

Svopex Sessions
Overview
Pine Script® Pine Script® Pine Script® Pine Script® Pine Script® Pine Script® Pine Script® Pine Script® Pine Script® Pine Script® Pine Script® Pine Script® Pine Script® Pine Script® Pine Script® Pine Script® Pine Script® Pine Script® Pine Script® Pine Script® Pine Script® Pine Script®
Svopex Sessions is a customizable multi-session indicator that visualizes the four major global trading sessions — Tokyo, London, New York, and Sydney — directly on your chart. It is designed for intraday traders, scalpers, and swing traders who rely on session-based volatility, liquidity patterns, and inter-session price behavior (such as the London–New York overlap or the Asian range breakout).
Each session can be displayed as boxes, background zones, a timeline strip, or colored candles, giving you the flexibility to match your preferred chart aesthetic without clutter.
Key Features
Four fully configurable sessions (Tokyo, London, New York, Sydney), each with its own:
Custom time range
Independent timezone selector
DST (Daylight Saving Time) toggle for markets that observe it
Custom color and on/off switch
Custom label text
Four display modes selectable from a single dropdown:
Boxes — classic session high/low rectangles
Zones — colored background shading
Timeline — compact session strip at the bottom of the chart
Candles — session-colored bars
Session analytics built in:
Change (Pips) — measured either as session high-to-low range or open-to-close move
Change (%) — same two measurement options
Both metrics update live and are displayed inside the session label
Session levels:
Session 0.5 Level — the midpoint (equilibrium) of each session, often used as a dynamic support/resistance
Open/Close Line — a line tracking price from session open to current close
Workflow helpers:
Merge Overlaps — automatically merges adjacent sessions (e.g. Tokyo into London, London into New York) to avoid overlapping boxes during transition periods
Hide Weekends — excludes Saturday/Sunday bars from session calculations
Lookback (Days) — limits how far back sessions are plotted to keep the chart light and responsive
Appearance controls for box border width and style (solid / dashed / dotted), line style, label size, label visibility, and box background fill.
Built-in alerts:
Session open (Tokyo / London / New York / Sydney)
New session high
New session low
Recommended Use
Intraday timeframes (1m – 1h) for best accuracy — the script automatically restricts itself to intraday charts.
Forex, indices, crypto, and futures — session-based analysis is especially relevant for FX majors and index futures, where liquidity rotates with the opening bell of each financial center.
Combine with volatility or volume tools to identify session breakouts, range expansions, and reversal zones.
Settings Reference
Sessions group — enable/disable each session, set time, timezone, DST, and color.
Additional Tools and Settings — change metrics, merge behavior, lookback, display type, and measurement source.
Appearance — fine-tune visual style (borders, line styles, label size, background fill).
Notes
DST is handled via a manual toggle per session. Because global markets don't switch to/from DST on the same dates, you have explicit control instead of a single global switch.
The indicator is capped at 500 boxes, 500 lines, and 500 labels (Pine Script limits). If you plot a long lookback with all sessions enabled, older drawings may be dropped — reduce the Lookback (Days) value if needed.
Tokyo is set to Asia/Tokyo (Japan does not observe DST), but the timezone field is free-form, so you can repurpose any session for a different market (e.g., Frankfurt, Hong Kong, Singapore).
Overview
Svopex Sessions is a customizable multi-session indicator that visualizes the four major global trading sessions — Tokyo, London, New York, and Sydney — directly on your chart. It is designed for intraday traders, scalpers, and swing traders who rely on session-based volatility, liquidity patterns, and inter-session price behavior (such as the London–New York overlap or the Asian range breakout).
Each session can be displayed as boxes, background zones, a timeline strip, or colored candles, giving you the flexibility to match your preferred chart aesthetic without clutter.
Key Features
Four fully configurable sessions (Tokyo, London, New York, Sydney), each with its own:
Custom time range
Independent timezone selector
DST (Daylight Saving Time) toggle for markets that observe it
Custom color and on/off switch
Custom label text
Four display modes selectable from a single dropdown:
Boxes — classic session high/low rectangles
Zones — colored background shading
Timeline — compact session strip at the bottom of the chart
Candles — session-colored bars
Session analytics built in:
Change (Pips) — measured either as session high-to-low range or open-to-close move
Change (%) — same two measurement options
Both metrics update live and are displayed inside the session label
Session levels:
Session 0.5 Level — the midpoint (equilibrium) of each session, often used as a dynamic support/resistance
Open/Close Line — a line tracking price from session open to current close
Workflow helpers:
Merge Overlaps — automatically merges adjacent sessions (e.g. Tokyo into London, London into New York) to avoid overlapping boxes during transition periods
Hide Weekends — excludes Saturday/Sunday bars from session calculations
Lookback (Days) — limits how far back sessions are plotted to keep the chart light and responsive
Appearance controls for box border width and style (solid / dashed / dotted), line style, label size, label visibility, and box background fill.
Built-in alerts:
Session open (Tokyo / London / New York / Sydney)
New session high
New session low
Recommended Use
Intraday timeframes (1m – 1h) for best accuracy — the script automatically restricts itself to intraday charts.
Forex, indices, crypto, and futures — session-based analysis is especially relevant for FX majors and index futures, where liquidity rotates with the opening bell of each financial center.
Combine with volatility or volume tools to identify session breakouts, range expansions, and reversal zones.
Settings Reference
Sessions group — enable/disable each session, set time, timezone, DST, and color.
Additional Tools and Settings — change metrics, merge behavior, lookback, display type, and measurement source.
Appearance — fine-tune visual style (borders, line styles, label size, background fill).
Notes
DST is handled via a manual toggle per session. Because global markets don't switch to/from DST on the same dates, you have explicit control instead of a single global switch.
The indicator is capped at 500 boxes, 500 lines, and 500 labels (Pine Script limits). If you plot a long lookback with all sessions enabled, older drawings may be dropped — reduce the Lookback (Days) value if needed.
Tokyo is set to Asia/Tokyo (Japan does not observe DST), but the timezone field is free-form, so you can repurpose any session for a different market (e.g., Frankfurt, Hong Kong, Singapore).
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.