OPEN-SOURCE SCRIPT
Cập nhật Session Boxes Pro By Avish

Session Boxes Pro - Asia / London / NY
A clean, professional session visualization tool that highlights the three major Forex trading sessions directly on your chart - Asia, London, and New York.
Each session is drawn as a dynamic price box that builds in real time, capturing the exact high and low range as the session develops. When the session closes, the box locks in permanently as a reference level for the next session.
What is included:
Session Boxes - Asia (purple), London (red), New York (green). Each box tracks the live high and low range and updates bar by bar.
Session Labels - Asia, London, New York - pinned inside each box at the top corner so you always know which zone you are looking at.
Boundary Lines - dashed vertical lines mark the open and close of every session, giving you clean visual separation between market periods.
Dashboard Table - a live top-right panel showing each session current status (LIVE or Closed), the session range in price units, and a Bull or Bear bias based on where price sits relative to the session midpoint.
200 EMA - fully integrated with toggle, colour picker, width control, and three style options (Solid, Dashed, Dotted) so it fits any chart setup.
Fully customisable - every colour, time window, label size, and toggle is editable from the Settings panel. Works on all assets and timeframes including Forex, Gold, indices, and crypto.
Best used on: 1m, 5m, 15m, 20m, 1H timeframes.
A clean, professional session visualization tool that highlights the three major Forex trading sessions directly on your chart - Asia, London, and New York.
Each session is drawn as a dynamic price box that builds in real time, capturing the exact high and low range as the session develops. When the session closes, the box locks in permanently as a reference level for the next session.
What is included:
Session Boxes - Asia (purple), London (red), New York (green). Each box tracks the live high and low range and updates bar by bar.
Session Labels - Asia, London, New York - pinned inside each box at the top corner so you always know which zone you are looking at.
Boundary Lines - dashed vertical lines mark the open and close of every session, giving you clean visual separation between market periods.
Dashboard Table - a live top-right panel showing each session current status (LIVE or Closed), the session range in price units, and a Bull or Bear bias based on where price sits relative to the session midpoint.
200 EMA - fully integrated with toggle, colour picker, width control, and three style options (Solid, Dashed, Dotted) so it fits any chart setup.
Fully customisable - every colour, time window, label size, and toggle is editable from the Settings panel. Works on all assets and timeframes including Forex, Gold, indices, and crypto.
Best used on: 1m, 5m, 15m, 20m, 1H timeframes.
Phát hành các Ghi chú
Session Boxes Pro – Asia / London / NY
A clean, all-in-one session visualization tool that highlights the three major forex trading sessions — Asia, London, and New York — directly on your chart with dynamic boxes, boundary lines, and a real-time dashboard.
What It Does
This indicator draws colored boxes around each trading session based on their standard UTC time windows. As price moves within a session, the box dynamically expands to capture the high and low of that session's range. When the session ends, the box is locked in place, giving you a clear visual map of where each session's liquidity was concentrated.
A built-in dashboard table (top-right corner) shows you at a glance which session is currently live, the range in points/pips for each session, and whether price is currently trading above or below the session midpoint (bull/bear bias).
Key Features
Dynamic session boxes for Asia, London, and New York with real-time high/low tracking
Dashed vertical boundary lines marking session open and close
Session labels displayed at the top of each box
Dashboard showing session status (LIVE/Closed), range, and directional bias
Built-in 200 EMA with selectable source and style (solid, dashed, dotted)
Fully customizable colors, label sizes, and toggle controls for every element
All session times are user-adjustable and referenced to UTC for consistency across brokers
Default Session Times (UTC)
Asia: 23:00 – 08:00
London: 07:00 – 16:00
New York: 12:00 – 21:00
These defaults cover the standard institutional trading hours for each session. You can adjust them in the settings to match your preferred session definitions.
How To Use
Add the indicator to any forex, metals, or index chart. The boxes will automatically draw around each session as it opens and closes. Use the dashboard to quickly assess which session is active and whether the current price is showing bullish or bearish bias relative to each session's range. The 200 EMA provides additional trend context.
Recommended Timeframes: 1M to 1H for best visual clarity.
Customization
Every visual element can be toggled on or off and recolored through the settings panel — session boxes, labels, boundary lines, dashboard, and the 200 EMA. This allows you to keep only what you need on your chart.
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.