Candlestick patterns with moving averages: trade the pullback with an example entry

Chandeliers et moyennes mobiles : trader le repli avec un exemple d'entrée

Candlestick patterns with moving averages solve one of the biggest problems with single candles: knowing which direction to trade. A moving average such as the 50-period exponential moving average (EMA) shows the direction of the trend at a glance. When price pulls back to a rising average and prints a bullish candle there, you are buying a dip inside an uptrend instead of guessing a bottom. This guide shows how to use the average as a filter and as a location, which candles to look for, a worked gold example, and what our real-data scan found. For crossover systems, see our EMA crossover guide.

Candlestick patterns with moving averages: two jobs for one line

  • Filter. Only take bullish patterns while the 50 EMA slopes up and price has mostly stayed above it. Only take bearish patterns while it slopes down.
  • Location. The pullback into the average is where the trend often resumes, so a reversal candle there has context.
  • Not a wall. The average is a moving zone. Price can poke through it for a candle or two without ending the trend.
  • EMA or SMA? The EMA reacts faster to recent prices; the simple moving average is smoother. Our examples and scan use the 50 EMA.

How to read the trend with the 50 EMA

  • Slope first. Compare the EMA now with its value 20 candles ago. Rising means only longs; falling means only shorts.
  • Where price lives. In a healthy uptrend most candles close above the EMA; repeated closes on both sides mean a range, where the filter adds little.
  • Distance. When price is far above the EMA there is no pullback yet. Wait for it to come back.

Candlestick patterns with moving averages checklist: slope, pullback to the EMA, close back on the trend side, stop beyond the pattern (illustrative)

Which candles to use at the moving average

  • In an uptrend: a bullish engulfing, hammer, piercing line or morning star whose low touches or briefly pierces the rising EMA and closes back above it.
  • In a downtrend: a bearish engulfing, shooting star, dark cloud cover or evening star at a falling EMA.
  • Same confirmation as always. A close beyond the pattern, or the third candle’s close for stars.

Worked example: an illustrative bullish engulfing at the 50 EMA 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 has been trending up with the 50 EMA rising beneath price. After a high near 4,240, price pulls back for three candles toward the average, which now sits around 4,195.

Pattern. A red candle closes at 4,194. The next candle opens at 4,192, dips to 4,188, just under the EMA, then closes at 4,220, engulfing the red body and finishing well above the average.

Confirmation. The following candle closes at 4,232, above the pattern high of 4,222.

  • Illustrative entry: 4,232 (buy at the confirmation close).
  • Illustrative stop loss: 4,182, $6 below the pattern low of 4,188. Risk: $50 per ounce.
  • Illustrative take profit 1 (1R): 4,282. Take profit 2 (2R): 4,332.

Candlestick patterns with moving averages: illustrative XAUUSD H1 bullish engulfing on a pullback to a rising 50 EMA, with entry, stop and targets

Why the stop goes below the pattern, not the EMA. The EMA keeps moving every candle; the pattern low is fixed. If price breaks the low of the candle that was supposed to restart the trend, the idea is wrong regardless of where the average is.

Candlestick patterns with moving averages: with the trend versus against it (illustrative)

Managing the trade

  • First hurdle: the prior high. The pullback started near 4,240; a clean break of that high shows the trend is back.
  • Stay with the trend. While closes stay above a rising EMA, there is no reason to exit early.
  • Exit if the filter flips. If the EMA flattens and price closes below it repeatedly, the setup has lost its edge.

Real gold examples: patterns at the 50 EMA

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 on a pullback to the 50-period EMA: the EMA sloped in the trade direction over the previous 20 candles, the pattern’s extreme touched it (within 0.3 ATR) and the pattern closed back on the trend side. 234 trades passed this filter and 31.6% 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 barely changed the hit rate on its own. The two charts below are selected winning examples, not typical results.

Example 1: Bullish engulfing at the 50 EMA, XAUUSD M30, 23 Jan 2026

Bullish engulfing at the 50 EMA on a real XAUUSD M30 chart, 23 Jan 2026: entry $4,929.07, stop loss $4,898.11, 2R take profit $4,990.99 reached, +$61.92 per 0.01 lot

Real XAUUSD M30 chart (Dukascopy data, UTC+7). Entry $4,929.07, stop $4,898.11, target $4,990.99: +$61.92 per 0.01 lot.

  • Pattern: completed on the M30 candle that opened at 23 Jan 2026 16:30 (UTC+7).
  • 50 EMA: $4,906.93 at the pattern close, sloping up. The pattern touched it and closed back above it.
  • Entry: Buy at $4,929.07, at the close of the confirmation candle, the first close above $4,921.23.
  • Stop loss: $4,898.11, a small buffer below the pattern’s stop level at $4,899.55. Risk: $30.96 per ounce (1R).
  • Take profit: $4,990.99 (2R). Price passed TP1 at $4,960.03 (1R) and reached TP2 after 24 M30 candles, at 26 Jan 2026 06:00 (UTC+7).
  • Result: +$61.92 per 0.01 lot (1 ounce), or +619 pips (1 pip = $0.10).

Example 2: Dark cloud cover at the 50 EMA, XAUUSD M30, 02 Sep 2024

Dark cloud cover at the 50 EMA on a real XAUUSD M30 chart, 02 Sep 2024: entry $2,498.80, stop loss $2,507.51, 2R take profit $2,481.38 reached, +$17.42 per 0.01 lot

Real XAUUSD M30 chart (Dukascopy data, UTC+7). Entry $2,498.80, stop $2,507.51, target $2,481.38: +$17.42 per 0.01 lot.

  • Pattern: completed on the M30 candle that opened at 02 Sep 2024 16:00 (UTC+7).
  • 50 EMA: $2,503.96 at the pattern close, sloping down. The pattern touched it and closed back below it.
  • Entry: Sell at $2,498.80, at the close of the confirmation candle, the first close below $2,500.90.
  • Stop loss: $2,507.51, a small buffer above the pattern’s stop level at $2,507.12. Risk: $8.71 per ounce (1R).
  • Take profit: $2,481.38 (2R). Price passed TP1 at $2,490.09 (1R) and reached TP2 after 49 M30 candles, at 03 Sep 2024 20:30 (UTC+7).
  • Result: +$17.42 per 0.01 lot (1 ounce), or +174 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 moving averages

  • Buying a bullish pattern while the EMA is falling.
  • Calling any candle near the average a pullback, even when price never really pulled back.
  • Placing the stop just under the EMA, inside normal noise.
  • Changing the average length until past trades look good.
  • Expecting the same behaviour in a sideways market where price crosses the EMA every few candles.

FAQ

Which moving average works best?

There is no best one. The 50 EMA is a common, simple choice and is what our scan used. Whatever you pick, keep it fixed.

Can I use two averages?

Yes, many traders use a fast and a slow average to define trend. Keep the entry rule on the candle; see our M15 candlestick guide for faster timeframes.

Does this work on M30 and H1?

The same rules apply. Our real examples below come from both timeframes.

What if price closes below the EMA but above my stop?

The trade is still valid by the pattern rules. Many traders watch it more closely, but the stop stays where it was.

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: EMA crossover entry points: a two-average rule set · Bullish engulfing candlestick pattern: how to identify it and an example entry · Dark cloud cover candlestick pattern: how to identify it and an example entry · 15-minute candlestick patterns: how to use them and an example entry · Hammer candlestick pattern: how to identify it and an example entry

Sources: StockCharts ChartSchool — Moving Averages: Simple and Exponential · Thomas Bulkowski, The Pattern Site — Bullish 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.

Leave a Reply

Your email address will not be published. Required fields are marked *

Left Banner
Right Banner