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. اقرأ المزيد في شروط الاستخدام.