Chart Patterns

Doji Candlestick: What It Means and How to Trade It

A doji is a candle whose open and close are almost equal - a sign of indecision. Learn the types of doji, why context matters, and how to trade it with confirmation.

By AlgoXP2 min readUpdated

Schematic doji candle after a rise, highlighted, followed by a falling confirmation candle

A doji is a candle whose open and close are virtually equal, so the real body is a thin line. It shows indecision: during the period, buyers and sellers both moved the price, but neither won by the close.

On its own a doji is neutral. Its meaning comes from where it appears: after a strong move it can warn that momentum is stalling; in a sideways market it says almost nothing.

Types of doji

Type Shape Typical reading
Standard doji Small cross, shadows on both sides Indecision
Long-legged doji Long upper and lower shadows Strong indecision, volatile session
Dragonfly doji Open ≈ high ≈ close, long lower shadow Rejection of lower prices; bullish if after a decline
Gravestone doji Open ≈ low ≈ close, long upper shadow Rejection of higher prices; bearish if after a rise

Trading plan

A doji is not a signal by itself. A practical approach:

  1. A doji appears after a strong move or at a key support/resistance level.
  2. Wait for confirmation: the next candle closes beyond the doji’s range in the opposite direction of the prior move.
  3. Entry after the confirming close; stop beyond the doji’s extreme; target at the next level or a fixed multiple of risk.

Worked example

EUR/USD rallies for five consecutive H4 candles to 1.0950. Then a doji forms: open 1.0942, high 1.0960, low 1.0925, close 1.0943. The next candle closes at 1.0918, below the doji’s low.

  • Short entry: 1.0918.
  • Stop above the doji high: 1.0962 → risk 44 pips.
  • Target: prior support at 1.0850 → reward 68 pips (1.5 : 1).

Without the confirming candle, the same doji could simply have been a pause before another leg up.

Common mistakes

  • Treating every doji as a reversal. In ranges they appear constantly.
  • No confirmation. The candle after the doji decides the direction.
  • Ignoring timeframe. A doji on a 1-minute chart means very little compared with one on a daily chart at a major level.

In algorithms

Define a doji with a tolerance: |close − open| ≤ 0.1 × (high − low). Combine it with a context condition (for example, the previous N candles moved strongly in one direction, or price is at a pre-computed support/resistance zone) and a confirmation bar. Measure whether the doji adds value over the context filter alone - often the filter does most of the work.

FAQ

Is a doji bullish or bearish?

Neither by itself. It shows indecision; the preceding trend, the location and the next candle determine how traders read it.

How small must the body be?

There is no universal rule. A common practical definition is a body no larger than about 10% of the candle’s full range.

Sources and further reading

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