OPEN-SOURCE SCRIPT

SChaff Trend Cycle

Cycle Definition: This indicator uses three different cycle lengths (fast, medium, and slow) to represent short, medium, and long-term trends.
Moving Averages: Each cycle length corresponds to a Simple Moving Average (SMA). You can change ta.sma to ta.ema for Exponential Moving Averages if you prefer.
Plotting: Each MA is plotted in a different color to distinguish between the cycles visually.
Cycles

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer