OPEN-SOURCE SCRIPT

Moving Average Rate of change

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

免責聲明

這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。