Candlesview Open charts
Blog › Testing ideas

Candlestick patterns worth knowing, and how often they fail

· 5 minute read · Testing ideas

Engulfing, hammer, star and inside bar: four patterns worth knowing, how to define each one exactly, and how to measure how often it fails on your market.

Four worth knowing

An engulfing pattern is a candle whose body covers the whole body of the candle before it, in the opposite colour. A hammer has a small body near the top of its range and a long lower wick; a shooting star is the same shape upside down. A morning or evening star is three candles: a strong candle, a small one, and a strong one the other way. An inside bar sits entirely within the range of the candle before it.

They are worth knowing because they describe something real: a change in who controlled the candle, or a pause. They are not worth more than that until they have been counted.

Exact definitions

Words like "small body" and "long wick" have to become numbers before anything can be tested. A possible hammer rule: the body is at most 30% of the range, and the lower wick is at least twice the body.

A candle opens at 100, closes at 100.6, reaches 100.8 and dips to 97.8. The range is 3.0 and the body 0.6, which is 20% of the range. The lower wick is 100 − 97.8 = 2.2, which is more than twice the body of 0.6. By this rule it is a hammer. Change 30% to 25% or the wick rule to three times the body, and some candles drop in or out. That is fine, as long as the rule is fixed before you look at results.

Measuring failure

Decide what success means. One fair version: after the pattern, does price reach one unit of risk in profit before it reaches one unit of loss, with the stop beyond the pattern's extreme?

Suppose a test finds 200 hammers and 104 reached the profit first: 52%. Then run the same rule from random candles on the same market. If random entries reach the profit first 50% of the time, the hammer added two points. With 200 cases the uncertainty is about 1 ÷ the square root of 200, roughly plus or minus 7 points, so 52% cannot be told apart from 50%. After fees, a rule at that level loses money.

Context changes the numbers

Patterns are often said to work better at a level, in the direction of a larger trend, or on heavy volume. That may be true on your market. It is also the easiest place to fool yourself, because every added condition cuts the sample and every condition you try and reject is another chance for luck to find something.

Pick one context in advance, test it once, and compare with the plain pattern and with random entries.

Patterns that need gaps

Some classic patterns, such as the abandoned baby and some gap patterns, need a jump between one candle's close and the next one's open. On markets that trade around the clock those jumps are rare, so the patterns hardly ever appear. Results from markets that close each day do not carry over to them.

To take away

  • A pattern can only be tested once its definition is written in numbers.
  • Compare its success rate with random entries on the same market, after fees.
  • Every added condition shrinks the sample and adds a chance to fool yourself.

Try it

Candlestick pattern guideEngulfing on the chartHammer and shooting starMorning and evening starLesson: candlesticksCrypto backtesting

Lessons on this topic

Lesson: CandlesticksLesson: Chart patterns

Related posts

Reading markets · 3 minHow to read a candlestick chart

A candle shows four prices and who won the period. Here is how to read one candle, a group of candles and the mistakes beginners make with patterns.

24 November 2026
Testing ideas · 5 minEight matches is not evidence

A scan matched 8 times and price rose after 6 of them. That feels like 75%. Here is why it says almost nothing, and what to compare it with before believing it.

20 November 2026
Testing ideas · 3 minHow to backtest a trading strategy without coding

A backtest replays a rule over past prices. Here are the six steps to run one without writing code, and the checks that separate a real edge from a lucky stretch.

24 November 2026

Education only. Nothing here is financial advice or a recommendation to buy or sell anything; examples are arithmetic, not results. Trading involves a high risk of losing money.