Chart Patterns

Hammer Candlestick: Meaning, Confirmation and Trading Rules

A hammer is a single candle with a small body near the high and a long lower shadow, appearing after a decline. Learn what it means, how to confirm it, and where to enter and exit.

By AlgoXP2 min readUpdated

Schematic hammer candlestick after a decline, highlighted, followed by a rising confirmation candle

A hammer is a single-candle bullish reversal pattern that appears after a decline. It has a small real body near the top of the candle’s range and a long lower shadow - at least about twice the length of the body - with little or no upper shadow. The colour of the body matters less than its position and the length of the lower shadow.

The story inside the candle: sellers pushed price sharply lower during the period, but buyers absorbed the selling and drove price back up to close near the high.

How to recognise it

Feature Rule of thumb
Context Appears after a decline (otherwise it is not a hammer)
Body Small, in the upper third of the range
Lower shadow At least about 2 × the body
Upper shadow Small or absent
Confirmation The next candle closes higher (often above the hammer’s high)

The same shape at the top of an uptrend is called a hanging man and is read as a bearish warning.

Confirmation

A hammer alone shows rejection of lower prices for one period. It becomes a trade signal only when the next candle confirms - for example by closing above the hammer’s high. A hammer at a known support level (a prior low, a support zone, a rising moving average in a larger uptrend) is more meaningful than one in the middle of nowhere.

Trading plan

  • Entry: above the high of the hammer, after a confirming close.
  • Stop-loss: below the low of the hammer’s lower shadow.
  • Target: the next resistance, or a fixed reward-to-risk multiple (for example 2 : 1).

Worked example

After a three-day decline, gold prints a daily hammer: open 2,312, high 2,318, low 2,280, close 2,315. Body 3 dollars, lower shadow 32 dollars. The next day closes at 2,326, above the hammer’s high.

  • Entry: 2,326.
  • Stop below the hammer low: 2,278 → risk 48 dollars.
  • Next resistance at 2,380 → reward 54 dollars (1.1 : 1).

A long lower shadow means a wide stop. Here the ratio to resistance is only 1.1 - a valid pattern, but a mediocre trade. Some traders enter on a pullback into the upper half of the hammer instead, reducing risk.

Common mistakes

  • Ignoring context. A hammer after a small dip in a range carries little information.
  • Skipping confirmation. Many hammers are followed by further declines.
  • Using fixed pip stops that sit inside the hammer’s shadow.

In algorithms

A hammer is easy to code: lowerShadow ≥ 2 × body, upperShadow ≤ 0.3 × body (or a small fraction of the range), the close in the top third of the range, plus a trend condition (for example, close below a moving average, or N lower closes). Add confirmation on the next bar. Test it - single-candle patterns are noisy, and filters usually matter more than the pattern itself.

FAQ

Does the colour of a hammer matter?

Slightly. A rising (bullish) body is often considered a bit stronger, but the defining features are the long lower shadow, the small body near the high and the preceding decline.

What is an inverted hammer?

A candle with a long upper shadow and a small body near the low, appearing after a decline. It also needs confirmation and is generally considered weaker than a hammer.

Sources and further reading

  1. StockCharts ChartSchool: Candlestick Bullish Reversal Patterns - chartschool.stockcharts.com
  2. StockCharts ChartSchool: Candlestick Pattern Dictionary - chartschool.stockcharts.com
  3. StockCharts ChartSchool: Introduction to Candlesticks - chartschool.stockcharts.com