What you will learn
- How five popular patterns (bullish and bearish engulfing, hammer, shooting star, doji) are defined precisely enough to be tested.
- What two published studies found, and why they point in opposite directions.
- What we found when we tested the patterns on 7,405 daily and 7,405 four-hour candles of five instruments.
- How to treat a candlestick pattern honestly: as a description of one or two candles, not as a forecast.
The idea in plain words
A candle records where price opened, how high and low it went, and where it closed. A candlestick pattern is a named shape made of one, two or three candles, such as an “engulfing” or a “hammer”, that traders say tells you what is likely to happen next. The stories are appealing: a hammer shows sellers pushed price down and buyers pushed it back, so the fall may be over. An engulfing candle shows one side overwhelmed the other.
The stories may be true of the candle and still say nothing about the future. A candle describes what already happened. Whether it predicts anything is a question you can test, and the way to test it is to define the pattern exactly, find every case in a large sample, and measure what followed, comparing with what follows an ordinary candle. That is what this lesson does.
Two points about method. Patterns in books are drawn as pictures and described in words (“a small body with a long lower wick”). A test needs numbers: how long is “long”, how small is “small”? Different definitions give different answers, which is part of why published results disagree. And a pattern that is common (a doji, for instance) gives a big sample, while a rare one gives few cases and a result that proves little.
How it works
The five patterns, exactly
We define each pattern with rules a computer can check. Let the body be |close − open|, the range high − low, the upper wick high − max(open, close), and the lower wick min(open, close) − low.
– Bullish engulfing: the previous candle closed below its open, this candle closed above its open, this candle opens at or below the previous close and closes at or above the previous open, and its body is larger than the previous body.
– Bearish engulfing: the mirror image: previous candle up, this candle down, opening at or above the previous close, closing at or below the previous open, and a larger body.
– Hammer: a candle with a body above zero, a lower wick at least twice the body, an upper wick no more than half the body, after two down candles in a row.
– Shooting star: the mirror image: an upper wick at least twice the body, a lower wick no more than half the body, after two up candles in a row.
– Doji: a body no more than 10% of the range (open and close nearly equal).
These are one reasonable set of definitions, not the only one.
What two published studies found
- Caginalp and Laurent (Applied Mathematical Finance, 1998) tested candlestick patterns on the daily prices (open, high, low, close) of all S&P 500 stocks from 1992 to 1996. They report that out-of-sample tests showed statistical significance at the level of 36 standard deviations from the null hypothesis and a profit of almost 1% during a two-day holding period, and they also ran an essentially non-parametric test using standard definitions of three-day patterns with conditions on magnitudes removed. They conclude that the results provide evidence that traders are influenced by price behaviour.
- Marshall, Young and Rose (Journal of Banking & Finance, 2006) asked whether candlestick strategies can create value for investors. The lead author’s doctoral thesis of the same title, at Massey University, tested the stocks in the Dow Jones Industrial Average from 1992 to 2002 with a bootstrap method that generates random open, high, low and close prices. Its abstract concludes there is no evidence that a trader following candlestick technical analysis would outperform the market.
Both studies use daily stock data from the 1990s, and they reach opposite conclusions. The likely reasons are the ones above: different definitions of patterns, different samples (all S&P 500 stocks against the Dow stocks), different periods, and different methods (the first reports gross profits over a two-day hold, the second tests strategies against random prices). We cannot tell from the abstracts which is more reliable. More broadly, Park and Irwin’s survey of technical analysis (Journal of Economic Surveys, 2007) found 56 of 95 modern studies positive, 20 negative and 19 mixed, with data snooping, rules chosen after the fact and weak treatment of costs as the main concerns. Neither candlestick study covered forex pairs, gold or crypto-assets.
Our test
We tested the five patterns on daily and 4-hour candles of EUR/USD, GBP/USD, USD/JPY, gold and Bitcoin, the last 1,500 candles of each to 15 October 2026 (7,405 candles per timeframe once the first candles used for the ATR are excluded). For every pattern candle, we measured the price change over the next 5 candles, in units of the ATR at the pattern candle, in the direction the pattern is supposed to predict (up for bullish engulfing and hammer, down for bearish engulfing and shooting star). Positive means price moved the way the pattern says. We compared it with the average move after any candle, in the same direction.
| Timeframe, pattern | Cases | Mean move in the predicted direction (standard error) | All-candle average, same direction | Share of cases in the predicted direction |
|---|---|---|---|---|
| D1 bullish engulfing | 580 | +0.05 (0.07) | +0.10 | 51% |
| D1 bearish engulfing | 286 | −0.11 (0.09) | −0.10 | 45% |
| D1 hammer | 17 | +0.14 (0.48) | +0.10 | 65% |
| D1 shooting star | 41 | +0.08 (0.18) | −0.10 | 54% |
| H4 bullish engulfing | 483 | +0.03 (0.07) | +0.02 | 48% |
| H4 bearish engulfing | 472 | +0.09 (0.07) | −0.02 | 50% |
| H4 hammer | 32 | −0.24 (0.22) | +0.02 | 47% |
| H4 shooting star | 40 | −0.14 (0.23) | −0.02 | 35% |
For the doji, the question is about size, because it is read as indecision. After a doji the mean absolute 5-candle move was 1.11 ATR on daily candles (against 1.17 after any candle) and 1.18 ATR on 4-hour candles (against 1.18), so there was no sign of a smaller move to come.
How to read this:
– Pattern frequency: bullish engulfing appeared on about 7.8% of daily candles and bearish engulfing on 3.9%. Hammers and shooting stars, with our two-candle context rule, were rare: 17 to 41 cases per row.
– For the two engulfing patterns, the mean move in the predicted direction was within about 1.6 standard errors of the all-candle average in every row. The largest gap was the 4-hour bearish engulfing, +0.09 against −0.02 (a gap of 0.11 with a standard error of 0.07). The shares in the predicted direction (45% to 51%) are close to a coin toss.
– For the hammer and shooting star, 17 to 41 cases give standard errors of 0.18 to 0.48 ATR, so even moves of a quarter of an ATR are not distinguishable from zero. We cannot say whether these patterns work or not, only that this sample does not show it.
– This was a test of what followed each pattern, ignoring costs, stops and position size, on one feed over a limited period, with the definitions above. It is not a test of a strategy, and different definitions or context filters (a pattern at support, or after a long trend) might give different results.
Our results fit the Marshall, Young and Rose conclusion better than the Caginalp and Laurent one, but they come from other markets and are small.
Worked examples
Example 1: two opposite signals on consecutive days
On the daily EUR/USD chart from the demo feed (broker server days), the patterns fired two days in a row in October 2026. The ATR(14) was 58.4 pips on 5 October and 59.5 pips on 6 October.
Monday 5 October 2026 (bearish engulfing). The previous candle (Friday) opened at 1.12426 and closed at 1.12504, an up candle. Monday opened at 1.12589, rose to 1.12610, fell to 1.11611 and closed at 1.12203. The open was above the previous close, the close was below the previous open, and the body (38.6 pips) was larger than the previous one (7.8 pips). By our rules, a bearish engulfing. Over the next five candles price fell a further 65.4 pips, 1.12 ATR in the predicted direction.
Tuesday 6 October 2026 (bullish engulfing). Tuesday opened at 1.12201, high 1.12767, low 1.12029, close 1.12590. Monday’s candle was down (open 1.12589, close 1.12203). Tuesday opened at or below that close (1.12201 ≤ 1.12203), closed at or above Monday’s open (1.12590 ≥ 1.12589), and had a larger body (38.9 pips against 38.6 pips). By our rules, a bullish engulfing, which by the usual story reverses the day before. Over the next five candles price moved down 61.4 pips, which is 1.03 ATR against the predicted direction.
So one day gave a signal to sell, which worked, and the next gave a signal to buy, which did not. A trader who followed both would have made a gain and then a loss of about the same size. The second pattern passed the “larger body” test by only 0.3 pips (38.9 against 38.6), so a slightly different rule would have missed it.

What to notice: That the bullish pattern on 6 October was followed by a further fall.
Example 2: the last eight engulfing patterns
These are the eight most recent engulfing patterns on EUR/USD daily candles, with the 5-candle move in each pattern’s predicted direction:
| Date | Pattern | ATR | 5 candles later, in the predicted direction |
|---|---|---|---|
| 7 Jul 2026 | Bearish | 59.5 pips | −10.0 pips (−0.17 ATR) |
| 10 Jul 2026 | Bearish | 56.0 pips | −23.5 pips (−0.42 ATR) |
| 3 Aug 2026 | Bearish | 60.9 pips | −33.8 pips (−0.55 ATR) |
| 6 Aug 2026 | Bearish | 56.1 pips | −6.8 pips (−0.12 ATR) |
| 25 Aug 2026 | Bullish | 48.6 pips | −83.5 pips (−1.72 ATR) |
| 3 Sep 2026 | Bullish | 47.9 pips | −17.0 pips (−0.35 ATR) |
| 5 Oct 2026 | Bearish | 58.4 pips | +65.4 pips (+1.12 ATR) |
| 6 Oct 2026 | Bullish | 59.5 pips | −61.4 pips (−1.03 ATR) |
- Seven of the eight patterns were followed by a move against their predicted direction. Only the 5 October bearish engulfing worked.
- The losses were not small: −1.72 ATR after the 25 August bullish pattern.
- These are the eight most recent cases on one instrument, out of 866 daily patterns across all five instruments, where the share in the predicted direction was 51% (bullish) and 45% (bearish). A bad run of eight is not evidence about the whole. It shows what a recent run can look like.

What to notice: That most arrows point one way and price went the other.
How to apply it step by step
- Write the definition of any pattern you use: body, wick and context rules, in numbers. If you cannot, you cannot test it.
- Find at least 30 cases on your instrument and timeframe (many more for rare patterns) and record what followed over a fixed number of candles, in ATR units.
- Compare it with what follows an ordinary candle. A pattern is only informative if the result differs from the baseline by more than the noise.
- Add context before relying on a pattern: the trend, a nearby level, the timeframe above. Test the contexts separately.
- If a pattern is part of your plan, define the entry, stop and exit in advance and size by the stop distance. Never take a trade because of a pattern alone.
- Count a pattern’s cases and keep a running record in your journal.
- Be suspicious of any pattern whose definition changes after you see the results.
Common mistakes
- Treating a pattern as a prediction. A candle describes the past. In our data, 45% to 51% of engulfing patterns were followed by a move in the predicted direction.
- Memorising many pattern names. More patterns mean more chances that one fits by luck.
- Vague definitions. “Small body, long wick” can be bent to fit.
- Ignoring the base rate. A move that happens after a pattern may happen after every candle. Always compare with the average candle.
- Trusting a handful of cases. Hammers and shooting stars gave 17 to 41 cases and standard errors up to 0.48 ATR.
- Ignoring costs and stops. A pattern with a tiny average edge disappears after the spread.
When it works and when it does not
Candlestick patterns work as a vocabulary: they let you describe in a word what two candles did. That has real value for communication and for reviewing your own trades. They are weaker as forecasts.
The published evidence is split: one 1990s study of all S&P 500 stocks found a profit of almost 1% over two days, and another test of the Dow stocks found no evidence of outperformance. In our test on forex pairs, gold and Bitcoin, the engulfing patterns were followed by moves in the predicted direction only 45% to 51% of the time and in line with ordinary candles, and the hammer and shooting star samples were too small to say. The most defensible position is cautious: use candles to describe the market accurately, and require evidence from your own testing, with costs, before treating any shape as a signal.
Practice exercise
Previous candle: open 1.2050, close 1.2000. This candle: open 1.1995, high 1.2080, low 1.1990, close 1.2070.
- Is the previous candle up or down, and what is its body in pips?
- Is this candle a bullish engulfing by our definition? Check each condition.
- A candle has open 1.2000, high 1.2010, low 1.1940, close 1.2008. Its body, upper wick and lower wick in pips? Does it meet the hammer shape (ignoring context)?
- A pattern is followed by the predicted move 50% of the time and the all-candle baseline is 50%. What does that say?
Answers:
1. The close is below the open, so it is down. Body = 1.2050 − 1.2000 = 50 pips.
2. Previous candle is down ✓. This candle closes above its open ✓ (1.2070 > 1.1995). Opens at or below the previous close ✓ (1.1995 ≤ 1.2000). Closes at or above the previous open ✓ (1.2070 ≥ 1.2050). Body = 75 pips > 50 pips ✓. So yes, a bullish engulfing.
3. Body = |1.2008 − 1.2000| = 8 pips. Upper wick = 1.2010 − 1.2008 = 2 pips. Lower wick = 1.2000 − 1.1940 = 60 pips. Lower wick ≥ 2 × body ✓ (60 ≥ 16). Upper wick ≤ half the body ✓ (2 ≤ 4). So it meets the hammer shape.
4. The pattern adds no information beyond an ordinary candle in this sample.
Key terms
Candlestick pattern – a named shape made of one to three candles.
Engulfing – a candle whose body is larger than and covers the previous candle’s body, in the opposite direction.
Hammer – a small body with a long lower wick after a decline.
Shooting star – a small body with a long upper wick after a rise.
Doji – a candle whose open and close are nearly equal.
Base rate – what happens after an ordinary candle, the benchmark for any pattern.
Out-of-sample – tested on data not used to design the rule.
Standard error – the uncertainty of a measured average.
Frequently asked questions
Do candlestick patterns work?
The evidence is mixed. A 1998 study of all S&P 500 stocks (1992 to 1996) found a profit of almost 1% over a two-day hold, and a test on the Dow stocks (1992 to 2002) found no evidence of outperformance. In our own test on forex, gold and Bitcoin, engulfing patterns were followed by the predicted move 45% to 51% of the time.
How reliable is the engulfing pattern?
In our data, the move after it was close to the average move after any candle. About 51% of daily bullish engulfing cases and 45% of daily bearish engulfing cases were followed by a move in the predicted direction over five candles.
Is a hammer a buy signal?
We cannot say from our data. Hammers (with two down candles before) were rare, 17 cases on daily candles and 32 on 4-hour, and the standard errors were too large to distinguish the result from zero.
Does a doji mean the market will reverse?
It describes indecision in one candle. In our data the move after a doji was no smaller than after an ordinary candle, and its direction showed no pattern.
Why do studies disagree?
They use different pattern definitions, markets, periods and methods. Small changes in a definition can change which candles count, which changes the result, and a result found in one sample may not hold in another. That is why you should test a pattern on your own market with your own written definition.
Should I use candlestick patterns at all?
As a way to describe what candles did, yes. As a signal, only after you have tested your own definition on enough cases with costs, and added context such as trend and levels.
Key takeaways
- A pattern must be defined with numbers to be tested. Our five definitions are in the lesson.
- Two published studies of 1990s stocks disagree: one found a profit of almost 1% over two days, the other found no evidence of outperformance.
- In 7,405 candles per timeframe on five instruments, engulfing patterns were followed by moves in line with ordinary candles, and the hammer and shooting star samples were too small to conclude.
- Always compare a pattern with the base rate, and count the cases.
- Use candles to describe, and test before you rely.
Quick quiz
Q1. A candle has a body of 5 pips, an upper wick of 1 pip and a lower wick of 12 pips. Does it meet the hammer shape (ignoring context)?
A: Lower wick 12 ≥ 2 × 5 = 10 ✓, upper wick 1 ≤ 2.5 ✓, so yes.
Q2. Why must you compare a pattern’s result with the all-candle average?
A: Because the market drifts, and a move that follows a pattern may be just as common after any candle.
Q3. A pattern gave 17 cases with a mean of +0.14 ATR and a standard error of 0.48. Is it a reliable signal?
A: No. The standard error is more than three times the mean, so the result cannot be distinguished from zero.
Q4. Why can two studies of candlestick patterns reach opposite conclusions?
A: They differ in definitions, samples, periods and methods.
Q5. In our data, how often were bullish engulfing patterns on daily candles followed by an upward 5-candle move?
A: About 51% of the time, close to a coin toss.
Q6. What does it mean that a doji was followed by an average-sized move?
A: It showed no sign that “indecision” leads to a smaller move.
Going deeper
- How to read a candlestick chart – how candles are built.
- Support and resistance basics – the context that patterns are said to need.
- ATR and volatility – the unit we used to size moves.
- Your first trading plan – how to test a rule before trusting it.