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.07.01 11:40

Divergence - indicator for MetaTrader 4

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

votes: 8
i-DivMACD.mq4 (11.21 KB)view

If the blue bar is directed upwards, the price will also go up. Downwards - likewise.

Dots indicate the identified peaks (fractals) of the specified indicator.

Red bars are the maximum peaks (weak signal that the price will "roll back" and slightly move against the trend)

i-Divergency.mq4 - divergence based on stochastic

i-DivMACD.mq4 - divergence based on MACD

If you want to analyze any other indicators - replace the line


with the required one

There can also be false signals. Can't do without them.

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.

TP-SL_Removing TP-SL_Removing

Immediately deletes the SL/TP of all positions.

Closed_TOTAL Closed_TOTAL

Total closure of all positions (winners/losers). You can also select which are of a single instrument.