Skip to main content
CandlesticksElementary

Doji Candlestick Patterns: Types and How to Trade Them

JustWolves is an educational platform and is not a SEBI-registered investment advisor. Trading financial instruments involves significant risk of loss and may not be suitable for all investors. Past performance is not indicative of future results. Read our full disclaimer →

What you'll learn

  • A doji opens and closes at or very near the same price, leaving almost no body
  • It shows indecision: neither buyers nor sellers held control by the close
  • Main types: standard, long-legged, dragonfly and gravestone
  • A doji after a strong move at a key level can warn of a pause or reversal; mid-range it means little
  • Wait for the next candle to confirm direction before acting

The doji is one of the most recognisable candles on any chart: a cross or plus sign with almost no body. It records a period where price moved around but closed almost exactly where it opened. This lesson covers the main types of doji, what they suggest, and why a doji is a reason to pay attention rather than a reason to trade on its own.

What You Will Learn

  • What makes a candle a doji
  • The four main doji types
  • When a doji matters and when it doesn't
  • How to trade a doji with confirmation

Before You Start

What a Doji Is

A doji is a candle whose open and close are equal or very nearly equal, so the body is a thin line. Exact equality is rare, so traders usually treat a candle as a doji when the body is a very small share of the full range, often under about 5–10%.

The message is indecision: during the period, price moved up and down, but by the close neither side had made progress.

Infographic: the four doji types (standard, long-legged, dragonfly and gravestone) with their shapes, and two results: 49% of daily dojis were followed by a lower close five days later against 50% for all days, and 44% of dojis after a strong rally to a 20-day high.
A doji shows indecision; the next candle decides what it meant.

Four Types of Doji

Four doji candles: a standard doji with short wicks, a long-legged doji with long wicks on both sides, a dragonfly doji with its body at the top and a long lower wick, and a gravestone doji with its body at the bottom and a long upper wick.
In each, open and close are almost equal. Schematic.
What each suggests
TypeShapeCommon reading
Standard dojiTiny body, short wicksA pause; little information on its own
Long-legged dojiTiny body, long wicks both sidesStrong indecision after a wide two-way fight
Dragonfly dojiBody at the top, long lower wickSellers pushed down, buyers recovered fully; leans bullish at support
Gravestone dojiBody at the bottom, long upper wickBuyers pushed up, sellers took it all back; leans bearish at resistance

When a Doji Matters

A doji in the middle of a sideways range is common and usually meaningless: indecision is already the market's state. A doji gets attention when it interrupts something, such as a strong trend or a fast move into a key level.

After several large green candles into resistance, a doji shows that the buying pressure didn't carry through that period. That's a warning to protect profits or watch for a reversal, not a confirmed turn.

Trading a Doji

Doji at resistance (bearish idea)

  1. Step 1: Context

    A rally into a marked resistance level or supply zone.

  2. Step 2: The doji

    Forms at the level, ideally a gravestone or long-legged doji.

  3. Step 3: Confirmation

    The next candle closes below the doji's low.

  4. Step 4: Entry and stop

    Enter on that close; stop above the doji's high.

  5. Step 5: Target

    The next support level; check the reward is worth the risk.

Real Case: A Gravestone Doji at a High

The chart below uses real daily candles for Hindustan Unilever from October 2025. Step through it to see a textbook gravestone doji at a 20-day high, its confirmation, and why the confirmed signal still failed this course's reward-to-risk test.

Real case: a gravestone doji at a 20-day high, Hindustan Unilever, October 2025

Hindustan Unilever · 1DHistorical data

2448.92502.52556.02609.62663.11Oct8Oct14Oct20Oct27Oct31Oct

Step 1 of 5

A rally to a 20-day high

Hindustan Unilever rallies from 2,482 on 14 October 2025 to 2,625 by 20 October, a 20-day high.

What to observe
A strong move into new highs.
Condition
A doji here would be worth noticing.
Real NSE price data. Educational, not a trading signal. Historical market data: Hindustan Unilever daily candles on NSE, 1 Oct – 4 Nov 2025; axis labels are trading dates. Not live prices. Educational only, not a trade recommendation.

What Comes After a Doji

A doji is often one part of a larger pattern. After a strong decline, a large red candle, a doji and then a large green candle form a morning star, covered in the three-candle module. The doji is the moment of balance between the two moves.

In practice, the candle after the doji carries most of the information. A close beyond the doji's high or low shows which side resolved the indecision. A second doji, or a small candle inside the doji's range, means the balance continues, and many traders simply wait.

Timeframe also matters. Daily dojis on liquid stocks and indices summarise a full session of two-way trading. On a 1-minute chart, dojis appear constantly in quiet periods and carry very little meaning.

What Do Dojis Predict? Our Test

JustWolves tested dojis on about two years of real daily candles for 20 large NSE stocks, NIFTY 50, four currency pairs and gold, and on six months of hourly candles for the five markets. A doji had a body no larger than 10% of its range, with a range of at least 0.7 of the average candle.

Dojis and what followed (JustWolves study)
CaseDaily: casesDaily: lower 5 candles laterHourly: casesHourly: lower 5 candles later
Any doji72949%71347%
All candles (baseline)about 12,00050%about 15,00050%
Doji after a 2-ATR rally to a 20-candle high4144%2952%
Same, confirmed by a close below the doji low1155%580%
Costs excluded. The confirmed samples are far too small to rely on.

Dojis on their own told us nothing about direction: they were followed by lower prices about as often as any other candle. Even dojis after strong rallies to new highs, the classic reversal warning, were not followed by lower prices more often than chance in the daily data.

The confirmed cases look better, but there were only 11 daily and 5 hourly examples, far too few to draw conclusions. That supports this lesson's core message: a doji is a question, not an answer. Treat it as a reason to tighten stops or pay attention, and require the next candle to confirm before acting.

Practical Example

Hypothetically, a metals stock rallies from ₹560 to ₹618 in five sessions into resistance at ₹615–₹622. The sixth session opens at ₹617, trades up to ₹626 and down to ₹610, and closes at ₹617.50: a long-legged doji at resistance.

The next day closes at ₹606, below the doji's low of ₹610. Farhan shorts stock futures at ₹606 with a stop at ₹628, above the doji's high, targeting support at ₹570: ₹22 of risk for ₹36 of reward.

Measuring a Doji Precisely

Exact equality of open and close is rare, so define a doji by proportion. Using the Hindustan Unilever candle above (open 2,601.0, high 2,667.2, low 2,596.1, close 2,601.6):

Is it a doji?
MeasureCalculationResult
Range2,667.2 − 2,596.171.1
Body2,601.6 − 2,601.00.6 (under 1% of range)
Upper wick2,667.2 − 2,601.665.6 (92% of range)
Lower wick2,601.0 − 2,596.14.9
A body under 10% of the range with almost all the range above it: a gravestone doji.

Write your own threshold down, such as "body no more than 10% of the range", and apply it the same way every time. Without a definition, almost any small candle can be called a doji after the fact.

Common Mistakes

  • Trading every doji, including those mid-range.
  • Acting before confirmation.
  • Assuming a doji means reversal; it means indecision.
  • Stops inside the doji's range.
  • Ignoring the trend: a doji in a strong trend often leads to continuation.

Professional Insight

Many experienced traders use a doji mainly as a management signal: tighten a stop, take partial profit, or wait before adding. They tend to reserve new counter-trend trades for dojis that form at strong levels and are confirmed by the next candle.

Risk Considerations

  • Dojis are common; most lead nowhere in particular.
  • Long-legged dojis produce wide stops.
  • Gaps can open beyond the doji's range.

Important Terminology

Terms used in this lesson
TermMeaning
DojiA candle with open and close nearly equal.
Long-legged dojiA doji with long wicks on both sides.
Dragonfly dojiA doji with a long lower wick and no upper wick.
Gravestone dojiA doji with a long upper wick and no lower wick.
ConfirmationA following candle that closes in the expected direction.
What does a doji candle mean?

Indecision: price moved during the period but closed almost where it opened.

Is a doji bullish or bearish?

Neither on its own. Its meaning depends on where it forms and what the next candle does.

What is a dragonfly doji?

A doji with a long lower wick and its open and close at the high, showing sellers' push was fully reversed.

What is a gravestone doji?

A doji with a long upper wick and its open and close at the low, showing buyers' push was fully reversed.

How do I trade a doji?

Only at key levels after a strong move, and only after the next candle confirms direction, with a stop beyond the doji.

Is a doji a reversal signal?

Not on its own. In our study of real daily data, dojis were followed by lower prices five days later 49% of the time, the same as any candle, and dojis after strong rallies to new highs only 44% of the time. A doji shows indecision; the next candle decides what it meant.

Practical Exercise

Find ten dojis.

Your task

  1. Step 1: Find ten dojis

    Five at marked levels after strong moves, five in the middle of ranges.

  2. Step 2: Classify

    Standard, long-legged, dragonfly or gravestone.

  3. Step 3: Check confirmation

    What did the next candle do?

  4. Step 4: Compare groups

    Which group led to clearer moves in your sample?

Check Your Understanding

Question 1 of 5

A doji has:

#doji candlestick#doji candle#dragonfly doji#gravestone doji#long-legged doji#candlestick patterns#indecision candle
Up nextHammer and Hanging Man Candlestick Patterns