OPEN-SOURCE SCRIPT
Sessions [ARCHI]

Trading Session Highlighter
Overview
Sessions highlights the four major forex trading sessions directly on your chart with colored boxes: **Sydney**, **Asia (Tokyo)**, **London**, and **New York**. Instantly see which session is active, where the high/low of each session was, and how sessions overlap.
🔑 Key Features
📦 **Session Boxes** — Each session is drawn as a transparent box spanning the session's high-to-low range. The box updates in real time as new highs and lows are printed.
🏷️ **Centered Labels** — Session names are displayed at the top-center of each box for quick identification.
🌍 **4 Major Sessions** — Sydney (Yellow), Asia/Tokyo (Blue), London (Green), New York (Red). All times are based on UTC.
☀️ **DST / Summer Mode** — One-click toggle to adjust session times for Daylight Saving Time. When enabled, Sydney, London and New York sessions shift by 1 hour. Asia (Tokyo) is unaffected as Japan does not observe DST.
🎨 **Fully Customizable Colors** — Adjust box background and border colors independently for each session.
📈 How to Use
Session Context
- Know **which session you're trading in** — different sessions have different volatility and liquidity profiles.
- **Asia** tends to range, **London** tends to trend, **New York** brings the most volatility.
Session High/Low as Support & Resistance
- The **high and low of each session** often act as intraday support and resistance levels.
- A break of the **Asia session high/low** during London open is a classic setup.
Overlap Zones
- The **London–New York overlap** (13:00–16:30 UTC) is the highest volume period in forex.
- Look for the biggest moves and best setups during overlaps.
Kill Zones
- Use session boxes to identify **kill zones** — the first 1–2 hours of London and New York where institutional order flow is heaviest.
## ⚙️ Settings
| Parameter | Default | Description |
|-----------|---------|-------------|
| Summer Mode (DST) | Off | Shifts session times by -1 hour for DST |
| Sydney Box | Yellow (90% transparent) | Sydney session background color |
| Sydney Border | Yellow (60% transparent) | Sydney session border color |
| Asia Box | Blue (90% transparent) | Asia session background color |
| Asia Border | Blue (60% transparent) | Asia session border color |
| London Box | Green (90% transparent) | London session background color |
| London Border | Green (60% transparent) | London session border color |
| NY Box | Red (90% transparent) | NY session background color |
| NY Border | Red (60% transparent) | NY session border color |
🕐 Default Session Times (UTC, Winter)
| Session | Start | Duration | End |
|---------|-------|----------|-----|
| Sydney | 23:00 | 1h | 00:00 |
| Asia (Tokyo) | 00:00 | 9h | 09:00 |
| London | 08:00 | 8.5h | 16:30 |
| New York | 13:00 | 9h | 22:00 |
💡 Tips
1. Works best on **M5 – H1** timeframes for clear intraday session visualization.
2. On **higher timeframes** (H4+), boxes may overlap significantly — consider using on intraday charts only.
3. Combine with VWAP, volume profile, or order flow tools for confluence-based entries at session boundaries.
4. The **London open** and **New York open** are statistically the best times for breakout trades.
Overview
Sessions highlights the four major forex trading sessions directly on your chart with colored boxes: **Sydney**, **Asia (Tokyo)**, **London**, and **New York**. Instantly see which session is active, where the high/low of each session was, and how sessions overlap.
🔑 Key Features
📦 **Session Boxes** — Each session is drawn as a transparent box spanning the session's high-to-low range. The box updates in real time as new highs and lows are printed.
🏷️ **Centered Labels** — Session names are displayed at the top-center of each box for quick identification.
🌍 **4 Major Sessions** — Sydney (Yellow), Asia/Tokyo (Blue), London (Green), New York (Red). All times are based on UTC.
☀️ **DST / Summer Mode** — One-click toggle to adjust session times for Daylight Saving Time. When enabled, Sydney, London and New York sessions shift by 1 hour. Asia (Tokyo) is unaffected as Japan does not observe DST.
🎨 **Fully Customizable Colors** — Adjust box background and border colors independently for each session.
📈 How to Use
Session Context
- Know **which session you're trading in** — different sessions have different volatility and liquidity profiles.
- **Asia** tends to range, **London** tends to trend, **New York** brings the most volatility.
Session High/Low as Support & Resistance
- The **high and low of each session** often act as intraday support and resistance levels.
- A break of the **Asia session high/low** during London open is a classic setup.
Overlap Zones
- The **London–New York overlap** (13:00–16:30 UTC) is the highest volume period in forex.
- Look for the biggest moves and best setups during overlaps.
Kill Zones
- Use session boxes to identify **kill zones** — the first 1–2 hours of London and New York where institutional order flow is heaviest.
## ⚙️ Settings
| Parameter | Default | Description |
|-----------|---------|-------------|
| Summer Mode (DST) | Off | Shifts session times by -1 hour for DST |
| Sydney Box | Yellow (90% transparent) | Sydney session background color |
| Sydney Border | Yellow (60% transparent) | Sydney session border color |
| Asia Box | Blue (90% transparent) | Asia session background color |
| Asia Border | Blue (60% transparent) | Asia session border color |
| London Box | Green (90% transparent) | London session background color |
| London Border | Green (60% transparent) | London session border color |
| NY Box | Red (90% transparent) | NY session background color |
| NY Border | Red (60% transparent) | NY session border color |
🕐 Default Session Times (UTC, Winter)
| Session | Start | Duration | End |
|---------|-------|----------|-----|
| Sydney | 23:00 | 1h | 00:00 |
| Asia (Tokyo) | 00:00 | 9h | 09:00 |
| London | 08:00 | 8.5h | 16:30 |
| New York | 13:00 | 9h | 22:00 |
💡 Tips
1. Works best on **M5 – H1** timeframes for clear intraday session visualization.
2. On **higher timeframes** (H4+), boxes may overlap significantly — consider using on intraday charts only.
3. Combine with VWAP, volume profile, or order flow tools for confluence-based entries at session boundaries.
4. The **London open** and **New York open** are statistically the best times for breakout trades.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.