Skip to content
All library documents

Divergence EA with Moving Averages and Fractal Trend-Line Filters

Article MQL5 code base

Summary

The document outlines an automated strategy that combines RSI and MACD divergence or convergence with moving averages and fractal-based trend lines. It says the EA trades using the open price of the current candle, and describes the trend line as a filter alongside the moving averages. In tester runs, the trend line is displayed only in visual mode and does not affect trade creation; optimization therefore evaluates the moving-average component rather than the full live setup.

The notes also list configurable money-based and percentage take-profit settings, stop-loss and trailing options, break-even behavior, equity drawdown controls, trade limits, and settings that can increase position size after a loss. The description claims broad instrument and timeframe support but supplies no performance results or validation data. Its own tester limitation means backtest optimization cannot establish how the live trend-line filter changes results, and the loss-based size increase can materially affect risk.

Key ideas

  • The EA combines RSI and MACD divergence signals with moving averages and fractal trend lines.
  • The trend line is described as a live trading filter, but it does not govern entries during optimization tests.
  • The system offers several stop, target, trailing, break-even, and equity-risk settings.
  • A configurable loss-based lot increase can raise exposure after losing trades.
  • The document provides no measured performance evidence for the full live setup.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.