OPEN-SOURCE SCRIPT
Cập nhật QD Session High/Low Levels

This indicator draws the high and low levels of the Asia, London, and New York sessions directly on your chart, extending each as a ray until price sweeps through it.
How to use it Session highs and lows often act as liquidity levels — areas where price is likely to react, reverse, or break through. This indicator lets you track those levels in real time without marking them manually, and see at a glance which levels are still active versus which have already been swept. Previous session levels stay visible on the chart until price takes them out, so you can track untouched liquidity across multiple sessions.
Session times (NY time):
* Asia: 20:00 – 00:00
* London: 02:00 – 07:00
* New York: 09:30 – 12:00
Features
* High/low rays for Asia, London, and NY sessions
* Sweep detection — a level automatically stops extending once price trades through it
* Option to keep swept levels visible on the chart instead of removing them
* Price axis labels for each level
* Adjustable label offset for positioning
* Style controls let you individually show/hide pane labels, lines, and price scale labels, and choose whether inputs appear on the status line
How to use it Session highs and lows often act as liquidity levels — areas where price is likely to react, reverse, or break through. This indicator lets you track those levels in real time without marking them manually, and see at a glance which levels are still active versus which have already been swept. Previous session levels stay visible on the chart until price takes them out, so you can track untouched liquidity across multiple sessions.
Session times (NY time):
* Asia: 20:00 – 00:00
* London: 02:00 – 07:00
* New York: 09:30 – 12:00
Features
* High/low rays for Asia, London, and NY sessions
* Sweep detection — a level automatically stops extending once price trades through it
* Option to keep swept levels visible on the chart instead of removing them
* Price axis labels for each level
* Adjustable label offset for positioning
* Style controls let you individually show/hide pane labels, lines, and price scale labels, and choose whether inputs appear on the status line
Phát hành các Ghi chú
- Replaced the single "Show Swept Levels" option with three separate ones: Asia, London, and New York- You can now choose to keep swept levels visible for only the sessions you want, instead of all or none
Phát hành các Ghi chú
- Replaced the single "Show Swept Levels" option with three separate ones: Asia, London, and New York- You can now choose to keep swept levels visible for only the sessions you want, instead of all or none
- Swept levels still clear automatically at the start of each new day (next Asia session)
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.