OPEN-SOURCE SCRIPT
QD Session Range Boxes

This indicator draws boxes around the price range of the Asia, London, and New York sessions, automatically calculated with no manual setup required.
How to use it The boxes let you visually track each session's movement and trend at a glance. Instead of manually marking session highs and lows, you get an instant, clear picture of where price moved during each session — useful for spotting range expansion, session momentum, and how one session's range relates to the next.
Session times (NY time):
* Asia: 20:00 – 00:00
* London: 02:00 – 07:00
* New York: 09:30 – 12:00
Features
* Toggle each session (Asia, London, NY) on/off independently
* Toggle historical boxes on/off, or limit how many days back are shown
* Adjustable label offset lets you position session names exactly where you want above the boxes
* Style controls let you individually show/hide boxes and labels, and choose whether inputs (like Days to Show and Label Offset) appear on the status line, for a cleaner chart
Notes Colors are fixed (purple, blue, green) for a clean, consistent chart display.
How to use it The boxes let you visually track each session's movement and trend at a glance. Instead of manually marking session highs and lows, you get an instant, clear picture of where price moved during each session — useful for spotting range expansion, session momentum, and how one session's range relates to the next.
Session times (NY time):
* Asia: 20:00 – 00:00
* London: 02:00 – 07:00
* New York: 09:30 – 12:00
Features
* Toggle each session (Asia, London, NY) on/off independently
* Toggle historical boxes on/off, or limit how many days back are shown
* Adjustable label offset lets you position session names exactly where you want above the boxes
* Style controls let you individually show/hide boxes and labels, and choose whether inputs (like Days to Show and Label Offset) appear on the status line, for a cleaner chart
Notes Colors are fixed (purple, blue, green) for a clean, consistent chart display.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.