Candlestick patterns › Hammer

Hammer candlestick pattern

Bullish · 1 candle

A hammer is a single candle with a small body at the top, a long lower wick and little or no upper wick, sitting at or near the previous candle's low.

Hammer: an invented example Hammer
An invented example: the shaded candle is the hammer, and the faded candles before it are what the detector measures it against. GU Analyser's detector finds this pattern on exactly these candles.

What a hammer looks like

The candle looks like a hammer with its handle pointing down. The body can be up or down; the long lower wick is the point. It shows that the price fell well below the open during the period and then came most of the way back.

How a hammer is traditionally read

A hammer is traditionally read as a possible turn upwards after a fall: sellers pushed the price down, and buyers brought it back before the close. Most descriptions add that it needs a following up candle before it is taken seriously.

That is the tradition. Whether a pattern says anything about what came next is a question for a test: our candlestick pattern studies show how we test one.

How GU Analyser detects a hammer

The app uses the definition of TA-Lib, an open-source technical analysis library, at its default settings. "Average" below means the average over the ten candles before the pattern.

The detector compares the candle with the one just before it and with the average of the last ten. It does not look at the trend over the weeks before: a hammer still counts after a rise, as long as its body sits near the previous candle's low. A rule can require a fall first with a trend condition, for example the close below its 50-day SMA.

Patterns that look alike

The hanging man is the same candle. The detector tells them apart by where the body sits: near the previous candle's low makes a hammer, near its high a hanging man. Hanging man explained

How often a hammer appears

Hammer: 24,786 times in 1,170,078 stock-days (one stock on one trading day), about once every 47 trading days for a single stock. It appeared at least once on 499 of the 500 stocks.

Counted by the app's own detector on the daily bars of the 500 stocks in the S&P 500 on 30 September 2026, from October 2016 to September 2026; a company listed later counts from its first day, and companies that left the index before then are not in the sample. This counts the pattern only: what followed it is not measured here.

Using a hammer in GU Analyser

On Charts, the Candle patterns layer marks each hammer the detector finds. In the strategy, alert and event builders the same pattern is a condition, which can be combined with others, such as a trend filter: the strategy builder shows how. Candle patterns are available on Premium and lifetime accounts. On our stock data the chart shows a closing-price line with the markers; with your own Tiingo key connected, the chart shows full candlesticks.

Other candlestick patterns

Inverted hammer
Shooting star
Morning star
All 14 patterns · Engulfing patterns, tested

See the patterns on a chart

On Premium and lifetime accounts, GU Analyser marks each of these patterns on a chart and uses it as a condition in a backtest or an event study. Charts, indicators and backtests are free on the S&P 500 ETF, no card.

Create a free account → Try the demo — no registration or start with the courses →
This is educational material, not advice. It describes methods and conventions used to study markets on historical data. Nothing here is a recommendation to buy or sell anything, and a historical test does not show what will happen next. GU Analyser is an analytical and educational tool — no money is ever traded here.