OPEN-SOURCE SCRIPT
Donchian Channels + Avg Width % Dashboard

Measures the average percentage width between the Donchian Channel’s upper and lower bands over a chosen period.
It quantifies how much the market has been moving relative to price — a direct gauge of realized volatility.
When the average width is small, price is range-bound and unlikely to reach fixed TP targets; when it expands, volatility is sufficient for trend or breakout trades.
Based on how fast your strategy is, set your TP% below the average percentage of the Band Width.
It quantifies how much the market has been moving relative to price — a direct gauge of realized volatility.
When the average width is small, price is range-bound and unlikely to reach fixed TP targets; when it expands, volatility is sufficient for trend or breakout trades.
Based on how fast your strategy is, set your TP% below the average percentage of the Band Width.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.