Candlestick patterns with MACD pair a price signal with a momentum filter. The candlestick pattern tells you where the reversal attempt is; the MACD (Moving Average Convergence Divergence) shows whether momentum is turning in the same direction. A bearish engulfing after a rally is more convincing when MACD also crosses below its signal line within a few candles. This guide explains the MACD parts you need, how to time the cross with the candle, a worked short example on gold, and what our real-data scan found. For MACD on its own, see our MACD entry guide.
Candlestick patterns with MACD: what each part tells you
- MACD line. The 12-period EMA minus the 26-period EMA. Above zero, the shorter average is above the longer one.
- Signal line. A 9-period EMA of the MACD line. A cross of MACD below the signal line shows momentum turning down; a cross above shows it turning up.
- Histogram. MACD minus the signal line. Shrinking bars mean momentum is fading before the cross happens.
- Zero line. A bearish cross from above zero happens near the top of a rally; one far below zero often comes after the fall is mostly over.
How to time the MACD cross with the candle
- Pattern first. Identify the candlestick pattern by its own rules.
- Cross close to the entry. Accept the setup if MACD crosses its signal line in your direction within about three candles of the entry.
- Prefer the right side of zero. For shorts, a cross from above zero; for longs, a cross from below zero.
- Histogram as an early hint. Bars shrinking for several candles before the pattern support the idea that momentum is fading.

Which candles to combine with MACD
- Shorts: bearish engulfing, shooting star, dark cloud cover or evening star after a rally, with a bearish MACD cross.
- Longs: bullish engulfing, hammer, piercing line or morning star after a decline, with a bullish MACD cross.
- Entry and stop still from the candle. MACD is a filter; it has no price level for a stop.
Worked example: an illustrative bearish engulfing with a MACD cross on gold
Illustrative example only. The prices below were constructed for teaching. They are not taken from a live or historical chart, they are not a past result, and they are not a signal to buy or sell gold, forex or any other market.
Context. On H1, gold rallies from 4,400 to the low 4,450s in four green candles. MACD is well above zero, but the histogram has been shrinking for three candles.
Pattern. A green candle closes at 4,452. The next opens at 4,454, briefly reaches 4,458, then falls to close at 4,424, engulfing the green body: a bearish engulfing.
Confirmation and cross. The next candle closes at 4,408, below the pattern low of 4,420. On the same candle, MACD crosses below its signal line while still above zero.
- Illustrative entry: 4,408 (sell at the confirmation close).
- Illustrative stop loss: 4,464, $6 above the pattern high of 4,458. Risk: $56 per ounce.
- Illustrative take profit 1 (1R): 4,352. Take profit 2 (2R): 4,296.

What MACD adds here. The engulfing shows sellers took control of one candle. The shrinking histogram and the cross from above zero show that the momentum of the whole rally was already fading, so the pattern is not fighting a fresh surge.

Managing the trade
- Watch for a quick re-cross. If MACD crosses back above its signal line soon after entry, momentum has not really turned.
- The start of the rally is a reference. Here the move began near 4,400, the first area where buyers may return.
- Keep the candle stop. Do not exit just because MACD wiggles; exit at the stop or targets.
Real gold examples: patterns with a MACD cross
The charts below use real XAUUSD candles (Dukascopy Bank public data, spot gold, Bid price; times in UTC+7). Nothing on them is edited or invented. We scanned gold’s H1 and M30 history from January 2012 to 17 November 2026 with the rules of our core pattern guides (hammer, shooting star, bullish and bearish engulfing, morning and evening star, piercing line, dark cloud cover): entry by each pattern’s rule, stop loss a small buffer beyond the pattern, take profit at 2R. A trade counted here only if the MACD (12, 26, 9) line crossed its signal line in the trade direction on one of the three candles up to the entry, while still below zero for longs or above zero for shorts. 377 trades passed this filter and 35.0% of them reached 2R before the stop. Without the filter, 3241 trades on the same eight patterns reached 2R in 32.8% of cases, so in our data the filter raised the hit rate only slightly. The two charts below are selected winning examples, not typical results.
Example 1: Bullish engulfing with a MACD cross, XAUUSD M30, 09 Sep 2026

Real XAUUSD M30 chart (Dukascopy data, UTC+7). Entry $4,371.40, stop $4,339.88, target $4,434.44: +$63.04 per 0.01 lot.
- Pattern: completed on the M30 candle that opened at 09 Sep 2026 07:30 (UTC+7).
- MACD: the MACD line crossed above its signal line on the candle that opened at 09 Sep 2026 08:00 (UTC+7), at -11.28, still below zero.
- Entry: Buy at $4,371.40, at the close of the confirmation candle, the first close above $4,365.27.
- Stop loss: $4,339.88, a small buffer below the pattern’s stop level at $4,340.97. Risk: $31.52 per ounce (1R).
- Take profit: $4,434.44 (2R). Price passed TP1 at $4,402.92 (1R) and reached TP2 after 56 M30 candles, at 10 Sep 2026 13:00 (UTC+7).
- Result: +$63.04 per 0.01 lot (1 ounce), or +630 pips (1 pip = $0.10).
Example 2: Dark cloud cover with a MACD cross, XAUUSD M30, 14 Feb 2025

Real XAUUSD M30 chart (Dukascopy data, UTC+7). Entry $2,933.95, stop $2,940.38, target $2,921.09: +$12.86 per 0.01 lot.
- Pattern: completed on the M30 candle that opened at 14 Feb 2025 17:30 (UTC+7).
- MACD: the MACD line crossed below its signal line on the candle that opened at 14 Feb 2025 18:00 (UTC+7), at 3.22, still above zero.
- Entry: Sell at $2,933.95, at the close of the confirmation candle, the first close below $2,934.93.
- Stop loss: $2,940.38, a small buffer above the pattern’s stop level at $2,939.93. Risk: $6.43 per ounce (1R).
- Take profit: $2,921.09 (2R). Price passed TP1 at $2,927.52 (1R) and reached TP2 after 5 M30 candles, at 14 Feb 2025 20:30 (UTC+7).
- Result: +$12.86 per 0.01 lot (1 ounce), or +129 pips (1 pip = $0.10).
Past results do not guarantee future results. Broker prices, spreads and slippage differ slightly from these data. Trading gold with leverage carries a high risk of loss.
Common mistakes with candlestick patterns and MACD
- Selling only because MACD crossed, with no reversal candle.
- Accepting a cross that comes long after price has already fallen.
- Treating a cross far below zero as a fresh short signal.
- Using MACD to place the stop.
- Changing MACD settings to make past trades fit.
FAQ
Which MACD settings should I use?
The standard 12, 26, 9 is fine and is what our scan used. Keep them fixed.
Is MACD divergence better than a crossover?
They answer different questions. Divergence warns that momentum is fading; the cross shows it has turned. This guide uses the cross because it is easier to test objectively.
Does the cross have to happen on the pattern candle?
No. Within about three candles of the entry is a practical window.
Which patterns work best with MACD?
Any reversal pattern can be filtered this way. Our scan below combined engulfing, piercing, dark cloud, hammer, shooting star and star patterns.
Risk note: Trading gold, forex and CFDs with leverage carries a high risk of loss, including the loss of your entire deposit. This article is for information and education only and is not investment advice, not a personal recommendation and not a signal. The worked prices are illustrative. Past patterns do not guarantee future results. Use only risk capital, set a stop loss before you enter, and never size a trade so that one loss can damage your finances.
Related: MACD entry points: crossover, histogram and an example · Bullish engulfing candlestick pattern: how to identify it and an example entry · Bearish engulfing candlestick pattern: how to identify it and an example entry · Dark cloud cover candlestick pattern: how to identify it and an example entry · Evening star candlestick pattern: how to identify it and an example entry
Sources: StockCharts ChartSchool — MACD (Moving Average Convergence/Divergence Oscillator) · Thomas Bulkowski, The Pattern Site — Bearish engulfing
A note from TopFundTrading
Trading gold, forex and CFDs with leverage carries a high risk of loss, including the loss of your entire deposit. This article is for information and education only and is not investment advice.
If you want to trade larger capital without risking your own savings, you can consider a funded-trader challenge. WeMasterTrade is listed #1 (9.7/10) in TopFundTrading’s own prop-firm ranking – our editorial listing, not an independent rating.
Sign up for a WeMasterTrade account now
Referral link: topfundtrading.com may earn a commission if you sign up through this link.


Français
简体中文
繁體中文
한국어
Русский


