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:

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.

Example of MACD Automated Example of MACD Automated

Code example of MACD automated with advanced money management function.

Pivot Star Pivot Star

Pivot indicator. Standard, Fibonacci, Camarilla, Woody's, Demark. Calculates pivot points from previous bar of chosen period (M5 - MN).