Doji

A doji is a candlestick whose open and close are equal or very close; it records little net change but does not by itself predict a reversal.

A doji is a candlestick whose open and close are equal or very close relative to its full high-low range. It records little net movement from the beginning to the end of the selected period, even though price may have moved substantially within that period.

Doji candles are often described as indecision or balance between buyers and sellers. That is an interpretation, not an observable fact about participants. The candle proves only the recorded OHLC relationship; its significance depends on the prior trend, range, location, liquidity, session, and subsequent price behavior.

Key Takeaways

  • A doji has a very small real body because its open and close are equal or nearly equal.
  • There is no universal numerical tolerance for “nearly equal”; the rule should be defined before testing.
  • Shadow length and location distinguish standard, long-legged, dragonfly, and gravestone variants.
  • A doji can appear during a trend, range, opening gap, event, or illiquid session without causing a reversal.
  • Candle color has little meaning when the open-close difference is negligible.
  • Confirmation is a separate rule, not an automatic property of the doji.
  • Data source, tick size, timeframe, and session boundaries can change whether a candle qualifies.

Doji Geometry

For open (O), high (H), low (L), and close (C):

  • real-body size is absolute value of (C - O);
  • full range is H - L; and
  • relative body size is absolute value of (C - O) / (H - L) when the range is positive.

An analyst might define a doji as a candle whose body is no more than a stated percentage of its range. That percentage is a research choice, not a universal market standard. A minimum range or volume rule may also be needed so a nearly unchanged, barely traded period is not mistaken for a meaningful pattern.

FeatureWhat to recordWhy it matters
Open-close differenceAbsolute and relative body sizeDetermines whether the candle meets the chosen doji tolerance
Upper shadowHigh minus the body’s upper edgeDistinguishes upper-range excursions
Lower shadowBody’s lower edge minus the lowDistinguishes lower-range excursions
Full rangeHigh minus lowProvides scale for the small body
Tick sizeMinimum permitted price incrementCan make exact open-close equality more common in some instruments
Volume and tradesActivity during the periodHelps identify sparse or unrepresentative candles

Worked Example

Assume a daily candle has:

OHLC fieldPrice
Open$50.00
High$52.00
Low$48.00
Close$50.05

The body is $0.05, and the full range is $4.00. The relative body size is:

$0.05 / $4.00 = 1.25%.

If the analyst’s pre-defined doji rule allows a body up to 5% of the full range, this candle qualifies. If the rule requires the open and close to be exactly equal, it does not.

The OHLC data do not reveal whether the high occurred before the low, whether one large trade set an extreme, or which participant group was more informed. Intraday data would be needed to reconstruct more of the path.

Main Doji Variants

VariantTypical shapeCommon interpretationRequired caution
Standard dojiSmall body with upper and lower shadowsLittle net open-to-close changeCan be ordinary noise in a quiet market
Long-Legged DojiSmall body with long shadows on both sidesLarge intraperiod movement but little net changeDoes not reveal the order of the high and low
Dragonfly dojiOpen and close near the high with a long lower shadowPossible recovery from lower pricesSimilar shape can fail or occur without a prior decline
Gravestone DojiOpen and close near the low with a long upper shadowPossible failure to retain higher pricesNot inherently bearish outside trend and location context

Names summarize geometry; they do not assign a fixed probability or trade action.

Context Changes the Interpretation

After an Advance

A doji after a sustained rise can flag that upward progress paused. It does not prove that the trend ended. A later break below a pre-defined level may be used as confirmation, but the exact level and execution rule must be stated.

After a Decline

A doji after a sustained decline can flag reduced net downward progress. The market can still continue lower, gap through the candle, or remain range-bound.

Inside a Trading Range

Doji candles are often less distinctive in a narrow, two-sided range because many periods already close near where they opened. Comparing the candle with recent ranges and the frequency of similar candles can prevent overinterpretation.

Around an Event or Thin Session

An earnings announcement, policy decision, holiday session, trading halt, or sparse market can produce unusual OHLC geometry. Event timing, volume, spreads, and whether the information arrived before or after the close should be checked.

What Confirmation Means

“Wait for confirmation” is incomplete unless the confirmation rule is measurable. Possible rules include:

  • next close above or below the doji range;
  • break of a nearby support or resistance level;
  • minimum move measured in volatility units;
  • volume exceeding a stated threshold; or
  • persistence for a defined number of periods.

Each choice changes entry timing, false-signal frequency, and potential loss. A confirmation candle does not make the outcome certain; it is another historical observation.

How to Evaluate a Doji

  1. Verify the instrument, venue, timeframe, session, and OHLC data source.
  2. Define the body-to-range tolerance before viewing later prices.
  3. Exclude or separately flag zero-range, low-volume, and stale-price candles.
  4. Establish the prior trend and nearby support or resistance.
  5. Compare the candle’s range with recent volatility.
  6. State any confirmation, entry, invalidation, and exit rule.
  7. Include gaps, spreads, fees, and realistic execution timing.
  8. Evaluate all qualifying doji candles, including continuations and failed reversals.

Risks and Common Mistakes

  • Treating every near-equal open and close as meaningful indecision.
  • Claiming buyers and sellers had equal strength without order-flow evidence.
  • Using an undefined visual tolerance for the real body.
  • Ignoring that exact equality can reflect tick size or illiquidity.
  • Calling a doji a reversal without a prior trend.
  • Defining confirmation only after seeing the next move.
  • Assuming daily candles from different chart providers use identical sessions.
  • Entering at the doji close in a backtest even though the final close was not yet known.

Quick Knowledge Check

Loading quiz…

Public Source Checks

  • Candlestick: The OHLC chart mark of which a doji is one geometric form.
  • Gravestone Doji: A doji variant with a long upper shadow and little lower shadow.
  • Hammer: A small-body, long-lower-shadow candle interpreted after a decline.
  • Technical Analysis: The broader discipline for defining and testing price and market-activity rules.
  • Trading Volume: Activity data used to place a candle in market context.

FAQs

Does a doji always signal a reversal?

No. It records little open-to-close change. The existing trend can reverse, continue, or move sideways afterward.

Must the open and close be exactly equal?

Not under every definition. Many analysts allow a small difference relative to the candle’s range or price, but the tolerance should be stated and applied consistently.

Is a doji bullish or bearish?

Not inherently. Its interpretation depends on the prior trend, shadow structure, location, confirmation rule, and later price movement.

This article provides general chart-reading education, not a market forecast, trading signal, or personalized investment advice.

Browse Trading