Download MetaTrader 5

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

2016.06.30 13:04

ROC2_VG - indicator for MetaTrader 5

| English Deutsch Русский 中文 日本語 Português

votes: 13
roc2_vg.mq5 (7.84 KB)view

Real author:

Vladislav Goshkov (VG)


Plotting ROC indicators of two arbitrary types (including Momentum) and periods in a single window.

Indicator calculation equations:

  • MOM = (price - prevPrice) [Momentum];
  • ROC = ((price/prevPrice)-1)*100 [Rate of change];
  • ROCP = (price-prevPrice)/prevPrice [Rate of change Percentage];
  • ROCR = (price/prevPrice) [Rate of change ratio];
  • ROCR100 = (price/prevPrice)*100 [Rate of change ratio 100 Scale].

This indicator was first implemented in MQL4 and published in Code Base at on 28.03.2006.


Fig.1. ROC2_VG

Fig.1. ROC2_VG

Translated from Russian by MetaQuotes Software Corp.
Original code:

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

LinesProfitLoss LinesProfitLoss

Calculates profit (loss) of the current orders on the symbol.

FFC - Forex Factory Calendar FFC - Forex Factory Calendar

Modified version of FF Calendar Indicator with new features.