Candlestick Pattern Identifier

Enter two candles’ OHLC prices to name the pattern

%
This tool calls a candle a doji when its body is this small or smaller. Adjust to taste.
Pattern detected—
Two-candle pattern—
Current candle shape—
Current candle—
Body (share of high–low range)—
Upper shadow—
Lower shadow—
🎰 15 Global Lotteries + 12 Smart Number Pickers
Powerball · Mega Millions · EuroMillions · UK Lotto — Zodiac, Birthday, Dream, AI & more

How this candlestick pattern identifier decides

Each candle has a body (open to close) and shadows (wicks) up to the high and down to the low. On most US charting platforms a candle that closes above its open is green or hollow, and one that closes below its open is red or filled. The tool measures the body and both shadows as a share of the high–low range and then applies these rules:

  • Doji: open and close virtually equal (here: body ≤ the threshold you set, 10% by default). Dragonfly = open/close near the high; gravestone = near the low.
  • Hammer / hanging man: lower shadow at least twice the body, little or no upper shadow. Called a hammer after a decline and a hanging man after an advance.
  • Inverted hammer / shooting star: the mirror image, a long upper shadow; inverted hammer in a downtrend, shooting star in an uptrend.
  • Spinning top: small body with both shadows longer than the body (indecision).
  • Marubozu: no shadows (here: each ≤ 2% of the range).
  • Engulfing: today's body completely covers yesterday's opposite-color body.
  • Harami: a small opposite-color body inside yesterday's body; a doji inside is a harami cross.
  • Piercing line / dark cloud cover: opens beyond yesterday's close, then closes past the midpoint of yesterday's body.

Example: a bullish engulfing

After a slide, a stock opens at $52.00 and closes at $49.00 (red). The next day it opens at $48.50, trades between $48.20 and $53.00 and closes at $52.60 (green). The green body ($48.50–$52.60) covers the red one ($49.00–$52.00), so this is a bullish engulfing. The green body is 4.10 of a 4.80 range, about 85.4%.

Candlestick patterns cheat sheet

  • Bullish reversal (after a decline): hammer, inverted hammer, bullish engulfing, piercing line, bullish harami, dragonfly doji.
  • Bearish reversal (after an advance): hanging man, shooting star, bearish engulfing, dark cloud cover, bearish harami.
  • Indecision: doji, spinning top.

Limits you should know

  • Context matters: the same shape is a hammer in a downtrend and a hanging man in an uptrend, which is why you choose the trend above.
  • Confirmation: StockCharts notes most reversal patterns need confirmation, such as a gap, a long candle or high-volume move in the next 1–3 sessions.
  • Thresholds vary: "small body" and "near the high" have no single official number, so different platforms can label the same candle differently.
  • Patterns describe probabilities, not certainties. This page is educational and is not investment advice.

Related tools

Track a position with the stock gain/loss calculator or check valuation with the P/E ratio calculator.

Sources

Last checked: 2026-10-29

Frequently Asked Questions

What is the most reliable candlestick pattern?
No pattern works every time. Reversal patterns such as engulfing or hammer are considered more meaningful when they appear after a clear trend and are confirmed by the next sessions.
What is the difference between a hammer and a hanging man?
They have the same shape: a small body near the top and a long lower shadow at least twice the body. After a decline it is a hammer (bullish); after an advance it is a hanging man (bearish warning).
What does a doji candle mean?
The open and close are virtually equal, showing that buyers and sellers ended the session in balance. It often signals indecision rather than a direction.
What is a bullish engulfing pattern?
A green (up) candle whose body completely covers the previous red (down) candle's body, appearing after a decline. Only the bodies need to be engulfed, not the shadows.
Do candlestick patterns work for crypto and forex?
The same open, high, low and close logic applies to any market with price bars, but 24-hour markets have fewer gaps, so gap-based rules apply less often.

Bookmarks