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

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

author EAcpu | 3 reads | 0 comments |

ROCX - indicator for MetaTrader 5

ROCX is a modified ROC (Rate of Change) indicator that shows absolute or relative price changes.

It's calculated as (current - previous)/previous, not (current/previous - 1).

Three display modes:

The indicator has three input parameters:

Absolute value:

 ROCX = difference
  • % value:

     ROCX = 100.0 * Difference/PrN
  • % 1/10 value:

     ROCX = 1000.0 * Difference/PrN
  • Where:

     diff = application price - application price [period]
    PrN = applied price [period]
    A positive value indicates an upward change, and a negative value indicates a downward change. Larger values ​​mean faster changes.

    ROCX - indicator for MetaTrader 5


    Attachment download

    📎 rocx.mq5 (8.04 KB)

    Source: MQL5 #21666

    Verification code Refresh