[RS]Donchian HL Width - Cycle Information

some information on cyclical new peaks using Donchian Channel % Widths.
Release Notes: update to use arrays(theres a difference to old avg cycle as it was a exponential function, now uses array.avg()), plus some slight logic updates.

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?