Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

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

author EAcpu | 3 reads | 0 comments |

Stochastic_ROC - indicator for MetaTrader 5

Stochastic_ROC - indicator for MetaTrader 5

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; 

Stochastic_ROC - indicator for MetaTrader 5

Figure 1. Random ROC absolute value

Stochastic_ROC - indicator for MetaTrader 5

Figure 2. Random ROC relative values


Attachment download

📎 stochastic_roc.mq5 (9.54 KB)

Source: MQL5 #20573

Verification code Refresh