Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Divergence - MetaTrader 4 Expert | Forex Indicator Downloads - MT4/MT5 Resources - MetaTrader 5 Resources

author EAcpu | 3 reads | 0 comments |

Divergence - expert for MetaTrader 4

The Expert Advisor uses the indicator provided by the Divergence Viewer . This does not require the indicator to appear in the terminal folder. The EA configuration parameters include the "Divergence Parameters" block, which replicates similar parameters of the indicator.

In order for the Expert Advisor to correctly detect divergences, it is necessary to be in the "Start counting bars" range. For example, to calculate the value of the William Blau base indicator with parameters 8000, 1, 1, the chart needs to have at least 8000 bars.

Divergence - expert for MetaTrader 4

The article gives a detailed description of the EA trading and comprehensive test results deviating from the EA trading .


Attachment download

📎 common_getsymbolinfo.mqh (9.98 KB)

📎 common_mathutils.mqh (3.87 KB)

📎 common_trade.mqh (33.27 KB)

📎divergence_calculatesignal.mqh (66.65 KB)

📎divergence_calculatetradetype.mqh (15.55 KB)

📎divergence_expert.mq4 (19.09 KB)

Source: MQL5 #14277

Verification code Refresh