Trendoscope

Moving Average Rate of change

This indicator measures rate of change of moving average.

Steps to derive are as follows:

  • Calculate moving average of Source based on Moving Average Type and Moving Average Length
  • Find the difference between moving average value of present bar and LoopbackPeriod bars back.
  • Calculate ROC of moving average with respect to either Moving average itself or with respect to close price. PercentOfSource when unchecked calculates percent based on Moving Average. If not based on close price.
  • Calculate moving average of ROC based on ROC Moving Average Type and ROC Moving Average Length.

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.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?