PROTECTED SOURCE SCRIPT
Multi-Session Futures Range Boxes(NY, Europe, & Asia)

Multi-Session Boxes — ASIA / EUROPE / NEW YORK
This indicator draws session boxes for three custom trading sessions and updates them live on intraday charts. Each box tracks the high, low, and open of its session; the box color switches Up/Down based on whether the current price is above or below the session open.
Default setup
• ASIA — 20:00–02:59 (ET), Purple (bg/border), opacity 90
• EUROPE — 03:00–09:29 (ET), Turquoise (bg/border), opacity 90
• NEW YORK — 09:30–16:00 (ET), Yellow (bg/border), opacity 90
You can change times, time zones (IANA names like America/New_York, UTC, Europe/London), colors, opacity, and border width per session from the settings. Each session also has an Enable toggle.
How it works
• At each session’s first bar, the indicator records the open and initializes high/low.
• During the session, it updates the highest high / lowest low and stretches the box to the current bar.
• Box background & border use your Up/Down colors:
◦ Up if close > session open
◦ Down otherwise
• Works on intraday timeframes only (as with the original script).
Notes for futures
• The box schedule is based on your selected time zone.
• If you keep ASIA at 20:00, the gap between 16:00–20:00 ET (post-RTH / Globex evening) is intentionally unboxed so Asia’s H/L aren’t polluted by thin trade.
• If you prefer to fill that gap visually, you can add a separate “Evening” session later without changing Asia’s times.
This indicator draws session boxes for three custom trading sessions and updates them live on intraday charts. Each box tracks the high, low, and open of its session; the box color switches Up/Down based on whether the current price is above or below the session open.
Default setup
• ASIA — 20:00–02:59 (ET), Purple (bg/border), opacity 90
• EUROPE — 03:00–09:29 (ET), Turquoise (bg/border), opacity 90
• NEW YORK — 09:30–16:00 (ET), Yellow (bg/border), opacity 90
You can change times, time zones (IANA names like America/New_York, UTC, Europe/London), colors, opacity, and border width per session from the settings. Each session also has an Enable toggle.
How it works
• At each session’s first bar, the indicator records the open and initializes high/low.
• During the session, it updates the highest high / lowest low and stretches the box to the current bar.
• Box background & border use your Up/Down colors:
◦ Up if close > session open
◦ Down otherwise
• Works on intraday timeframes only (as with the original script).
Notes for futures
• The box schedule is based on your selected time zone.
• If you keep ASIA at 20:00, the gap between 16:00–20:00 ET (post-RTH / Globex evening) is intentionally unboxed so Asia’s H/L aren’t polluted by thin trade.
• If you prefer to fill that gap visually, you can add a separate “Evening” session later without changing Asia’s times.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.