Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 4 Indicator | Divergence

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

Stochastic[CurBuffer]=iStochastic(NULL,0,5,3,3,MODE_EMA,0,MODE_MAIN,CurrentCandle);

with the required one

MetaTrader Experts, Indicators, Scripts and Libraries

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

8705

Best MetaTrader Indicators + Profitable Expert Advisors