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: 9
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.

Yen Trader Yen Trader

Expert Advisor to trade Yen Crosses based on Major Pairs and USDJPY divergence/convergence.

Example of MACD Automated Example of MACD Automated

Code example of MACD automated with advanced money management function.