OPEN-SOURCE SCRIPT

Smooth Change

Percentage of change, compared to a certain number of candles back, and optionally smoothened as a moving average. I use this for Covid-19 numbers, where I compare to 7 days ago, and use a 7 day moving average over that, which gives me a nice idea of the real corona trend.
coronaCoronavirus (COVID-19)Trend 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?

Disclaimer