Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
3423
Rating:
(12)
Published:
2018.09.27 15:06
ROCX.mq5 (8.04 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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.

Calculations:

  • Absolute value:

    ROCX = diff
  • % value:

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

    ROCX = 1000.0 * diff / PrN

where:

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 Ltd.
Original code: https://www.mql5.com/ru/code/21666

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.

PFE PFE

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.