Doji
- Category
- Technical Analysis
- Level
- Foundation
Simple definition
A candle whose open and close are almost the same, so it has practically no body. It records a period that went nowhere.
Professional definition
A candle with a negligible body relative to its range: open and close finished at effectively one price, while the wicks show how far trading reached either side. Conventionally read as indecision, and named by shape — long-legged, dragonfly, gravestone, four-price.
Technical definition
Doji is a threshold, not an observation: negligible body has to be defined as a fraction of the bar's range or of recent average range, and that fraction decides how many doji a dataset contains. In a continuously traded market each open sits at the previous close, so small bodies occur far more often than in a session market where the open can gap, which inflates doji counts with no change in behaviour.
Academic definition
A single-interval candlestick in which opening and closing prices coincide within a specified tolerance, so the directional result is approximately zero while intra-interval range is not.
Mechanism
The body measures net result and the wicks measure rejected excursion. When the body vanishes, the interval ended where it began although price travelled, which says neither side held the ground it took. That is informative only against context: the same shape after a long advance and inside a quiet range describe different situations, and the shape alone cannot separate them.
In practice
- Who uses it
- Candlestick readers looking for exhaustion in a move, and system developers who need a numerical definition of indecision.
- Why it matters
- It flags an interval that produced range but no net result, which is a cheap and computable filter on bar character.
- Limitations
- The threshold is arbitrary, the reading depends on the preceding trend, and in 24/7 markets small bodies are common enough that a doji alone carries little information.
Common mistakes
- Trading a doji with no reference to the move before it.
- Using an absolute body size instead of one scaled to range.
- Counting doji on a 24/7 chart as if they were session-market doji.
Examples
A long advance ends with a candle that opens and closes at nearly one price after a wide swing both ways. The same candle inside a flat range two weeks earlier meant nothing. Identical geometry, different context.
A candle opens at 100 and closes at 100.1, with a high of 104 and a low of 96. Its body is 1.25% of the range: a doji under a five-per-cent rule, not a doji under a one-per-cent rule.
- open = 100
- close = 100.1
- high = 104
- low = 96
- rule A: body <= 5% of range
- rule B: body <= 1% of range
- body = |100.1 - 100| = 0.1
- range = 104 - 96 = 8
- body / range = 0.1 / 8 = 1.25%
- 1.25% <= 5%, so rule A labels it a doji
- 1.25% > 1%, so rule B does not
Any statistic about doji is a statistic about the rule used to find them, not about a natural category of candle.
Related terminology
- parent
- Candlestick
- related
- Candlestick Hammer and Shooting Star Engulfing Pattern Overbought and Oversold Timeframe Chart Types
Hammer and Shooting Star
Both have small bodies. A doji has open and close together with wicks on both sides; a hammer or shooting star has one dominant wick and the body pushed to one end of the range.
Sources
Prentice Hall Press · 2001 · chapter on single candle lines, on doji
Print source
New York Institute of Finance · 1999 · chapter on Japanese candlesticks
Print source
CMT Association · review of candlestick-pattern evidence and detection methodology
https://cmtassociation.org/wp-content/uploads/2019/01/Technical-Analysis-Modern-Perspectives-CMT-Association.pdf URL verified
Editorial status
Flagged by the editor as uncertain on a linguistic, mathematical or regulatory point.
