MomentumMetaTrader 5 • MQL5

MACD Divergence Indicator for MetaTrader 5

MACD with automatic divergence detection and visual signals

Generate this indicator for free

Get production-ready MQL5 code in seconds — no coding required

Generate Free

About This Indicator

Enhances the classic MACD by adding automatic divergence detection. When price makes a new extreme but the MACD histogram does not confirm it, the indicator draws divergence lines and fires an alert - giving early warning of potential trend reversals.

Key Features

  • Full MACD with signal line and histogram
  • Auto divergence detection on MACD histogram
  • Divergence lines drawn on subwindow
  • Alert on new divergence signal
  • Configurable fast, slow, and signal periods

Frequently Asked Questions

Is MACD divergence reliable?

MACD divergence is one of the most popular reversal signals, most reliable on H4 and Daily charts when confirmed with price action.

Ready to generate your MACD Divergence?

Free for your first 5 indicators. No credit card required.

Generate MACD Divergence — Free