Stochastic_ROC - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources


Stochastic-based Rate of Change (ROC) indicator.
It has eight input parameters:
This ROC indicator does not need to be calculated as it is calculated by the indicator itself.
If type = absolutely random, then ROC = ((random(now) - random(before)), If type = relatively random, then ROC = ((random(now) - random(previous)) / random(previous))*100
Peng:
ROC = ((Closing(i) - Closing(i - n)) / Closing(i - n)) * 100 CLOSE (i) - the closing price of the current bar; CLOSE (i - n) - the closing price n bars ago;

Figure 1. Random ROC absolute value

Figure 2. Random ROC relative values
Attachment download
📎 stochastic_roc.mq5 (9.54 KB)
Source: MQL5 #20573
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •