Get 20% off all challenges

Doji Candle: Meaning, Types and How to Trade It

Doji candle meaning explained: standard, long-legged, dragonfly, gravestone and four-price doji, doji vs spinning top, test results and a worked trade example.

Gianluca Pizzituti••14 min read
Share article
Doji Candle: Meaning, Types and How to Trade It

One account, every market we offer

Explore all markets

A doji candle is a candlestick whose open and close are at, or almost at, the same price, so the body shrinks to a thin horizontal line. The doji candle tells you one thing: by the end of the session, neither buyers nor sellers had won. Everything else a trader reads into it comes from where it appears and what the next candle does.

That is why the doji is easy to spot and easy to misuse. This guide covers the anatomy of a doji, the exact criteria for calling one, the five main types, how the doji differs from a spinning top, what independent testing says about its reliability, and a full worked trade with entry, stop and target.

Quick answer: A doji candle forms when the open and close of a period are equal or nearly equal, leaving almost no body between the wicks. The doji meaning is indecision: after a strong trend, a doji can warn that momentum is fading, but it only becomes a reversal signal when the next candle closes in the opposite direction of the trend.

Highlights of this article

  • A doji has an open and close so close together that the body is a line; the wicks can be any length
  • The five types are the standard, long-legged, dragonfly, gravestone and four-price doji
  • A doji is a signal of balance, not direction; the next candle decides what it meant
  • Thomas Bulkowski's tests put most doji types close to a coin flip, between 50% and 52% reversal or continuation
  • Trade a doji only after a clear move, at a level, with the stop beyond the doji's far wick

What does a doji candle look like?

Every candle records four prices: open, high, low and close. On a normal candle the open and close sit apart and form a body. On a doji they sit on top of each other, so you see a cross, a plus sign or a T shape. Steve Nison, who introduced candlestick charting to Western traders, describes the doji as a session where the market could not decide, and treats it as one of the most important single candles because of that.

DojiA candle whose open and close are almost equal, with wicks on both sides: neither buyers nor sellers won the session.102.00103.00104.00105.00Doji
Doji. A doji signals indecision, not direction. After a strong move it can warn the move is tiring; confirmation comes from the next candles. Illustrative prices.

The wicks carry the story. Short wicks mean a quiet session that went nowhere. Long wicks mean price travelled a long way in both directions and still finished where it started, which is a louder kind of indecision.

How small does the body have to be?

There is no universal rule, and this is where traders and scanners disagree. Nison allows a very small body rather than demanding zero, because on most markets an exact match of open and close is rare. A practical rule of thumb many traders use: the body should be no more than about 5% to 10% of the candle's full range (high minus low). Bulkowski's own definition on ThePatternSite is that open and close are "within pennies" of each other.

Measure Doji Not a doji
Body vs total range Roughly 10% or less Above roughly 10%
Open vs close Equal or a few ticks apart Clearly separated
Wicks Any length, one or both sides Any length
Colour Irrelevant Matters more on larger bodies

Pick one threshold, write it down and apply it the same way every time. A definition that changes from chart to chart makes your backtesting worthless.

Thinking about trading dojis in a prop firm evaluation? Before you do, read how a static maximum drawdown works and how the top prop firms compare.

The 5 types of doji candle

Each doji type is named for where the open and close sit inside the range. The location of that thin body tells you which side lost ground during the session.

Doji type Shape What happened in the session Where it matters most
Standard doji Small cross, short wicks Little movement, no winner After an extended move
Long-legged doji Long wicks both sides Big swings both ways, finished level At highs after a rally
Dragonfly doji T shape, long lower wick, no upper wick Sellers drove price down, buyers pulled it back to the open After a decline, at support
Gravestone doji Inverted T, long upper wick, no lower wick Buyers drove price up, sellers pushed it back to the open After a rally, at resistance
Four-price doji A flat dash Open, high, low and close all equal Illiquid or halted markets

Standard doji

The standard doji is the plain cross. On its own it says the session was balanced. It earns attention only after a run of long candles in one direction, where a sudden pause stands out.

Long-legged doji

The long-legged doji has long wicks on both sides. Price tested far above and far below the open and was rejected each time. After a strong rally, that is a sign buyers can no longer hold their gains through a session.

Dragonfly doji

The dragonfly doji opens, falls hard, then recovers to close at or near the open and the high. After a decline it reads like a hammer with no body (see the hammer candlestick guide). At a top, the same shape is a warning that sellers were able to push price sharply lower during the session.

Gravestone doji

The gravestone doji is the mirror: price rallies, fails, and closes back at the low near the open. After an uptrend it carries the same message as a shooting star candlestick, only with a body too thin to measure.

Four-price doji

A four-price doji is a flat line: open, high, low and close are all equal. It appears on illiquid or limit-locked markets and reflects a lack of trading, so most traders ignore it.

Doji vs spinning top: what is the difference?

A spinning top has a small but visible body with wicks on both sides. A doji has virtually no body. Both show indecision, and the doji is the more extreme version.

A spinning top still has a colour and a small net move: a red one after a rally shows sellers won the session, slightly. A doji shows a draw. In practice, if your body threshold is 10% of the range, anything between roughly 10% and 30% is a spinning top and anything below is a doji.

Why does a doji form? The psychology

A doji is the footprint of a market in balance. In an uptrend, buyers are in control and most candles close near their highs. When a doji appears, the session that opened with buyers in charge closed with nobody in charge. Buyers either ran out of new money or met enough supply to stall.

Nison makes a useful distinction: a doji after a rally is more meaningful than a doji after a decline. A market needs fresh buying to keep rising, so a stall at the top is a real warning. A falling market can keep falling on lack of buyers alone, so a doji at a low is weaker evidence of a turn and needs more confirmation.

How reliable is the doji? What the test data says

Thomas Bulkowski tested candlestick patterns on daily US stock data for his Encyclopedia of Candlestick Charts and publishes the results on ThePatternSite. His figures are blunt.

Doji type (Bulkowski) Tested behaviour Overall rank (of 103)
Long-legged doji Bullish continuation 51% of the time 37
Northern doji (doji in an uptrend) Bullish continuation 51% of the time 83
Southern doji (doji in a downtrend) Bullish reversal 52% of the time 78
Gravestone doji Bearish reversal 51% of the time 77
Dragonfly doji Reversal 50% of the time 98

Every figure is within a few points of 50%, and Bulkowski describes these results as close to random. A doji alone does not predict direction. It marks a moment worth watching; any edge comes from the level and the confirmation candle.

How to trade a doji candle step by step

  1. Demand a prior move. Look for at least five to seven candles of clear trend, or a sharp swing, into the doji.
  2. Demand a level. The doji should sit at support or resistance, a prior swing high or low, or a round number.
  3. Wait for confirmation. For a bearish read, the next candle must close below the doji's low. For a bullish read, above the doji's high. A close back inside the trend direction cancels the idea.
  4. Place the stop beyond the far wick. Above the doji's high for a short, below its low for a long, plus a small buffer for spread.
  5. Target the next level. Use the next support or resistance and check the reward is at least 1.5 times the risk with the risk to reward ratio.

Momentum tools help filter dojis. A doji with the RSI indicator above 70 or showing divergence after a rally has more behind it than a doji at a neutral reading.

Worked example: a long-legged doji on EUR/USD

The prices below are illustrative. EUR/USD rallies for six daily sessions into 1.1020, a level that capped price twice before. The next candle is a long-legged doji: open 1.1012, high 1.1048, low 1.0975, close 1.1013.

The following session closes at 1.0968, below the doji's low. That is the confirmation.

  • Entry: short at 1.0968 on the confirmation close
  • Stop: 1.1053, five pips above the doji's high, a risk of 85 pips
  • Target: 1.0840, the last swing low, a reward of 128 pips (about 1.5R)
  • Size: on a $50,000 account risking 0.5% ($250), $250 ÷ 85 pips is about $2.94 per pip, or roughly 0.29 standard lots

Long-legged dojis have long wicks, so the stop is wide. Size from the stop distance, not a fixed lot size.

A dark candlestick chart with small-bodied candles, a moving average line and volume bars
A doji at a level that capped price before is worth watching; a doji in open space is usually noise.

Doji examples across markets

Crypto. Bitcoin and other coins trade around the clock, so daily candles are cut at an arbitrary time (usually 00:00 UTC). A doji on a crypto daily chart depends on that cut. Check the 4-hour chart and the weekly candle before trusting it.

Forex. Major pairs print many small-bodied candles during the Asian session. A doji on an hourly chart at 03:00 UTC is often just a quiet hour. Daily dojis after a strong run carry more weight.

Stocks. Single stocks gap at the open, so a daily doji reflects the whole regular session. Dojis on earnings days or index rebalancing days are distorted by one-off flows.

Gold. Gold often prints long-legged dojis around US data releases, when price whips both ways inside one session. Those dojis show a volatile session more than a turn in the trend. See how to trade gold for its session patterns.

A monitor showing a candlestick chart with volume bars on a light background
Inside a sideways range most candles are small, so a doji there adds little information.

Common doji mistakes

  • Trading every doji. In a sideways range the market is already undecided, so a doji there adds nothing.
  • Shorting the doji close. Entering on the doji itself means betting on a coin flip. Wait for the next close.
  • Stops inside the wicks. A stop just past the body gets taken by normal noise. Use the far wick.
  • Ignoring timeframe. A 1-minute doji may come from one order. Daily and 4-hour dojis reflect far more participants.

Using the doji in a prop firm challenge

In a challenge, the doji is a reason to watch, and the confirmation candle is the reason to act. Velotrade runs simulated evaluations across crypto, forex, stocks, index ETFs and commodities, with no time limit and no consistency rule, so there is no pressure to trade a doji before it confirms.

Two limits shape the trade. The maximum drawdown is static: on a $50,000 CLASSIC 2-Step account with a 10% maximum drawdown, the floor sits at $45,000 and never moves. The daily loss limit is 5%, set at 00:30 UTC from the higher of your balance or equity. With $250 risk per trade, as in the example above, you would need 10 straight losses to hit the daily limit and 20 to reach the floor, which leaves room for a pattern that the data says is close to 50/50.

Wide doji stops mean smaller positions. Do not tighten the stop to fit a bigger size. For more on placing stops beyond structure, see the stop loss guide. Plan prices and rules are on the challenges page.

This article is educational and is not investment advice.

For the other single and multi-candle reversal signals, including how the doji fits next to the engulfing candle, see the full candlestick patterns guide.

Sources

Frequently Asked Questions

About the author

Gianluca Pizzituti

Gianluca Pizzituti

Chief Executive Officer

Formerly on the derivatives desk at Dresdner Kleinwort in London, then founded and ran a proprietary HFT firm in FX and equity indices out of Singapore.

Velotrade was founded in Hong Kong in 2016 by a team from JP Morgan, Dresdner Kleinwort and Bank of America, has paid out over $2.5 billion to its trade-finance clients, and has been featured in Bloomberg, the Financial Times, the Wall Street Journal and on Nasdaq. Its prop trading evaluations are simulated and educational.

View author page

Ready to trade with
$200,000 capital?

Up to 90% profit split

Keep most of what you earn

No consistency rule

News trading allowed

Payouts within 24 hours

Once approved