Doji candle: what it is, the types, and how to spot one
By Bec, futures trader and founder of Wildflower · Updated
A doji is a One bar on a price chart. It shows where price opened and closed, and the highest and lowest it reached, in one stretch of time.More in the glossary that opens and closes at, or very close to, the same price, so its The thick part of a candle, between its open and its close.More in the glossary is just a thin line. Its The thin lines above and below a candle’s body. Their tips are the highest and lowest prices in that candle.More in the glossary can be any length. The named kinds are the long-legged, dragonfly, gravestone and four-price doji.
What a doji is, and why it’s called that
A A candle that closes at, or very close to, the price it opened at, so it has almost no body.More in the glossary is a single candle whose close is the same as its open, or very nearly. Price may have moved a long way up and down during the candle, but it finished where it started. So the body, the thick part between open and close, almost disappears.
“Doji” is Japanese for “at the same time”: the open and the close happen at the same price. Candlestick charts come from Japan, and Steve Nison brought the names to Western traders in his 1991 book Japanese Candlestick Charting Techniques.
Traders often describe a doji as indecision: buyers and sellers pushed price around, and neither side ended up ahead. That’s a description of one candle. It isn’t a signal on its own.
How to spot a doji, step by step
1. Measure the whole candle
From the high to the low: 108 − 105 = 3 points. That’s the candle’s range.
2. Measure the body
From the open to the close: 106.25 to 106.50 = 0.25.
3. Compare the two
0.25 ÷ 3 = 0.08. The body is less than a tenth of the range.
4. Name it
By the rule on this page, that’s small enough. This candle is a doji.
How close counts as “very close” has no fixed answer. A strict reading needs the open and close to be exactly equal. Many traders allow a small body, measured as a share of the whole candle. On this page the pictures use “a body no bigger than a tenth of the range”. The share is your choice.
Comparing the body with the range, not counting ticks, keeps the rule fair across markets and How much time each candle covers, such as 1 minute or 1 hour.More in the glossary. A 0.25 body is tiny on a candle 3 points tall and large on one 0.50 tall.
The four types of doji
Long-legged doji. Long wicks above and below, with the body near the middle. Price travelled a long way both ways and came back.
Dragonfly doji. The open, close and high are the same, with a long lower wick. Price fell during the candle and came all the way back up. The shape looks like a T.
Gravestone doji. The open, close and low are the same, with a long upper wick. Price rose and came all the way back down. The shape looks like an upside-down T.
Four-price doji. Open, high, low and close are all the same price, so the candle is a flat dash. It only shows when price didn’t move at all during the candle, such as a very quiet minute.
A doji with short wicks on both sides has no special name. Some traders just call it a doji, or a standard doji.
What counts, and what doesn’t
The body has to be small next to the wicks. A candle with a body a quarter of its range is a A candle with a small body and wicks on both sides. Its body is bigger than a doji’s.More in the glossary: a small body with wicks on both sides. Some traders treat it as a close cousin of the doji. By the rule on this page, it isn’t one.
A tiny candle isn’t automatically a doji. A candle 0.75 tall with a 0.25 body has a small body, but it’s a third of the candle. What matters is the share, not the size.
Colour doesn’t decide it. A doji can close a tick above or below its open. Green or red, it’s the same pattern.
The candle has to close. A doji halfway through a candle can end as a big green or red one.
Timeframe changes it. A 15-minute doji is made of fifteen 1-minute candles that can look nothing like it.
What can happen after a doji
Both of these happen. A doji shows that one candle ended where it began. It doesn’t tell you which way the next one goes.
Traders who use doji describe a few habits. Some mark the doji’s high and low and watch which one price trades past first, sometimes called a doji break. Some give more weight to a doji after a long run up or down, and less to one in a quiet, sideways market, where doji are everywhere. Some wait for the next candle to close before reading anything into it. Each of these is a choice, not a rule.
A doji is also the middle candle of some longer patterns, such as the morning star and evening star. Read about the morning star.
Often confused with
Spinning top. A small body with wicks on both sides, but more body than a doji. Where one ends and the other starts is your rule.
Hammer and shooting star. A small body at one end of the candle with one long wick. A A doji whose open, close and high are the same price, with a long lower wick. It looks like a T.More in the glossary looks like a hammer with no body, and a A doji whose open, close and low are the same price, with a long upper wick. It looks like an upside-down T.More in the glossary like a shooting star with no body. Read about pin bars, hammers and shooting stars.
Inside bar. A candle whose high and low fit inside the candle before it. It’s about the whole candle’s range, not the body. A doji can be an inside bar, but most inside bars aren’t doji. Read about inside bars.
Narrow range candle. The candle with the smallest range out of the last few. A doji can have a wide range, as long as its body is small. Read about narrow range bars.
A doji indicator for TradingView
Mark your own candle rules on a chart
Wildflower’s Indicator marks things on a chart from rules you describe in plain words, with every number typed by you. The candle patterns it can mark are inside bars, outside bars, engulfing candles and the narrowest candle of a stretch. A doji isn’t one of its building blocks, and neither is a rule on the body’s share of the range. If you describe one, it tells you plainly. Everything it can build, you can check on a chart for free, then add to TradingView with a step-by-step guide.

Free to build
Common questions
What is a doji candle?
A candle whose open and close are the same, or very nearly, so its body is a thin line. Its wicks can be any length.
What does a doji mean?
That price ended the candle where it started. Traders often call it indecision. It doesn’t say what price does next.
Is a doji bullish or bearish?
Neither on its own. A dragonfly doji is often given a Rising, or expecting a rise. A bullish candle closed higher than it opened.More in the glossary name and a gravestone doji a Falling, or expecting a fall. A bearish candle closed lower than it opened.More in the glossary one, but those names describe the shape.
How small does a doji’s body have to be?
There’s no fixed number. Some traders need the open and close to be equal, and some allow a small share of the range. The share is your choice.
What is a dragonfly doji?
A doji whose open, close and high are the same, with a long lower wick.
What is a gravestone doji?
A doji whose open, close and low are the same, with a long upper wick.
What’s the difference between a doji and a spinning top?
Both have small bodies and wicks on both sides. A doji’s body is smaller, close to nothing.
Does a doji have to be red or green?
No. It can close a tick above or below its open. The colour doesn’t change the name.
Can Wildflower’s Indicator mark doji candles?
No. Its candle patterns are inside bars, outside bars, engulfing candles and the narrowest candle of a stretch. See the Indicator.
Learn it step by step in Wildflower Trading School, starting with the lesson “Long-legged, dragonfly, gravestone and four-price doji”.