Lessons

Candlestick patterns: how to read them, and what followed

A candlestick pattern is a shape made by one to three daily candles that traders read as a sign the price is about to turn. We defined five of the best known exactly and found 54,878 of them in the 35 free stocks on HitBull. Twenty trading days after a hammer that came after a fall, the price was higher 54% of the time. After any day that came after a fall, it was higher 55% of the time.

How to read one candle

Each candle is one trading day. Four prices make it: the open (the first trade of the day), the high, the low and the close (the last trade). The thick part, the body, runs from the open to the close. It is green when the close is above the open and red when it is below. The thin lines above and below the body are the wicks, also called shadows. They show how far the price went during the day before it was pulled back.

Take AAPL on March 23, 2020, the first chart below. The body was 29% of the day's range from high to low. The lower wick was 2.4 times as long as the body, and the upper wick was 3% of the range. In words: sellers pushed the price well down during the day, buyers brought most of it back, and the stock closed near where it opened. Every pattern in this lesson is a rule about those parts.

The five patterns, defined

Books describe these shapes loosely, so we wrote down exact rules and used the same ones for every count on this page. A doji is a day whose body is at most 10% of its range: the open and close are almost the same, so buyers and sellers ended the day even. A hammer has a body larger than that, a lower wick at least twice the body, and an upper wick no more than 10% of the range. A shooting star is the hammer upside down: a long upper wick at least twice the body, and almost no lower wick.

The engulfing patterns take two days. A bullish engulfing is a red day followed by a green day whose body covers the red one: it opens at or below the previous close and closes at or above the previous open. A bearish engulfing is the reverse, a green day swallowed by a red one.

The textbooks say context matters. A hammer or a bullish engulfing is meant to mark the end of a fall, and a shooting star or a bearish engulfing the end of a rise. Here a pattern came “after a fall” when the close the day before it started was lower than 10 trading days earlier, and “after a rise” when it was higher.

A hammer at the bottom

AAPL, March 23, 2020

50607080Feb 20Mar 20Apr 20May 20Hammer, March 23, 2020
Closed above its openClosed below its open20-day average

AAPL had fallen 21% in the 10 trading days before this candle, in the market crash of early 2020. The hammer came on the lowest close in the chart. A week later the stock was +14%, and twenty trading days later +20%. This is the picture every candlestick book shows.

Replay AAPL from Feb 2020

A hammer in the middle of a fall

SPY, October 6, 2008

60708090Sep 08Oct 08Nov 08Hammer, October 6, 2008
Closed above its openClosed below its open20-day average

SPY, the fund that tracks the S&P 500, made a hammer of the same kind in October 2008, after falling 12% in 10 days. The long lower wick looked like buyers stepping in. Twenty trading days later SPY was -9%, and it kept going: its lowest close in this chart, on October 27, 2008, was 20% below the hammer's close. The shape was right. The bottom was not.

Replay SPY from Sep 2008

Bullish engulfing

SPY, July 24, 2002

5055606570Jun 02Jul 02Aug 02Sep 02Bullish engulfing, July 24, 2002
Closed above its openClosed below its open20-day average

In July 2002 SPY had dropped 16% in 10 trading days. Then a red day was followed by a green one that opened below its close and finished above its open. SPY was +8% a week later and +12% after twenty trading days. Engulfing days are common in fast markets, though, and the table below shows how many of them led nowhere.

Replay SPY from Jun 2002

A shooting star after a run

TSLA, July 15, 2024

200250Jun 24Jul 24Aug 24Shooting star, July 15, 2024
Closed above its openClosed below its open20-day average

TSLA rose 26% in the 10 trading days before this candle. On the day itself it traded well above the open and gave most of that back by the close, leaving a long upper wick. A week later it had barely moved, and after twenty trading days it was -22%. The signal took weeks to mean anything, and a trader who sold short on the day had to sit through a week of nothing first.

Replay TSLA from Jun 2024

What 54,878 patterns say

Here is every pattern found in the 35 free stocks on HitBull, in the context the textbooks give it, set against every trading day in the same stocks. “Higher” means the close was above the close on the day the pattern finished. For the bullish patterns you would want that share above the line for the same context. For the bearish ones you would want it below.

CountHigher 5 days laterHigher 20 days laterMedian change after 20 days
Hammer after a fall2,49152%54%+1%
Bullish engulfing after a fall4,17352%55%+1%
Any day after a fall104,15053%55%+1%
Shooting star after a rise2,54253%55%+1%
Bearish engulfing after a rise5,71854%56%+1%
Any day after a rise124,20153%56%+1%
Doji, any context24,44853%56%+1%
Any trading day229,94753%56%+1%

Every pattern lands within 2 percentage points of the plain base rate for its context. A shooting star after a rise was followed by a higher close a week later 53% of the time, against 53% for any day after a rise. A doji, read as indecision, was followed by the same mix of ups and downs as any other day. On these stocks the patterns, taken alone, told you about as much as a coin flip with a slight upward lean, which is the lean the stocks themselves had.

That doesn't make candles useless. They show what happened inside each day, which a line of closing prices hides, and a long wick at a level the price has turned at before (see support and resistance) or on very heavy trading volume is worth more attention than the same shape in the middle of nowhere. What the data says is that the shape by itself is not a signal.

These are 35 well-known stocks, funds and currency pairs still trading today, most of which rose over the years. Prices are adjusted for splits and dividends, and the patterns follow the exact rules above; looser or stricter rules would find different days. Past prices don't promise future ones, and this is a simulator, not investment advice.

Practise reading them

The replay buttons above open HitBull a month before each pattern, on daily candles with a 20-day average. Watch each candle form and decide what you would do before you press GO. Notice how often a hammer appears in a fall that keeps going.

Then try a stock you don't know, such as MSFT in the 1990s. Once you can spot the shapes, the harder skill is knowing when to ignore them. The trend following lesson tests a different idea: that the direction of the last year matters more than the last day.

Questions

Do candlestick patterns work?

Not on their own, on HitBull's 35 free stocks. Twenty trading days after a hammer that followed a fall, the price was higher 54% of the time, against 55% after any day that followed a fall.

What does a hammer candlestick mean?

A hammer has a small body near the top of the day, a lower wick at least twice the body and almost no upper wick. The price fell during the day and buyers brought most of it back. It is read as a possible bottom after a fall.

What is a doji candle?

A day whose open and close are almost the same, here a body of at most 10% of the day's range. It is read as indecision. On HitBull's stocks the price was higher 20 trading days after a doji 56% of the time, the same as after any day (56%).