ROC2 VG - MetaTrader 4 Script | Forex Indicator Download - MT4/MT5 Resources

Plots the ROC indicator of two custom types (including momentum) and periods in one window.

The following is a table of change rates implemented in TA-LIB:
MOM = (price - previous price) [momentum]
ROC = ((price/previous price)-1)*100 [rate of change]
ROCP = (price-prevPrice)/prevPrice [percentage of change]
ROCR = (price/previous price) [rate of change ratio]
ROCR100 = (price/previous price)*100 [rate of change ratio 100 ratio]
Here are the equivalent functions in other software:
TA-Lib | Trading Post | Metastock
Mom | Momentum | Republic of China (dot)
Republic of China | Republic of China | ROC (Percent)
Roop | Percent change | -
Rockery | - | -
ROCR100 | - | Mo
The MOM function is the only function that is not standardized, so
Comparing prices from different time series should be avoided.
ROC and ROCP are centered on zero and can have positive and negative values
value. Here are some equivalence relationships:
= ((price-previous price)/previous price)/100
= ((price/previous price)-1)*100
Attachment download
📎ROC2_VG.mq4 (4.11 KB)
Source: MQL5 #8128
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •