TradingView
IsmaelValentino
Oct 20, 2022 4:18 AM

Rolling CAGR (Compound Annual Growth Rate) 

SPDR S&P 500 ETF TRUSTArca

Description

Simple and powerful Rolling CAGR (Compound Annual Growth Rate) script.

Works with daily, weekly, and monthly data. Do not work with data of hours, minutes, seconds, or customized time intervals.

You can change the rolling period, from the default (3 years) to any other period of years. Just change one value in the script.
More