Doji Candlestick: Meaning, Types and How to Trade It
A doji forms when open and close are nearly equal, signaling a stalemate between buyers and sellers. Learn each variant, when it matters, and how to trade it with confirmation.
A doji candlestick is a candle whose open and close are virtually equal, leaving almost no real body and a cross, plus or dash shape. It means buyers and sellers fought to a draw. A doji is a sign of indecision, not a reversal on its own, and it matters most after a strong trend, at a key level, with confirmation from the next candle.
This article is educational only and not financial advice. Candlestick patterns fail often, past performance does not guarantee future results, and you should manage risk and do your own research.
Key takeaways
- A doji has an open and close within a hair of each other, so the body is tiny and the wicks tell the story.
- It signals that the prior momentum has stalled; it does not predict direction by itself.
- A doji is most meaningful after an extended trend and at support or resistance. In the middle of a range it is mostly noise.
- Wait for the next candle to confirm: a close beyond the doji's high (bullish) or low (bearish) before acting.
- The stop belongs on the other side of the doji, so the risk is known before you enter.
What is a doji candlestick?
Every candlestick records four prices: open, high, low and close. The real body is the rectangle between open and close. On a doji, those two prices are the same or within a few cents, so the body almost vanishes.
The wicks (shadows) show what happened in between. Buyers pushed price up, sellers pushed it back, or the reverse, and the session ended where it began. The doji's message is that the side that had control no longer does. Whether the pause becomes a reversal depends almost entirely on context.
What are the main types of doji?
Each doji variant shows a different flavor of indecision.
| Type | Shape | Typical reading |
|---|---|---|
| Standard doji | Cross with similar upper and lower wicks | Neutral stalemate |
| Long-legged doji | Very long wicks both sides | High volatility, strong indecision |
| Dragonfly doji | Long lower wick, no upper wick | Bullish lean after a decline |
| Gravestone doji | Long upper wick, no lower wick | Bearish lean after a rally |
| Four-price doji | Open, high, low and close identical | Rare; usually very thin trading |
Dragonfly and gravestone doji
The dragonfly doji opens, trades sharply lower, then recovers to close at the open near the high. Buyers absorbed the selling, which is why it is most meaningful after a decline or at support. It resembles a hammer with almost no body. See the dragonfly doji guide for detail.
The gravestone doji is the opposite. Price rallies, fails, and returns to the open near the low. After an advance or at resistance it suggests buyers ran out of steam, much like a shooting star.
Long-legged doji
The long-legged doji has long wicks on both sides. The market swung widely in both directions and ended unchanged. It is common before major news, such as earnings or central-bank decisions, and reflects uncertainty rather than direction.
When does a doji actually matter?
A doji is meaningful only when something precedes it and something surrounds it. Use this filter:
- A clear prior trend. A doji after five or more directional candles is a more notable pause than one in a sideways chop.
- A key level. Look for support, resistance, a prior high or low, or a rising moving average.
- Volume. Higher-than-usual volume on the doji suggests a real contest; low volume suggests nobody cared.
- Confirmation. The next candle should close in the direction you expect.
A doji in the middle of nowhere deserves little attention. A doji at a prior swing high after a strong run deserves a closer look.
How do you trade a doji?
Trade the confirmation, not the doji itself. A simple process:
- Identify the setup. For a bullish idea: a downtrend into support, then a doji. For a bearish one: an advance into resistance, then a doji.
- Wait for confirmation. The next candle closes above the doji's high (bullish) or below its low (bearish).
- Enter after that confirming close, or on the break of the doji's high or low.
- Place the stop beyond the doji's opposite extreme, with a small buffer.
- Set a target at the next support or resistance, aiming for at least 2:1 reward:risk.
Because StockSetups is long-only, bullish dojis at support are the setups it focuses on; bearish dojis are most useful as a warning to tighten stops on a position you already hold.
Worked example
All numbers are hypothetical. A stock falls from $48 to $41.50 over eight sessions and reaches a support area at $41. Today it prints a dragonfly doji: open $41.60, low $40.20, high $41.70, close $41.60. The next day closes at $42.50.
| Item | Value |
|---|---|
| Entry (after confirming close) | $42.60 |
| Stop (below the doji low $40.20) | $39.90 |
| Risk per share | $2.70 |
| Target 1 (gap-fill area) | $46.00 |
| Reward:risk to target 1 | about 1.3:1 |
| Target 2 (prior breakdown level) | $48.00 |
| Reward:risk to target 2 | about 2.0:1 |
Risking $150 allows 55 shares ($150 / $2.70). The reward:risk at the first target is thin, so a trader might scale out gradually rather than expect the whole move. If the stock closes below $40.20, the idea is wrong.
Doji vs similar candles
| Candle | Body | Key difference |
|---|---|---|
| Doji | Almost none | Open equals close |
| Spinning top | Small but visible | Real body present, long wicks |
| Hammer | Small, near top | Long lower wick, body is visible |
| Marubozu | Very large | The opposite: no wicks, total control |
A doji can also appear inside a larger pattern. The morning doji star uses a doji as the middle candle of a three-candle bullish reversal.
What does a doji look like on different timeframes?
The same shape means different things depending on the chart. On a daily chart, one doji represents a full session of buying and selling, so a stalemate there involved far more shares than a 5-minute doji. Weekly dojis are rarer and carry the most weight, because an entire week ended with no net progress.
A practical approach for swing traders: spot the doji on the daily chart, check the weekly chart to see whether the level matters on a larger scale, and use an intraday chart only to fine-tune the entry. If the daily and weekly pictures disagree, treat the signal as weaker.
How can you strengthen a doji signal?
A doji is a weak signal alone and a decent one when other evidence lines up. These are the pieces of confluence traders commonly look for:
- Support or resistance that has held at least twice before.
- A momentum reading such as RSI above 70 before a bearish doji or below 30 before a bullish one, which suggests the prior move was stretched.
- A moving average that the doji touches, such as the 50-day in an uptrend.
- Volume higher than the 50-day average, showing real participation in the stalemate.
- The wider market turning in the same direction.
The more of these that agree, the better the odds that the pause matters. Even then, nothing is guaranteed and the stop stays in place.
Common mistakes
- Treating every doji as a reversal. Many dojis are followed by continuation of the old trend.
- Skipping confirmation. Without it, you are guessing which side wins.
- Ignoring location. A doji away from support or resistance has little meaning.
- Stops too tight. Long-legged dojis have wide ranges; size the position to the stop, not the other way around.
- Ignoring the timeframe. A doji on a daily chart carries more weight than one on a 5-minute chart.
The bottom line
A doji marks a pause, and pauses matter when they interrupt a strong trend at a meaningful level. Treat it as a prompt to look closer, wait for the next candle, and risk only a small, defined amount.
StockSetups detects doji and other candlestick patterns across roughly 12,300 US stocks and ETFs after the close, and uses them to confirm chart-pattern setups rather than as standalone signals. You still decide whether a setup fits your plan.
For context on the wider family, see the candlestick patterns guide and support and resistance.
Frequently asked questions
Is a doji bullish or bearish?
Neither on its own. A doji shows indecision. Its meaning depends on the preceding trend, the location and the next candle, and a dragonfly leans bullish while a gravestone leans bearish.
How reliable is a doji as a reversal signal?
Not very on its own. Dojis often precede trend continuation. They are more useful at key levels after extended moves and when the next candle confirms a direction.
What is the difference between a doji and a spinning top?
A doji has almost no real body because open and close are nearly equal. A spinning top has a small but visible body with wicks on both sides.
Which timeframe is best for doji patterns?
Daily and weekly charts carry more weight because more trading volume and time sit behind each candle. On intraday charts dojis form frequently and are far less meaningful.
Where should I put my stop on a doji trade?
Just beyond the opposite end of the doji: below its low for a long, above its high for a short. If price trades there, the signal has failed.
Sources & further reading
- Steve Nison, Japanese Candlestick Charting Techniques (1991)
Try it free
Produced with AI assistance and published under the StockSetups editorial guidelines.
Get daily signals & real-time alerts.
StockSetups scans ~12,300 US stocks & ETFs after every close and sorts every long setup into four ranked lanes — each with a trade plan — plus an always-on engine firing 35+ real-time intraday alerts. Free for 7 days, no credit card.
Start free — 7-day trial, no card →Free daily signals by email. Top 3 setups per lane after every close. No account needed.
Unsubscribe anytime · Privacy