Strategies we backtested bullish engulfing strategy

Tested by BacktestingMax

Bullish engulfing strategy backtest

Does the bullish engulfing pattern work?

No, not in our backtest. A bullish engulfing is a red candle, then a green candle whose body (the thick part, from open to close) covers the whole red body. Our standard rules trade it only after a fall, when the red candle closes below its 20 SMA, the average of the last 20 closes. We buy at the next candle's open, with the stop-loss at the lowest price of the two candles, the take-profit twice as far away and an exit after 10 candles. We ran 20 tests, with trading costs included: 3 currency pairs, gold, silver and 5 stock indices, each on 1-hour and 4-hour charts, from 2019 to 2025. 8 of the 20 made money. The 16,340 trades lost 0.043R each on average. R is the amount a trade risks: 1% of the account. We also traded green candles right after a red candle below its 20 SMA that did not engulf it. Those trades lost less: 0.029R each. So the engulfing shape did not help, and trading only after a fall did not help either. The change that did best in 2019–2022, a green candle that also covers the red candle's wicks (the thin lines above and below the body), made money in all 10 index tests. But 4 of the 10 lost money in 2023–2025.

20 backtests 2019–2025 Trading costs included Tested 9 November 2026

Where it worked 20 backtests
Made money
8
of 20 tests, using the standard rules
Made money in both periods
3
2019–2022 and again 2023–2025
Best backtest
+127%
DAX, 1-hour chart: account growth 2019–2025
With the wicks engulfed too
7
tests made money in both periods, compared with 3 using the standard rules

Made money in both periods

  • USD/JPY, 4-hour
  • Gold, 4-hour
  • Nasdaq 100, 4-hour

The results

Results on every market

Each box shows one backtest of the bullish engulfing strategy using the standard rules, from 2019 to 2025, after trading costs: the % result, and a small chart of the account balance. The solid line is the account balance and the dashed line is the starting balance. Green results made money; red results lost money. Under each result: whether it made money in both 2019–2022 and 2023–2025, or passed all four of our checks (see "How a test passes" further down).

Market 1-hour 4-hour
EUR/USD −88% Lost money −37% Lost money
GBP/USD −88% Lost money −25% Lost money
USD/JPY −59% Lost money +46% Passed all four checks
Gold +15% Made money overall, lost in one period +46% Passed all four checks
Silver −96% Lost money. Account down 90% by Jun 2022 −33% Lost money
S&P 500 +42% Made money overall, lost in one period +10% Made money overall, lost in one period
Nasdaq 100 −20% Lost money +8% Made money in both periods
Dow Jones −10% Lost money −5% Lost money
DAX +127% Made money overall, lost in one period +6% Made money overall, lost in one period
FTSE 100 −37% Lost money −26% Lost money
All the numbers, test by test
Market Chart Trades Win rate Profit factor Result Max drawdown 2019–2022 2023–2025 Monte Carlo drawdown Trading costs
EUR/USD 1-hour 1,684 36.5% 0.75 −87.7% −88.2% −77.6% −45.1% −90.3% $4,038
EUR/USD 4-hour 457 36.3% 0.82 −37.1% −39.3% −30.4% −9.6% −51.0% $1,253
GBP/USD 1-hour 1,609 36.8% 0.79 −88.3% −89.4% −64.9% −66.6% −90.6% $4,903
GBP/USD 4-hour 432 37.3% 0.89 −25.3% −37.8% −14.3% −12.8% −43.3% $1,405
USD/JPY 1-hour 1,545 39.9% 0.89 −58.9% −71.0% −50.4% −17.3% −73.7% $5,819
USD/JPY 4-hour 378 45% 1.21 +46.1% −14.2% +15.7% +26.3% −23.1% $1,095
Gold 1-hour 1,482 41.9% 1.02 +14.5% −38.9% −11.2% +29.0% −51.3% $9,441
Gold 4-hour 357 45.1% 1.23 +46.2% −15.9% +4.9% +39.3% −21.9% $1,231
Silver 1-hour 1,013 32.3% 0.48 −95.5% −95.7% −91.7% −45.4% −95.9% $7,071
Silver 4-hour 346 37.6% 0.81 −32.5% −39.7% −12.2% −23.1% −44.4% $2,872
S&P 500 1-hour 1,097 43.3% 1.05 +41.7% −28.8% +43.7% −1.4% −43.1% $6,415
S&P 500 4-hour 280 43.6% 1.06 +9.7% −19.5% +15.8% −5.3% −24.5% $532
Nasdaq 100 1-hour 1,048 41.2% 0.96 −20.1% −43.8% −11.8% −9.4% −52.3% $3,969
Nasdaq 100 4-hour 272 43% 1.05 +7.7% −23.6% +2.9% +4.6% −24.9% $462
Dow Jones 1-hour 1,160 41% 0.98 −10.3% −27.8% +2.5% −12.5% −50.5% $3,373
Dow Jones 4-hour 288 42.7% 0.96 −5.1% −23.9% −15.9% +12.8% −27.5% $308
DAX 1-hour 1,111 43.7% 1.18 +126.7% −36.8% −0.7% +128.3% −33.2% $3,314
DAX 4-hour 308 40.3% 1.04 +5.8% −11.1% −3.5% +9.7% −26.3% $332
FTSE 100 1-hour 1,157 40.4% 0.92 −37.4% −47.0% −25.7% −15.7% −60.4% $4,867
FTSE 100 4-hour 316 37.7% 0.84 −26.2% −31.2% −22.3% −5.0% −40.6% $718

Profit factor is the money won divided by the money lost. Above 1 means the test made money. Max drawdown is the biggest fall from the highest balance. 2019–2022 and 2023–2025 show the result in each period on its own. Monte Carlo drawdown: we shuffled the trades into a random order 1,000 times; in 95% of those runs, the worst drawdown was this number or less. Result is the change in the account, with the risk of each trade set to 1% of the account at that time.

The account balance

The best test and the middle test

Best test DAX, 1-hour chart +126.7% from 2019 to 2025
Middle test (median): half of the 20 did better, half did worse Dow Jones, 1-hour chart −10.3% from 2019 to 2025

What we found

What the 20 backtests show

  1. With the standard rules, 8 of the 20 tests on 1-hour and 4-hour charts made money from 2019 to 2025. The 3 currency pairs and silver lost money on both charts, except USD/JPY on the 4-hour chart, where the account grew 46.1%. Gold made money on both charts, and the 5 stock indices made money in 5 of the 10 tests. Only 3 tests made money in both 2019–2022 and 2023–2025, all on 4-hour charts: USD/JPY, gold and the Nasdaq 100. USD/JPY and gold also passed all four of our checks (see 'How a test passes' below). The best test was the DAX on the 1-hour chart, where the account grew 126.7%. Without the wrong prices in our DAX data, it grew 115.4% (see 'Wrong prices in our data'). It made almost all of that in 2023–2025. In 2019–2022, its result was close to zero (−0.7%). Trading costs turned the 1-hour trades from a small gain into a loss: +0.015R per trade before costs, and −0.052R after.

  2. The engulfing shape did not make the trades better. To check, we also traded green candles that did not engulf. Each came right after a red candle that closed below its 20 SMA, as in the standard rules, but its body did not cover the red body. Everything else stayed the same. Per trade, the trades on these green candles did better than the engulfing trades on 1-hour, 4-hour and daily charts (see 'Did the engulfing shape matter?' below). Test by test, the engulfing trades made more per trade in 9 of the 20 tests on 1-hour and 4-hour charts, and in 3 of the 10 daily tests. Engulfing trades did better on gold and USD/JPY on all three charts, and worse on EUR/USD, GBP/USD and the Nasdaq 100 on all three.

  3. Trading only after a fall did not help. Most guides say to trade the bullish engulfing only after a fall. In our standard rules, that means the red candle closed below its 20 SMA. In the version with no fall needed (see 'Can the bullish engulfing strategy be improved?' below), we traded every bullish engulfing. Then we split its trades by where the red candle closed. On 1-hour and 4-hour charts, the trades after a fall lost 0.037R each on average (15,900 trades). The trades whose red candle closed above its 20 SMA lost only 0.014R each (11,608 trades). On daily charts, the gap was bigger: −0.009R against +0.059R per trade. There were exceptions. On the 1-hour and 4-hour charts of gold and silver, and in 2023–2025, the trades after a fall did a little better (see 'Did trading only after a fall help?' below).

  4. We also ran 10 extra tests on daily charts, from 2014 to 2025, because a daily chart has fewer patterns. With the standard rules, 5 of the 10 markets made money, with few trades: 66 to 144 per market in 12 years. On average, the 999 daily trades lost 0.017R each: −0.063R in 2014–2021 and +0.075R in 2022–2025. On daily charts, only the FTSE 100 passed all four of our checks. For the daily tests, the two periods are 2014–2021 and 2022–2025. The FTSE 100 made 9.1% over 105 trades, with gains in both periods. The green candles that did not engulf made money on 7 of the 10 markets, and averaged +0.053R per trade over 2,292 trades (see 'Every daily-chart test, 2014–2025' below).

Engulfing or not

Did the engulfing shape matter?

Each bar is the average result per trade, in R, after trading costs, on all 10 markets together. 'Engulfing' is the standard rules. 'Not engulfing' is a green candle right after a red candle that closed below its 20 SMA, but whose body did not cover the red body. Both buy at the next candle's open, with the stop-loss at the lower of the two candles' lows, the take-profit at 2R and the 10-candle exit.

  • Engulfing, 1-hour charts12,906 trades, 2019–2025 −0.052R
  • Not engulfing, 1-hour charts29,991 trades, 2019–2025 −0.042R
  • Engulfing, 4-hour charts3,434 trades, 2019–2025 −0.008R
  • Not engulfing, 4-hour charts8,278 trades, 2019–2025 +0.018R
  • Engulfing, daily charts999 trades, 2014–2025 −0.017R
  • Not engulfing, daily charts2,292 trades, 2014–2025 +0.053R

No: on all three kinds of chart, the trades without the engulfing shape did better per trade, on average. The average trade is the result of each trade in R, after trading costs, averaged over all the trades of the 10 tests on that chart. So every trade counts the same. Before trading costs, the trades without the engulfing shape also made more per trade. They made +0.037R against +0.015R on 1-hour charts, +0.061R against +0.025R on 4-hour charts and +0.074R against −0.004R on daily charts. The stop-loss of those trades was closer to the entry, so trading costs took more of each trade: 0.079R against 0.067R on 1-hour charts.

Trading only after a fall

Did trading only after a fall help?

Here we traded every bullish engulfing, with no fall needed. Then we split the trades by where the red candle closed: below its 20 SMA, as the standard rules want, or above it. Everything else is the same as the standard rules. Each cell is the average result per trade, in R, after trading costs, with the number of trades. These numbers differ a little from the standard rules' numbers. This version trades more patterns, and only one trade can be open at a time, so a trade from one group can block a pattern from the other group.

Trades grouped by Red candle closed below its 20 SMA (after a fall) Red candle closed above its 20 SMA
1-hour charts, 2019–2025 −0.045R (12,491 trades) −0.025R (8,937 trades)
4-hour charts, 2019–2025 −0.006R (3,409 trades) +0.020R (2,671 trades)
Daily charts, 2014–2025 −0.009R (993 trades) +0.059R (803 trades)
3 currency pairs, 1-hour and 4-hour −0.082R (6,058 trades) −0.033R (3,841 trades)
Gold and silver, 1-hour and 4-hour −0.063R (2,855 trades) −0.088R (2,095 trades)
5 stock indices, 1-hour and 4-hour +0.014R (6,987 trades) +0.025R (5,672 trades)
1-hour and 4-hour, 2019–2022 −0.054R (9,449 trades) −0.008R (6,767 trades)
1-hour and 4-hour, 2023–2025 −0.011R (6,451 trades) −0.023R (4,841 trades)

Mostly no: the trades after a fall did worse in 6 of the 8 rows. The exceptions were gold and silver, and the years 2023–2025. The average trade is the result of each trade in R, after trading costs, averaged over all the trades in that group, so every trade counts the same. On daily charts, 3 more trades are in neither column, because they came before there were 20 closes to work out the 20 SMA.

Daily charts

Every daily-chart test, 2014–2025

Each row is one backtest on a daily chart with the standard rules, from 2014 to 2025, after trading costs. The last column is the same test for the green candles that did not engulf. Each of those came right after a red candle that closed below its 20 SMA, but its body did not cover the red body.

Market Trades Result, 2014–2025 2014–2021 2022–2025 Not engulfing, 2014–2025
EUR/USD 144 −15.5% −16.6% +1.4% −5.1% (281 trades)
GBP/USD 142 −15.0% −8.1% −7.5% +22.9% (245 trades)
USD/JPY 110 +2.8% −2.8% +5.8% −4.1% (220 trades)
Gold 91 +3.7% −5.5% +9.8% +0.7% (257 trades)
Silver 90 −6.5% −6.8% +0.2% −2.1% (270 trades)
S&P 500 66 −4.3% −8.1% +4.1% +12.6% (186 trades)
Nasdaq 100 68 +4.1% +4.8% −0.7% +42.7% (201 trades)
Dow Jones 86 −3.9% −4.2% +0.4% +24.4% (190 trades)
DAX 97 +5.5% +2.4% +3.0% +16.3% (220 trades)
FTSE 100 105 +9.1% +1.7% +7.3% +10.2% (222 trades)

The result is the change in the account, which started at $10,000, with each trade risking 1% of the account at that time. The two periods show the result in each period on its own.

The strategy

What the bullish engulfing strategy is

A bullish engulfing is a two-candle pattern. The first candle is red: it closed lower than it opened. The second candle is green: it opened at or below the red candle's close and closed at or above the red candle's open. So the green candle's body, the thick part between the open and the close, covers the whole red body. Traders read this as buyers now being stronger than sellers, so they buy. Most guides say to trade it only after a fall, with the stop-loss below the pattern. Traders disagree about the details. Some want the green candle to cover the red candle's wicks too: the thin lines above and below the body. Others wait for the next candle to confirm the move. With our standard rules, each market had about 4 patterns a week on a 1-hour chart and about 1 a week on a 4-hour chart. On a daily chart, each market had about 10 a year.

Stop-loss
The stop-loss is at the pattern's low, with no extra distance, and it does not move. In a typical trade, it was about one ATR(14) below the green candle's close. ATR(14) is the average true range: how far price moves in an average candle over the last 14 candles. A stop-loss does not protect against a gap, a jump in price between two candles. The biggest loss was 5.67R: an S&P 500 1-hour buy from Friday 20 June 2025. When the market opened again on Sunday, the price was far below its stop-loss. Losses of more than 1.5R were rare: 107 out of 12,906 trades on 1-hour charts, 7 out of 3,434 on 4-hour charts and 4 out of 999 on daily charts.
Take-profit
The take-profit is above the green candle's close, twice as far away as the stop-loss, and it does not move. Both distances are measured from the green candle's close, because the trade is planned when the pattern closes. On 1-hour and 4-hour charts, 22.0% of the trades reached the take-profit. They made 1.89R on average, a little less than 2R. Each trade opened at the next candle's open, not at the close, had its size rounded down and paid part of the trading cost (see 'Trading costs').
10-candle exit
A trade that reached neither the stop-loss nor the take-profit within 10 candles closed at the next candle's open. Skipped candles (see 'Candles') don't count. On 1-hour and 4-hour charts, 25.3% of the trades closed this way, and they made +0.36R on average. The remaining 52.6% hit the stop-loss. 2 trades were still open at the end of 2025, and the test closed them then.
Risk per trade
Each trade risks 1% of the account balance, which started at $10,000. The trade size is worked out when the pattern closes, from the distance between the green candle's close and the stop-loss. Trade sizes are rounded down to steps the market allows. The real risk of a trade can differ a little from 1%, because the trade opens at the next candle's open, not at the close. The median trade risked 1.00% on 1-hour and 4-hour charts and 0.94% on daily charts: half of the trades risked more, and half less.
Trading costs
Included. The cost is the spread: the gap between the buy price and the sell price. Our backtest engine treats the candle prices as halfway between the buy price and the sell price. Every trade opens with a market order, which fills at the current price and pays half the spread. A stop-loss or the 10-candle exit pays the other half when it closes the trade. A take-profit pays no spread. So a trade that reaches the take-profit pays half the spread, and every other trade pays all of it. With a real broker, a take-profit needs price to go about half a spread further. If every take-profit also paid half the spread, the average trade would fall by 0.010R on 1-hour charts, 0.005R on 4-hour charts and 0.002R on daily charts. There is no commission, and no slippage (a fill at a worse price than the order's price), except when price jumps past a stop-loss. With the standard rules, trading costs took 0.067R per trade on 1-hour charts, 0.032R on 4-hour charts and 0.014R on daily charts. On silver's 1-hour chart, they took 0.219R per trade. Overnight fees are not included (see 'Overnight fees').
Spreads
0.8 pips on EUR/USD, 0.9 on USD/JPY and 1.2 on GBP/USD. A pip is 0.0001, or 0.01 on USD/JPY. The spread is $0.30 an ounce on gold and $0.020 on silver. On the indices, it is 0.4 points on the S&P 500, 1.5 on the Nasdaq 100, 2.0 on the Dow Jones, and 1.0 on the DAX and the FTSE 100. For silver, the Nasdaq 100, the Dow Jones, the DAX and the FTSE 100, we used wider spreads than our backtest engine's own, to match a typical retail broker. Each spread is the same in every year.
Overnight fees
Not included. Brokers charge a fee (a swap), or sometimes pay one, for each night a trade stays open. The fee is charged at 17:00 New York time. With the standard rules, half of the trades closed within 3.9 hours on 1-hour charts, 16 hours on 4-hour charts and 5.8 days on daily charts. 25.4% of the 1-hour trades were open at 17:00 New York time at least once, 51.6% of the 4-hour trades and 84.7% of the daily trades. So more of the daily trades would pay these fees. We did not measure how much the fees would cost.
Years
The 20 main tests, on 1-hour and 4-hour charts, run from 2019 to 2025, split into 2019–2022 and 2023–2025. The 10 daily tests are extra. They run from 2014 to 2025, because a daily chart has fewer patterns, split into 2014–2021 and 2022–2025.
Price data
We use CFD prices. A CFD (contract for difference) is the product most brokers outside the US offer for trading these markets. The 1-hour and 4-hour tests start in 2019, the first full year after mid-2018: our index data before then has hours with no price change on charts shorter than daily. We left out Bitcoin. Our backtest engine charges it a fixed spread of $86. That was more than 1% of its price in 2020, so every Bitcoin test would look far worse than it was.
Candles
1-hour candles start on the hour. 4-hour and daily candles start at 17:00 New York time, when the forex trading day starts. Our strategy code skips two kinds of candles. The first are tiny candles built from a few minutes of prices just after the Friday close. The second are candles with no price change, for example on market holidays. These skipped candles are never part of a pattern, and they don't count for the 20 SMA or the 10 candles of a trade. On 1-hour and 4-hour charts, they were less than 1% of the candles in every test except the FTSE 100 (2.0% and 1.4%). On daily charts, they were 5.7% of the S&P 500's candles, 5.3% of the Nasdaq 100's, 3.8% of the FTSE 100's and 2.6% of the DAX's. On the other markets, they were less than 1%.
Patterns found
On the 10 markets from 2019 to 2025, our standard rules found 15,772 patterns on 1-hour charts and 4,065 on 4-hour charts. From 2014 to 2025, they found 1,234 on daily charts.
Skipped patterns
Only one trade is open at a time. On 1-hour charts, the 15,772 patterns became 12,906 trades. The other 2,866 were skipped. A trade was already open at 2,018 of them. 496 were too small to trade, and 2 were over the leverage limit (see 'Smallest trade size'). The other 350 were skipped because of the order of steps in our backtest engine. When a pattern forms in the last candle of the previous trade, the engine looks for the new pattern first and closes the old trade after that. So the old trade still counts as open. In 238 cases, the old trade hit its stop-loss or take-profit in that candle. In the other 112, that candle was the old trade's 10th, and the old trade closed at the next open. Traded one by one, 349 of these 350 patterns lost 0.200R each on average, more than the 0.052R of the trades in the test. The last one was too small to trade. The same order of steps skipped 81 patterns on 4-hour charts, which lost 0.042R each, and 26 on daily charts, which lost 0.187R each. So the results would have been a little worse with them.
Smallest trade size
Sometimes a trade that risks 1% would be smaller than the smallest trade the market allows. The smallest trades are 1,000 units of a currency pair, 1 ounce of gold, 50 ounces of silver and 0.1 of an index contract. Then the test skips the pattern. With the standard rules, this happened 492 times on silver's 1-hour chart, from July 2020 on. By then, that account had lost more than 70% of its $10,000. It also happened 4 times on the Dow Jones 1-hour chart and 8 times on its 4-hour chart, twice on silver's 4-hour chart and once on the DAX's 4-hour chart. On daily charts, it happened 11 times. There is also a leverage limit: a trade can be at most 30 times the account balance (30 to 1 leverage). When the stop-loss was very close to the entry, the 1% size was bigger than that limit. Then the test made the trade smaller, so it risked less than planned. This happened to 137 trades, all on 1-hour charts: 63 on EUR/USD, 27 on USD/JPY, 24 on GBP/USD and 23 on the other markets. For the same reason, 2 trades could not open at all.
Wrong prices in our data
Our price data has some minutes in which nothing traded, yet the price is more than 0.75% away from the last traded price. We call these wrong prices. A wrong price draws a long wick on the chart, which can change a pattern or hit a stop-loss. We checked every market for them. From 2019 to 2025, the DAX had 2,295 such minutes on 45 days, the FTSE 100 had 303 on 9 days and silver had 7 on one day. The other markets had none. The daily tests start in 2014. From 2014 to 2018, the S&P 500, the Nasdaq 100, the Dow Jones, the DAX, the FTSE 100, gold and silver all had some. The results on this page include these prices, because we test on our price data as it is. But we also ran every test again without them. The biggest changes were on the DAX 1-hour chart. With the standard rules, it made +115.4% instead of +126.7%. It also made 0.3% in 2019–2022 instead of losing 0.7%. So without the wrong prices, the standard rules made money in both periods in 4 tests, not 3. 3 other results changed between a gain and a loss, each by less than 2 percentage points. They were the DAX 4-hour test with a confirmation candle (2023–2025), the Nasdaq 100 daily test with the wicks engulfed too (2022–2025) and the S&P 500 daily test with no fall needed (2014–2025). So without the wrong prices, the version with a confirmation candle made money in 11 of the 20 tests in 2023–2025, not 12. On daily charts, the engulfing trades did better per trade than the trades on green candles that did not engulf in 4 of the 10 tests, not 3. The other averages on this page changed by 0.021R per trade or less, and none of them changed between a gain and a loss.

The rules we tested

  1. Check each candle when it closes. The pattern is a red candle, which closed below its open, then a green candle, which closed above its open.
  2. The green body must cover the red body and be bigger than it. So the green candle opens at or below the red candle's close, and closes at or above the red candle's open.
  3. The pattern must come after a fall: the red candle must close below its 20 SMA. The 20 SMA is the simple moving average of the last 20 closing prices, the red candle's close included.
  4. Buy at the next candle's open. The strategy only buys.
  5. Put the stop-loss at the pattern's low: the lower of the two candles' lows. It does not move. If price jumps past it, the trade closes at a worse price.
  6. Put the take-profit above the green candle's close, twice as far away as the stop-loss. For example, on gold, if the stop-loss is $10 below the close, the take-profit is $20 above it.
  7. If the trade has reached neither within 10 candles, close it at the next candle's open.
  8. Size every trade so that a loss at the stop-loss costs about 1% of the account. Only one trade is open at a time: a pattern that comes while a trade is open is not traded.

The method

How we tested it

The test

Markets
EUR/USD, GBP/USD, USD/JPY, Gold, Silver, S&P 500, Nasdaq 100, Dow Jones, DAX and FTSE 100
Charts
1-hour and 4-hour candles
Dates
January 2019 to December 2025
Account
$10,000, risking 1% of the account on each trade
Trading costs
Included. Every trade pays that market's normal trading cost: the spread, which is the gap between the buy price and the sell price.

How a test passes

We call a test passed only if it meets all four checks. A strategy can make money in one backtest and still fail one of these checks.

  • At least 100 trades. With fewer trades, a good result could be luck.
  • It made money from 2019 to 2022 and again from 2023 to 2025. This shows whether the strategy kept working in the newer years, not only in the older ones.
  • A profit factor (the money won divided by the money lost) of at least 1.2 from 2023 to 2025, after trading costs.
  • In 95% of 1,000 random shuffles of the trades, the account must not fall more than 30% from its highest point.

Improvements

Can the bullish engulfing strategy be improved?

Traders disagree about which bullish engulfing patterns to trade. Some want the green candle to cover the red candle's wicks too, not only its body. Some wait for the next candle to close above the green candle's high before they buy. Some trade only the patterns at the bottom of a fall, at a 20-candle low. Others skip the fall rule and trade every bullish engulfing. We tested each change on its own, on the same 20 tests. A change picked and judged on the same years can look good by luck. So we picked the version that made money in the most tests in 2019–2022. Then we checked it on 2023–2025, years we did not use to pick it.

Version Made money 2019–2022years used to pick the best version Made money 2023–2025years not used to pick it Made money in both periods Passed all four checks
Standard rules The rules under 'The rules we tested', with nothing added: the green body covers the red body, after a fall. 6 of 20middle test −12.0% 7 of 20middle test −7.3% 3 2
With the wicks engulfed tooBest on 2019–2022 The green candle must also cover the red candle's wicks. Its high is at or above the red candle's high, and its low is at or below the red candle's low. Everything else is the same as the standard rules. 11 of 20middle test +4.3% 10 of 20middle test −0.3% 7 1
With a confirmation candle After the pattern, wait one candle. If that candle closes above the green candle's high, buy at the open of the candle after it. If it does not, there is no trade. The stop-loss goes at the lowest low of the three candles. The take-profit is twice as far above the confirmation candle's close as the stop-loss is below it. 10 of 20middle test −4.1% 12 of 20middle test +0.3% 6 4
With the pattern at a 20-candle low Trade the pattern only when its low is the lowest low of the last 20 candles. This picks patterns that formed at the bottom of a fall. 10 of 20middle test +0.2% 9 of 20middle test −3.5% 4 3
With no fall needed Trade every bullish engulfing, whether the red candle closed above or below its 20 SMA. Everything else is the same as the standard rules. 10 of 20middle test −5.0% 8 of 20middle test −6.3% 6 2

No, not reliably. The version with the wicks engulfed too made money in the most tests in 2019–2022: 11 of the 20. In 2023–2025, it made money in 10 of the 20. 7 tests made money in both periods, against 3 with the standard rules, but only gold on the 4-hour chart passed all four checks. It did best on the 5 stock indices: all 10 index tests made money from 2019 to 2025. But the index trades made +0.102R each in 2019–2022 (1,257 trades), and their result was close to zero in 2023–2025 (−0.003R per trade, 1,002 trades). On the currency pairs, gold and silver, 8 of the 10 tests lost money. Waiting for a confirmation candle made money in the most tests in 2023–2025: 12 of the 20. But over the whole of 2019–2025, it made money in only 6 of the 20.

Passed all four checks with the wicks engulfed too

  • Gold, 4-hour

Questions

Questions traders ask

What is the success rate of the bullish engulfing pattern?

About 4 trades in 10 made money in our backtest. But almost half of the winning trades did not reach the take-profit: they closed after 10 candles, with a smaller profit. With the standard rules, 39.6% of the trades won on 1-hour charts, 40.6% on 4-hour charts and 39.5% on daily charts. On 1-hour and 4-hour charts, 22.0% of the trades reached the take-profit at 2R, and they made 1.89R on average. Another 25.3% closed after 10 candles and made +0.36R on average. The other 52.6% hit the stop-loss and lost 1.04R on average, a little more than 1R because of trading costs. After trading costs, the trades lost 0.043R each on average. Before costs, they made +0.017R.

Is a bigger engulfing candle better?

Not in our backtest. We split the standard trades by how many times bigger the green body was than the red body. On 1-hour and 4-hour charts, green bodies less than 1.5 times the red body lost 0.021R per trade (4,100 trades). Bodies 5 times bigger or more lost 0.047R per trade (3,994 trades). The groups in between lost 0.034R (1.5 to 2 times), 0.073R (2 to 3 times) and 0.045R (3 to 5 times). On daily charts, the smallest and the biggest groups did best: +0.025R per trade (267 trades) and +0.080R (269 trades). So we found no clear link between the size of the green candle and the result.

Should you wait for a confirmation candle after a bullish engulfing?

On 4-hour charts, waiting did better in our backtest. On 1-hour charts, it did worse. With confirmation, we waited for the next candle to close above the green candle's high, then bought at the open after it. On 4-hour charts, the confirmed trades made +0.020R each on average, against −0.008R with the standard rules. They did better before trading costs too: +0.039R against +0.025R. On 1-hour charts, the confirmed trades lost 0.061R each, against 0.052R. Confirmation lost money in all 10 tests on 1-hour charts, and made money in 6 of the 10 tests on 4-hour charts. All 6 made money in both 2019–2022 and 2023–2025, and 4 of them passed all four checks: GBP/USD, gold, the Nasdaq 100 and the Dow Jones. But each 4-hour test had only 100 to 162 trades, so this could be luck.

What is the best timeframe for the bullish engulfing?

The 4-hour chart lost the least in our backtest, but even there the standard rules lost a little. With the standard rules, the trades lost 0.008R each on average on 4-hour charts, 0.017R on daily charts and 0.052R on 1-hour charts. On 1-hour charts, the pattern is small, so the stop-loss is close to the entry, and trading costs took 0.067R per trade. On 4-hour charts, they took 0.032R. With the wicks engulfed too, the 4-hour trades made +0.021R each, and 7 of the 10 tests on 4-hour charts made money. On daily charts, that version made money on 9 of the 10 markets, but with only 17 to 40 trades each, and almost all of its profit came in 2022–2025.

Keep exploring

Related strategies we tested

Candlestick patterns Pin bar strategy backtest Made money in 7 of 30 tests, 0 of them in both periods. Best: Gold, 4-hour, +51% Candlestick patterns 15 candlestick patterns tested and ranked Made money in 10 of 24 tests, 3 of them in both periods. Best: DAX, 1-hour, +38%
The strategy code we ran

This is the exact code from the BacktestingMax strategy engine. Paste it into the strategy editor in the app to run it on any market.

class BullishEngulfing(Strategy):
    """The bullish engulfing after a decline, as candlestick traders trade it, plus the changes
    they argue about. Buys only.
    The pattern is two candles:
      1. a red candle (close below open) that closes below its 20 SMA: the average close of the
         last 20 candles, the red candle included. Price has been falling.
      2. then a green candle (close above open) whose body covers the red body: it opens at or
         below the red close and closes at or above the red open, and its body is bigger.
    Standard (all switches off):
      Buy at the next candle's open, with a market order.
      Stop-loss at the lowest low of the two candles. R is the distance from the green candle's
      close down to the stop-loss.
      Take-profit 2R above the green candle's close.
      If neither is hit within 10 candles, close the trade at the next candle's open.
      Size every trade so that the stop-loss loses 1% of the account. When that is less than the
      smallest trade size the market allows, the signal is skipped. One trade at a time: a pattern
      that completes while a trade is open is not traded.
    Skipped candles: a candle that opens on a Friday at 17:00 New York time or later, or on a
    Saturday (some data has a few minutes of prices after the weekly close, which make a tiny
    extra candle), and a candle with no range (high = low, a market holiday). They are never part
    of a pattern, and they don't count in the 20 SMA, the 20-candle low or the 10 candles of a
    trade. On a market that trades at the weekend, remove the Friday and Saturday rule.
    The changes, one at a time:
      wicks    = 1  the green candle also covers the red candle's wicks: its high is at or above
                    the red high, and its low at or below the red low
      confirm  = 1  wait for a confirmation candle: the next candle must close above the green
                    candle's high, and the trade opens at the open after it. The stop-loss goes at
                    the lowest low of the three candles; R and the take-profit are measured from
                    the confirmation candle's close
      at_low   = 1  only when the pattern's low is the lowest low of the last 20 candles: the
                    pattern formed at the bottom of the fall
      anywhere = 1  no decline needed: trade every bullish engulfing, wherever the red candle
                    closed against its 20 SMA
    A fair control, to compare with (not a change traders make):
      control  = 1  the same place without the engulfing: a red candle that closes below its
                    20 SMA, then a green candle that does NOT cover the red body. Same entry,
                    stop-loss and exits
    """
    params = {"sma_period": Param(type=int, default=20, min=2, max=200),
              "target_r": Param(type=float, default=2.0, min=0.5, max=10.0),
              "max_bars": Param(type=int, default=10, min=1, max=100),
              "low_bars": Param(type=int, default=20, min=2, max=200),
              "wicks": Param(type=int, default=0, min=0, max=1),
              "confirm": Param(type=int, default=0, min=0, max=1),
              "at_low": Param(type=int, default=0, min=0, max=1),
              "anywhere": Param(type=int, default=0, min=0, max=1),
              "control": Param(type=int, default=0, min=0, max=1)}
    lookback = 2
    def init(self, ctx):
        self.ny = ctx.clock("America/New_York")
        self.closes = []      # closes of the last 20 candles used, oldest first
        self.lows = []        # lows of the last 20 candles used, oldest first
        self.prev = None      # the previous candle used: (open, high, low, close, closed below its SMA)
        self.k = 0            # candles used so far
        self.entry_k = None   # the candle at whose close the trade's order was placed
        self.pending = None   # confirm = 1: a pattern waiting for its confirmation candle
    def on_bar(self, ctx):
        o, h, l, c = ctx.open[0], ctx.high[0], ctx.low[0], ctx.close[0]
        weekday, hour = self.ny.weekday, self.ny.hour
        if (weekday == 4 and hour >= 17) or weekday == 5 or h <= l:
            return  # a tiny candle after the Friday close, or a candle with no range
        p = ctx.params
        self.k += 1
        n = p.sma_period
        self.closes.append(c)
        del self.closes[:-n]
        sma = sum(self.closes) / n if len(self.closes) == n else None
        self.lows.append(l)
        del self.lows[:-p.low_bars]
        prev, self.prev = self.prev, (o, h, l, c, sma is not None and c < sma)
        pending, self.pending = self.pending, None
        if ctx.position is not None:
            if self.entry_k is not None and self.k - self.entry_k >= p.max_bars:
                ctx.close_position()  # 10 candles in the trade: close at the next open
            return
        if prev is None or sma is None:
            return
        if pending is not None:
            # confirm = 1: the candle after the pattern must close above the green candle's high.
            # It can't complete a new pattern: the candle before it is green, not red.
            pattern_low, green_high = pending
            if ctx.gate("confirmation_close", c > green_high):
                self.enter(ctx, min(pattern_low, l))
            return
        if not ctx.gate("red_then_green", prev[3] < prev[0] and c > o):
            return
        covers = o <= prev[3] and c >= prev[0] and (o < prev[3] or c > prev[0])
        if p.control == 1:
            if not ctx.gate("green_does_not_cover_red_body", not covers):
                return
        elif not ctx.gate("green_body_covers_red_body", covers):
            return
        if p.anywhere == 0 and not ctx.gate("red_closed_below_sma", prev[4]):
            return
        if p.wicks == 1 and not ctx.gate("covers_red_wicks", h >= prev[1] and l <= prev[2]):
            return
        pattern_low = min(l, prev[2])
        if p.at_low == 1:
            full = len(self.lows) == p.low_bars
            if not ctx.gate("at_20_candle_low", full and pattern_low <= min(self.lows)):
                return
        if p.confirm == 1:
            self.pending = (pattern_low, h)
            return
        self.enter(ctx, pattern_low)
    def enter(self, ctx, stop):
        entry = ctx.close[0]  # market order at the next open; R is measured from this close
        size = ctx.size_by_risk_pct(0.01, stop=stop, entry=entry)
        if not ctx.gate("trade_size_allowed", size > 0):
            return  # 1% of the account is less than the smallest trade size: skip the signal
        order = ctx.buy(size=size, sl=stop, tp_r=ctx.params.target_r, tag="bullish_engulfing")
        self.entry_k = self.k
        return order

Your turn

Test the bullish engulfing strategy yourself

Change the settings, the market or the stop-loss and see the result in seconds. Ask the BacktestingMax AI: Backtest a bullish engulfing strategy on gold, 4-hour chart: buy at the next candle's open when a green candle's body covers the previous red candle's body and is bigger, and the red candle closed below the 20 SMA; stop-loss at the lower of the two candles' lows, take-profit at 2R, close the trade after 10 candles if neither is hit, 1% risk per trade.

Try it free in BacktestingMax

Free account. No credit card needed.

See every strategy we tested Browse strategies shared by traders

Backtest on historical data with trading costs, run by BacktestingMax. Past results do not guarantee future results, and nothing here is financial advice. Updated 9 November 2026.