MetaTrader

MACD Divergence: Definitions and a Fair Test

Learn bullish and bearish MACD divergence with a numerical example. Distinguish lines from histogram signals and test pivot timing without hindsight.

Pinned chart cards show a triangle formation and a double-top pattern beside a pencil.

MACD divergence occurs when selected price swings and a selected MACD measure move in different directions. Bullish divergence usually compares a lower price low with a higher indicator low; it suggests weakening downside momentum, not a guaranteed upward reversal.

Specify which MACD series you are comparing

MACD commonly begins with the difference between fast and slow exponential moving averages. A signal line smooths that difference, and a histogram may represent the difference between MACD and its signal. Platform displays and smoothing details can differ.

In standard MT4, the built-in MACD presentation does not look identical to every two-line chart shown online. Check the official indicator documentation and the actual values rather than infer the formula from colors. Write down the chosen series, periods, applied price and platform implementation before labeling a divergence.

Define bullish and bearish divergence separately

For regular bullish divergence, identify two comparable price lows, with the second lower, and two corresponding indicator lows, with the second higher. Regular bearish divergence compares a higher price high with a lower indicator high. Keep hidden divergence, which uses different relationships, out of the same test unless separately defined.

“Corresponding” needs a rule. Decide whether indicator extrema must occur on the exact price-pivot bar or within a fixed window. Do not choose whichever nearby oscillator point creates a better line after the event. That freedom can turn ordinary noise into apparently frequent predictive signals.

Work through hypothetical bullish divergence

Suppose EUR/USD makes a confirmed low at 1.0800 and later a lower confirmed low at 1.0750. The chosen MACD measure is −0.0015 at the first comparison point and −0.0010 at the second. The indicator low is less negative while price is lower, meeting the stated bullish-divergence relationship.

These values are illustrative, not a live signal. Price can continue to 1.0700 while momentum declines more slowly. A hypothetical entry at 1.0780 with invalidation at 1.0740 risks 40 pips in price terms. The divergence itself does not specify that entry or make the stop appropriate.

Account for pivot-confirmation delay

A swing low requiring two later bars is not known at the instant the low prints. A divergence based on that confirmed pivot becomes available only after the confirmation condition is met. Backtests that enter at the low use information from the future.

Save timestamps for both the price pivot and the first moment the divergence is observable. The support and resistance guide discusses the same issue with swing markers. A nonrepainting final display can still produce a misleading backtest if historical markers are treated as immediately available.

Separate momentum interpretation from trade execution

Weakening downside momentum can mean a slower decline or sideways trading rather than a rally. During a strong trend, several divergences can appear before any meaningful reversal. Entering against each one can create a cluster of losses.

If you add a trigger such as a completed break above a prior minor high, define it precisely and treat the combination as a new rule. The rubber-band trade explains similar mean-reversion risks. Do not add to a losing position solely because another divergence appears or because the indicator is “more convincing.”

Test after costs and against a baseline

Collect every qualifying comparison in chronological order and group overlapping signals. Record spreads, commission, slippage assumptions and holding costs. Compare the divergence condition with a simpler entry using identical exits, so any apparent improvement can be attributed more clearly.

A 100-trade experiment can structure the work without proving an edge. Inspect whether results depend on one period setting or one market regime. If changing the fast average slightly destroys the result, record the sensitivity rather than present the best setting as a discovery of a universal law.

A divergence-specific practice checklist

Confirm the indicator formula, selected series, periods, price input, pivot rule and matching window. Use completed bars where required. Write the entry, invalidation, target or exit, order expiry and maximum planned money loss before testing on demo.

Keep screenshots in a day trading journal from before the eventual move, including failed divergences. MACD is derived from past prices and cannot supply certainty about future orders or liquidity. Treat divergence as a measurable hypothesis whose usefulness remains to be demonstrated, not as a reason to override a risk limit or expect a reversal.

Put this guide in context

Use the metatrader library to place this topic in a wider learning plan. Compare it with MACD in MT4: Settings and Selection before deciding what to practise.

For the next part of your review, read Trading Chart Timeframes: Choose a Workflow. Keep your assumptions in a trading journal; related explanations are not proof that a setup will work.

To explore the neighbouring questions, compare MT4 Forex Brokers: Five Checks Before Choosing and Pivot Point Indicator MT4: Formulas and Setup and MT4 Hotkeys and Shortcuts: A Careful Reference. Use these as learning references, not as confirmation that any individual trade is justified.

Sources and further checking

Primary sources support factual checking; they do not endorse this publication. Examples are educational, not trade recommendations.

Continue your learning