Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

votes: 8
2018.09.27 15:06
ROCX.mq5 (8.04 KB)view

ROCX is a modified ROC (Rate Of Change) indicator displaying an absolute or relative price change.

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

Three display modes:

  1. Absolute value;
  2. Percent of the previous value;
  3. 1/10 percent of the previous value.

The indicator has three input parameters:

  • Period - calculation period;
  • Applied price;
  • Mode - mode:
    • Absolute value - absolute value;
    • % value - percent of the previous value;
    • %1/10 value - 1/10 percent of the previous value.


  • Absolute value:

    ROCX = diff
  • % value:

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

    ROCX = 1000.0 * diff / PrN


diff = Applied price - Applied price[Period]
PrN = Applied price[Period]
A positive value indicates the upward direction of change, a negative value means the downward change direction. Greater values mean faster changes.

Translated from Russian by MetaQuotes Software Corp.
Original code:

PFE_Overlay PFE_Overlay

The Polarized Fractal Efficiency Overlay (PFE_Overlay) indicator is designed for identifying trends. Unlike Polarized Fractal Efficiency, the indicator is displayed on the price chart as the main indicator line and two lines of the calculated StdDev deviation value.


The Polarized Fractal Efficiency (PFE) indicator is designed for identifying trends.

ColorXPWMA_Digit ColorXPWMA_Digit

A colored smoothed PWMA that displays the most recent value as a price label with the possibility to round the indicator levels up to a required number of digits.

Trend_Intensity_Index Trend_Intensity_Index

The Trend Intensity Index oscillator displayed as a color histogram.