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.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。