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 17:22
ROC2 VG

ROC2 VG - indicator for MetaTrader 4

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

Views:
2782
Rating:
votes: 7
ROC2_VG.mq4 (4.11 KB)view

Plotting the ROC indicators of two custom types (including Momentum) and periods in one window.

ROC2 VG


The following is the table of Rate-Of-Change implemented in TA-LIB:


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]



Here are the equivalent function in other software:


TA-Lib | Tradestation | Metastock



MOM | Momentum | ROC (Point)


ROC | ROC | ROC (Percent)


ROCP | PercentChange | -


ROCR | - | -


ROCR100 | - | MO



The MOM function is the only one who is not normalized, and thus


should be avoided for comparing different time serie of prices.



ROC and ROCP are centered at zero and can have positive and negative


value. Here are some equivalence:


ROC = ROCP/100


= ((price-prevPrice)/prevPrice)/100


= ((price/prevPrice)-1)*100



ROCR and ROCR100 are ratio respectively centered at 1 and 100 and are
always positive values.

Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/8128

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.

Modify All TP SL Modify All TP SL

The script modifies all orders (market and pending) on the symbol with specified Take Profit and Stop Loss.

iFractals 4all TF iFractals 4all TF

Buy or sell just by looking at the "arrow" as a signal. Very easy and simple.