OPEN-SOURCE SCRIPT

Rolling CAGR

Compound Annual Growth Rate

This indicator is the compound annual growth rate to be used on any ticker.

How to use
  • Add indicator to your chart
  • Specify a data source (default is the close for the selected ticker)
  • Specify how many trading days are in a year (252 for stocks & 365 for crypto)


Restrictions
  • This is only accurate on the daily timeframe. So to avoid confusion, I disabled the plotting of the CAGR on any timeframe other than daily
CAGROscillatorsrollingTrend Analysis

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?


Also on:

Disclaimer