OPEN-SOURCE SCRIPT

Moving Average Rate of change

3 540
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.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.