OPEN-SOURCE SCRIPT
Price Level Radar

A clean, universal tool for tracking up to five custom price levels on any ticker, each with a configurable percentage band and built-in crossing alerts.
Features
5 custom levels — enter your own prices (support/resistance, prior day high/low, VWAP, key strikes, anything). Set any level to 0 to disable it.
Percentage bands — each level draws a center line plus an upper/lower band at ±X% (default 0.5%, adjustable down to 0). Useful for treating a level as a zone rather than a single price.
On-chart dashboard — compact table showing current price and each level's range, with the active band highlighted when price is inside it.
Alerts — 15 individual crossing conditions (each level and both band edges), plus a single consolidated "any alert() call" option so one alert can cover every level.
How to use
Add to any chart, open settings, and enter your levels. Adjust the band width to taste. To set alerts, create an alert with the condition set to "Price Level Radar" — either pick a specific level/edge, or choose "Any alert() function call" to capture all crossings with one alert.
Features
5 custom levels — enter your own prices (support/resistance, prior day high/low, VWAP, key strikes, anything). Set any level to 0 to disable it.
Percentage bands — each level draws a center line plus an upper/lower band at ±X% (default 0.5%, adjustable down to 0). Useful for treating a level as a zone rather than a single price.
On-chart dashboard — compact table showing current price and each level's range, with the active band highlighted when price is inside it.
Alerts — 15 individual crossing conditions (each level and both band edges), plus a single consolidated "any alert() call" option so one alert can cover every level.
How to use
Add to any chart, open settings, and enter your levels. Adjust the band width to taste. To set alerts, create an alert with the condition set to "Price Level Radar" — either pick a specific level/edge, or choose "Any alert() function call" to capture all crossings with one alert.
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.