[RS]Cyclic Interval Average Price

Cyclic interval price averaging at every x bars.
Lines for trend line and intra trend slope(not working as intended).
Release Notes: added automatic cycle detection.
Release Notes: fixed parameter length not being used..
Release Notes: Automatic cycle selection is now optional.

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?