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

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.

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
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •