ZZ Range

This is a real-time range detection indicator. Based on previous supply and demand levels, it classifies each new bar as Up, Down, or Range.
New supply and demand levels are typically detected within two bars. The indicator can be used as a filter and supports indicator-on-indicator functionality.
- Intro
- Concept
- Usage and Settings Menu
- Declaration for TradingView House Rules on Script Publishing
- Disclaimer
1. Concept
Based on a variation of the Bilson-Gann Algorithm, this indicator calculates local supply and demand levels and determines whether the current price is:
Between those levels → Ranging
Above → Uptrending
Below → Downtrending
Less significant supply and demand levels are filtered out using a user-adjustable intensity setting.
2. Usage and Settings Menu
There are four settings available:
Indicator Timeframe – Display results from higher timeframes on the lower timeframe chart.
Range Detection Rule – Choose whether a bar must be fully inside supply and demand zones to be considered ranging, or if touching the zone is sufficient.
Bar Structure Basis – Select whether wicks or bodies of bars are used to calculate supply and demand levels.
Rule to set S&D – Choose among three rules defining how often new supply and demand levels are calculated. Each rule adjusts the sensitivity and responsiveness of detection.
Alert Signals Available:
Trend Signal 1 = Uptrend, 0 = Ranging, -1 = Downtrend
last supply Level
last demand Level
3. Declaration for TradingView House Rules on Script Publishing
The unique feature of ZZ Range is its real-time range detection capability.
This script is closed-source and invite-only, to support and compensate for months of development work.
4. Disclaimer
Trading involves risk, and losses can and do occur. This script is intended for informational and educational purposes only. All examples are hypothetical and not financial advice.
Decisions to buy, sell, hold, or trade securities, commodities, or other assets should be based on the advice of qualified financial professionals. Past performance does not guarantee future results.
Use this script at your own risk. It may contain bugs, and I cannot be held responsible for any financial losses resulting from its use.
Cheers!
Tập lệnh chỉ hiển thị cho người được mời
Chỉ những người dùng được tác giả đồng ý mới có thể truy cập tập lệnh này. Bạn cần yêu cầu và xin phép sử dụng tập lệnh này. Quyền truy cập thường được cấp sau khi thanh toán. Để biết thêm chi tiết, hãy làm theo hướng dẫn của tác giả bên dưới hoặc liên hệ trực tiếp với BerlinCode42.
TradingView KHÔNG khuyến khích trả tiền hoặc sử dụng tập lệnh trừ khi bạn hoàn toàn tin tưởng tác giả và hiểu cách hoạt động của tập lệnh. Bạn cũng có thể tìm thấy các giải pháp thay thế miễn phí, mã nguồn mở trong mục tập lệnh cộng đồng của chúng tôi.
Hướng dẫn của tác giả
Thông báo miễn trừ trách nhiệm
Tập lệnh chỉ hiển thị cho người được mời
Chỉ những người dùng được tác giả đồng ý mới có thể truy cập tập lệnh này. Bạn cần yêu cầu và xin phép sử dụng tập lệnh này. Quyền truy cập thường được cấp sau khi thanh toán. Để biết thêm chi tiết, hãy làm theo hướng dẫn của tác giả bên dưới hoặc liên hệ trực tiếp với BerlinCode42.
TradingView KHÔNG khuyến khích trả tiền hoặc sử dụng tập lệnh trừ khi bạn hoàn toàn tin tưởng tác giả và hiểu cách hoạt động của tập lệnh. Bạn cũng có thể tìm thấy các giải pháp thay thế miễn phí, mã nguồn mở trong mục tập lệnh cộng đồng của chúng tôi.