OPEN-SOURCE SCRIPT
Aggiornato Fix PIPS - 4 Sessions - FRA / LDN / NY / ASIA

4 Sessions draws High/Low range boxes for the four major market sessions — Frankfurt, London, New York and Tokyo.
HOW IT WORKS
Each session is a translucent box that tracks the session's running High/Low as it develops. Session hours are defined in each market's home timezone (Europe/Berlin, Europe/London, America/New_York, Asia/Tokyo), so the boxes always land in the right place regardless of your chart's timezone, and DST transitions in every region are handled automatically — nothing to adjust twice a year.
DEFAULT HOURS (exchange hours, editable)
• Frankfurt — 08:00–09:00 (Xetra open, the hour before London)
• London — 08:00–16:30
• New York — 09:30–16:00 (NYSE)
• Tokyo — 09:00–15:00 (TSE)
SETTINGS
One row per session: enable toggle, color (set fill opacity right in the color picker) and hours. Weekdays only — no weekend boxes on 24/7 markets like crypto. Works on intraday timeframes. Optional on-chart info note with a UA/EN/RU language switch.
ALERTS
Alert conditions fire on each session open (Frankfurt, London, New York, Asia).
HOW IT WORKS
Each session is a translucent box that tracks the session's running High/Low as it develops. Session hours are defined in each market's home timezone (Europe/Berlin, Europe/London, America/New_York, Asia/Tokyo), so the boxes always land in the right place regardless of your chart's timezone, and DST transitions in every region are handled automatically — nothing to adjust twice a year.
DEFAULT HOURS (exchange hours, editable)
• Frankfurt — 08:00–09:00 (Xetra open, the hour before London)
• London — 08:00–16:30
• New York — 09:30–16:00 (NYSE)
• Tokyo — 09:00–15:00 (TSE)
SETTINGS
One row per session: enable toggle, color (set fill opacity right in the color picker) and hours. Weekdays only — no weekend boxes on 24/7 markets like crypto. Works on intraday timeframes. Optional on-chart info note with a UA/EN/RU language switch.
ALERTS
Alert conditions fire on each session open (Frankfurt, London, New York, Asia).
Note di rilascio
Cleaner UI update:• Removed the on-chart info note (and with it the "Tables" entry in the Style tab).
• Input values are no longer shown in the status line next to the indicator name (display.none on all inputs).
• Settings are now just four rows — one per session: enable, color, hours.
No changes to session logic, timezones or alerts.
Note di rilascio
Session boxes now fill the full width of the edge candles.Previously the shaded area stopped at the center of the first and last candle of each session (bar-index anchoring). Boxes are now drawn on time coordinates with a half-bar padding on each side, so the fill reaches the outer edges of the candles.
Note di rilascio
Two improvements:• Session boxes now fill the full width of the edge candles, instead of stopping at the center of the first and last candle.
• The Asian session now closes exactly when Frankfurt opens, with no gap or overlap in either half of the year. Tokyo has no DST while Frankfurt does, so a fixed Asian close drifted by an hour seasonally; the close is now anchored to the Frankfurt open and follows DST automatically.
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.