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 Русский 中文 Español Deutsch 日本語 Português

votes: 14
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:


M2_MA indicator with the timeframe selection option available in the input parameters.

M2_MACandle M2_MACandle

M2_MA indicator implemented as a sequence of candlesticks.

TrendX TrendX

TrendX indicator can be used for the market entry/exit.

XEnvelopes_Digit XEnvelopes_Digit

Envelopes indicator with the color filling inside the channel, drawn as a cloud, with the display of the last values as price labels and the possibility to round the channel levels up to a required number of digits.