Oscillator divergence · MT4 & MT5

MACD Divergence Indicator for MT4 & MT5

Regular and hidden divergences between price and the MACD, found automatically and drawn on the price chart, in the MACD window, or both. Get an alert when a new divergence is confirmed. Optional predicted divergence marks a possible divergence earlier: see how it works.

MACD Divergence Indicator on GBPUSD H1 MetaTrader Chart

What is MACD (Moving Average Convergence Divergence)?

The idea: What is MACD?

MACD (Moving Average Convergence Divergence) was developed by Gerald Appel in the late 1970s and is one of the most popular momentum indicators. The MACD line is the gap between a fast (12-period) and a slow (26-period) exponential moving average of price. The signal line is a 9-period moving average of the MACD line (an exponential average in the classic definition, and the MetaTrader built-in MACD uses a simple one).

How traders read it

Traders watch two things: MACD crossing its signal line, and MACD crossing the zero line (the fast average crossing the slow one).

What to watch for

MACD is built from moving averages, so it follows price with a delay and is generally better suited to sustained trends than to choppy trading ranges. It has no upper or lower limit, so it is not suited for overbought and oversold readings.

In TrueTL the fast, slow and signal periods are 12, 26 and 9 by default, and both the MACD line and the signal line are shown as lines.

TrueTL MACD divergence indicator: how it works

TrueTL MACD Divergence compares the peaks and bottoms of MACD with price and finds regular and hidden, bullish and bearish divergences. It draws them on the price chart, in the MACD window, or both, and you can filter them in several ways. A regular divergence can point to a possible reversal and a hidden one to a possible continuation of the trend. Neither is a guarantee. An optional predicted mode marks a possible divergence earlier. This early marker can disappear and come back until the candle closes. In a strong trend, divergences can keep appearing while price continues, so use them together with the price chart. A normal divergence is drawn once the candle has closed and the divergence is confirmed: no repaint once a candle closes on the indicator’s timeframe.

What a divergence is, the four types and common filters, with examples: About the divergence.

MACD divergence indicator features

  • PlatformsMetaTrader 4 and MetaTrader 5, any broker, demo or live account.
  • Any symbolForex pairs, stocks, indices, crypto: any MT4/MT5 symbol.
  • Non repaintOnce a candle closes on the indicator’s timeframe, what is drawn stays fixed.
  • Works with other MetaTrader toolsMACD values and events are available to other MetaTrader indicators and programs through the standard iCustom() function. The PDF user guide lists every value.
  • Regular and hiddenBullish and bearish, regular and hidden divergences, each with its own color and line style.
  • Predicted divergence (optional)An early marker before the candle closes, with its own color and sensitivity. It can disappear and come back until the candle closes. How it works, with examples.
  • Price chart, MACD window, or bothChoose where the divergence lines are drawn.
  • FiltersMaximum distance, candle bodies, MACD level, value tolerance and detection sensitivity.
  • Bullish, bearish or allShow all divergences, or only the bullish or only the bearish ones.
  • Other timeframesCalculate MACD on a higher or lower timeframe and see it on your chart, with optional smoothing.
  • Level lineA reference level (by default 0) for display, filters and level-cross events.
  • Offline chartsWorks with Renko and other offline charts too.
  • Alerts on chart eventsRegular, hidden and predicted divergence, trendline break and approach, MACD direction and level events, with 5 trigger slots. Popup, push, email, sound, Telegram, CSV log or a chart pictogram. Highly customizable: alert timing (after the candle closes, before it closes, or both), a time window, an interval limit and a test message. Alerts also work on the trendlines and horizontal lines you draw yourself.
  • Strategy Tester and fast backtestingRuns in the MetaTrader Strategy Tester, also for visual backtesting. Refresh and cache modes for repeated tests: the cache mode saves the results, so a repeated test is at least 700% faster.

MACD divergence indicator screenshots

Common questions about the MACD divergence indicator

What are the best settings for the MACD divergence indicator?

There is no single best setting. We chose the default settings to suit most traders. The indicator has many settings so that everyone can fit it to their own needs, and if you want something different, you can customize it. The PDF manual explains every setting.

What are the default settings of the MACD divergence indicator in TrueTL?

In TrueTL the fast, slow and signal periods are 12, 26 and 9 by default, and both the MACD line and the signal line are shown as lines.

How do traders read the MACD?

Traders watch two things: MACD crossing its signal line, and MACD crossing the zero line (the fast average crossing the slow one).

Is the MACD divergence indicator non repaint?

A normal divergence is drawn once the candle has closed and then stays fixed. The optional predicted mode marks a possible divergence earlier: its arrow and yellow line can disappear and come back until the candle closes, which is why they have their own color. On a multi timeframe setting, the closed candle of the higher timeframe decides. See how it works.

Does it work on MT4 and MT5?

Yes. TrueTL MACD Divergence is available for MetaTrader 4 and MetaTrader 5, with any broker, on demo or live accounts, and on any symbol the platform offers.

Can I get an alert?

Yes. Alerts for a new divergence and other chart events can come as a popup, push message, email, sound, Telegram message, CSV log line or a pictogram on the chart.

Do alerts work when my computer is off?

No. Alerts are sent by the MetaTrader terminal where the indicator runs, and MetaTrader does not run in the cloud: it runs on a computer, so the computer and MetaTrader must be on, with the indicator on a chart. If that is a problem, run MetaTrader with the indicators on a VPS (a remote Windows computer that is always on). Push messages are also sent only while MetaTrader is running, on your computer or on the VPS; they then arrive on your phone.

Is there a free version?

TrueTL MACD Divergence is part of the paid license; one license covers all 72 indicators. There is also a free MT4 & MT5 oscillator pack of 37 multi-timeframe oscillators. The free pack does not draw trendlines or divergences. The PDF manual is free to download.

More answers on the Support page.

One license, all 72 indicators

TrueTL MACD Divergence comes with the MACD Trendline indicator, True Trendline, True S/R Level and every other oscillator trendline and divergence indicator.