How to Trade the Doji Candlestick Pattern (2026 Guide)

How to Trade the Doji Candlestick Pattern (2026 Guide)

What each doji candlestick variant signals, the backtest numbers most guides skip, and a worked trade at resistance with entry, stop, and target.

Quick answer

A doji is a candle whose open and close land at almost the same price, recording a session that ended in a draw. Backtests of the naked pattern are brutal, with negative Sharpe ratios across markets and a 27 percent win rate on 1-minute crypto dojis, because a draw carries no direction on its own. The candle becomes useful at a pre-marked level after a real trend, where the first session of failed progress is information. The trade waits for the next candle to resolve the stalemate: after a gravestone doji at resistance, short on a close below the doji's low, stop above the wick high, first target at the nearest shelf. Dojis fail most often in chop, on tiny timeframes, and in quiet or pre-news sessions where the indecision is just waiting.

A doji is a candle that opens and closes at almost the same price, leaving a bar that is nearly all wick with a body squeezed to a line. It records a session that ended in a draw. On its own that draw predicts almost nothing, and the backtests below are blunt about it. What a doji candlestick offers is a location-dependent clue: printed in the right place, after the right move, it is the first visible crack in a trend. This guide covers the four variants worth telling apart, the honest numbers, the setup that makes a doji tradeable, a worked short with exact levels, and the specific ways this candle wastes money.

What a doji candlestick is

Every candle compresses a session into four prices: open, high, low, close. On a doji the open and close land within a hair of each other, so the body shrinks to a line and the wicks carry all the information. Price traveled during the session, sometimes a long way in both directions, and finished where it started.

Read as an auction, that is a stalemate. Buyers pushed and could not hold the gains. Sellers pushed and could not hold the losses. Compare that with a hammer, where one side gets routed intraday and the bar closes at the scene of the victory. A hammer delivers a verdict. A doji is a hung jury, and a candle with no verdict gives you no direction. Direction has to come from the next bar and from the level the doji printed at, which is why every serious approach to this pattern turns out to be an approach to context. The general skill of reading candles is covered in our guide to candlestick patterns; this one stays on the doji.

There is no official body size that separates a doji from a small ordinary candle. A common screening convention counts the bar as a doji when the body is under about 5 percent of the high-to-low range, and some platforms stretch that to 10. The cutoff matters less than the visual: at normal zoom the body should look like a line, and the bar's total range should be comparable to its neighbors. A tiny body inside a tiny range is just a quiet session. A doji worth attention shows real travel and no progress.

Doji are common. A liquid daily chart prints several per quarter, and a 5-minute chart prints several per morning. That frequency is your first hint about the candle's standalone value. The numbers two sections down are the second.

The four dojis worth telling apart

The family shares one definition, open equals close, and splits on where the travel went. Each shape describes a different fight.

A standard doji has moderate wicks on both sides. Both sides probed, neither side committed, and the session ended near its middle. This is the mildest form of the signal and the most common.

A long-legged doji stretches both wicks far from the body. The session was violent: big pushes up, big pushes down, and a close back at the open. This is genuine two-sided conflict at size. It tends to appear around news, at the end of extended trends, and at levels where both sides have orders. It carries more information than the standard form and, as the worked example will show, a structural problem for your stop.

A dragonfly doji puts all the travel below: open, close, and high sit together at the top of the bar. Sellers drove price down hard and buyers took every point of it back. It is the doji cousin of the hammer, with an even thinner body, and traders treat a dragonfly at support the way they treat a hammer there. Our hammer candlestick guide covers that logic, the confirmation rules, and the reversal statistics in detail.

A gravestone doji is the mirror: open, close, and low together at the bottom, all wick above. Buyers ran price up during the session and sellers erased the entire advance by the close. After a rally, at a resistance level, this is the most directly tradeable doji, and it anchors the worked example below.

The four-price doji, where open, high, low, and close are all identical, deserves a mention only as a warning. It appears in halted names, dead pre-market tape, and stocks that barely trade. It means the market was closed for practical purposes, and it should disqualify the chart from pattern reading entirely.

Same definition, different fights: where the wick went tells you who pushed and failed.

The honest numbers

Most doji guides recite "indecision, potential reversal" and move on. The people who have actually measured it tell a rougher story, and you should hear it before risking money on this candle.

In late 2025 a trader on r/algotrading ran a year of data through a doji strategy across every market and timeframe he could load: stocks, crypto, forex, from 1-minute bars up to daily. The thread drew hundreds of upvotes across three subreddits because the results were so uniformly bad. The top reply: "I had never seen Sharpe ratios so negative before." Another commenter pulled out the worst cell in the grid, a 27 percent win rate for dojis on 1-minute crypto charts, and suggested that flipping a coin, or taking the exact opposite trade, would have done better.

Two objections in those threads are worth more than the headline result. First, the test used fixed stops, and several quants argued the stops should scale with volatility (ATR-based) before the strategy gets a fair hearing. Second, and more fundamental, the test traded every doji everywhere. One commenter put the location argument plainly: a doji should appear at the peak of an uptrend or the trough of a downtrend before it signals anything. Trading all of them is the correct way to measure the naked pattern, and the naked pattern measured out at close to worthless.

The broader evidence agrees. A separate backtest of 24 candlestick patterns across roughly 1.4 million candles found that patterns traded on shape alone perform about as well as random entries; the full numbers are in our hammer guide. Thomas Bulkowski, whose candlestick testing spans tens of thousands of samples, found most doji varieties precede a reversal about as often as they don't. None of this is surprising once you take the candle literally. A doji means "draw." A draw has no direction to bet on.

A doji is a fact about one session: nobody won. Where the stalemate happened is the only part with predictive value.

So why write three thousand words about it? Because the same candle that fails as a mechanical signal works as a piece of evidence inside a setup, the way a fingerprint is useless without a crime scene. The rest of this guide is about the crime scene.

What a doji actually tells you

Indecision only matters after a decision. Eight green candles into a rally, a doji is news: for the first time in eight sessions, buyers paid up all day and made no progress. In the middle of a sideways range, a doji is the market agreeing with itself, and it tells you nothing you did not already know from the previous twenty bars. Same candle, opposite value.

Steve Nison, who introduced candlestick charting to Western traders, made a related observation that holds up well: dojis call tops better than bottoms. A market can fall from its own weight once buying dries up, so a stall after a rally is a real warning. A falling market needs actual buying to turn, and a mere stall after a decline proves no buying showed up yet. If you take one bias from this guide, weight dojis after uptrends more heavily than dojis after declines.

Timeframe changes the meaning too, and traders argue about it constantly. When gold printed a doji on its monthly chart recently, one r/Daytrading poster started hunting for a short entry off it. A skeptic in the thread compressed the counterargument into one line: a monthly candle is 120,000 minutes of trading squeezed into one Lego brick. Both sides have a point. A doji on a higher timeframe summarizes a genuinely large fight, which makes it worth noticing, and it is far too blunt an object to trade by itself, which makes "find the right short entry" the correct instinct: the monthly candle raises the question, and the daily chart has to answer it with a level and a trigger.

Market structure matters as much as timeframe. A daily close on a stock exchange is a forced decision point. Day traders flatten to dodge overnight gap risk, funds mark positions, and the auction genuinely ends, so a daily doji on a stock records a real standoff. Crypto trades around the clock, and its daily close is midnight UTC, an arbitrary timestamp no one is forced to respect. That is one plausible reason the crypto cells in that backtest were the worst of all. Doji logic transfers to crypto best on weekly closes and at major levels, where enough traders watch the same line for the close to mean something.

The setup: a doji at a level you marked first

Strip out everything above and one tradeable configuration is left: a real trend into a real level, a doji at the level, and a confirmation candle that resolves the draw.

The level does the heavy lifting. You want a price where the market has already reversed or stalled at least twice: a prior swing high, the top of an old base, a breakout point trading back to its origin. Our guide on how to read support and resistance covers drawing these zones properly. The non-negotiable part is that the zone exists on your chart before the doji prints. A level discovered after the candle, to justify a trade you already want, is a level you invented.

The trend supplies the fuel. A doji at resistance matters because a rally ran into that level and stopped making progress there. Without the rally there is nothing to exhaust and nothing to reverse.

The doji itself is the timing clue: the first session where the trend paid full price and gained nothing. And because a draw has no direction, the confirmation candle is structural to this setup in a way it is optional for directional candles like the hammer. The next bar tells you which way the stalemate broke. Your job is to have decided in advance what break you will take and what break tells you to stand down.

How to trade a doji, step by step

  1. Mark the levels before the session. Support and resistance zones with at least two prior touches, drawn in advance. No level, no doji trade, whatever prints.

  2. Let the candle close. A forming bar can look like a perfect doji at 2 p.m. and close as a full-bodied trend candle at 4. The pattern exists only at the close. Acting early means trading a candle that may never print.

  3. Check the trend into it. You want a visible directional move arriving at the level: a sequence of higher highs into resistance, or lower lows into support. A doji inside chop is wallpaper. Skip it.

  4. Let the next candle pick the direction. After a gravestone or standard doji at resistance, the short triggers when a candle closes below the doji's low. After a dragonfly or standard doji at support, the long triggers on a close above the doji's high. If the resolution goes the other way, a strong close above resistance after a doji, there is no reversal trade to save. That close is telling you the level is breaking, and fading it puts you in front of a breakout.

  5. Stop beyond the doji's far extreme, target the nearest structure. For a short, the stop goes a buffer above the doji's high, because that high is where sellers erased the last advance, and a market trading back above it has cancelled the signal. Sizing the buffer is covered in our guide on where to place a stop loss. The first target is the nearest shelf or swing level, and the reward measured to that target should be at least one and a half times the risk. Dojis with long wicks force wide stops, so this arithmetic fails often. Failing the arithmetic is the method working: it just saved you a trade with bad math.

A worked example with real numbers

A stock rallies from $52.60 to just under $60 over three and a half weeks. Overhead sits a resistance zone you marked months ago: the stock topped at $60.40 in April and again in May. The rally reaches the zone with twelve green candles out of sixteen, and the first session to tag it stalls at $60.30 and closes at $59.90.

The next session is the candle this guide is about. It opens at $59.90, runs to $61.20 intraday, punching through the old $60.40 high, and then gives the entire advance back to close at $59.85, five cents from its open. The bar's low is $59.55. Body: 5 cents. Upper wick: $1.30. A textbook gravestone doji, printed exactly at a twice-tested ceiling, with an intraday sweep above the obvious high that trapped whoever bought the breakout.

A gravestone doji at a twice-tested ceiling: entry on the confirmation close at 59.10, stop above the wick at 61.35, first target at the 55.00 shelf.

The doji has no direction, so you wait. The next session sells off and closes at $59.10, below the doji's $59.55 low. That close is the trigger and the entry. The stop goes at $61.35, fifteen cents above the wick high, because a market trading back above the level sellers just defended has voided the whole thesis. Risk per share: $2.25.

Now the arithmetic. The nearest real structure below is the shelf at $54.80 to $55.00 where the rally paused for two sessions mid-move (D6 and D7 on the chart). Measuring to $55.00 gives $4.10 of room against $2.25 of risk, about 1.8R. That clears the bar.

It is worth pausing on how close it came to failing. The gravestone's long wick is the signal, and it is also $1.30 of extra stop distance. A tighter alternative exists: stop at $60.55, just above the zone top at $60.40, for $1.45 of risk and about 2.8R. The cost is that any re-test of the doji's wick, common after a stop sweep, tags you out before the trade has properly failed. Neither choice is free. Pick one before entry, size the position off it, and apply it every time so your results mean something.

From there the trade runs itself. Price grinds lower over the next three sessions toward the shelf, and the plan, say covering half at $55.00 and trailing the rest below each lower high, was fixed at entry. The decision was made when the level, the doji, the confirmation, the stop, and the target were all on the chart and the numbers cleared. Everything after that is execution.

Why dojis fail

Everywhere is nowhere. The most common failure is trading dojis without a location filter, and the backtest above already showed you what that equals: negative Sharpe ratios across the board. If you cannot name the level and point at its prior touches, the doji is a candle-shaped coincidence.

The timeframe is too small. On 1-minute and 5-minute charts, dojis print constantly, because short windows frequently end near where they started. The worst number in the r/algotrading test, that 27 percent win rate, came from 1-minute crypto dojis. The smaller the bar, the less an "indecisive session" means, because the bar never contained a real session to begin with.

The market was waiting on purpose. A doji two days before earnings, or the session before a rate decision, records anticipation. Everyone is deliberately flat or hedged ahead of the number, the report resolves the standoff, and the candle contains zero information about which way. Check the calendar before reading meaning into any stall.

Quiet tape produces fake dojis. Holiday half-days, summer Friday afternoons, and thin stocks print doji-shaped bars because almost nobody traded. The signal requires real two-sided volume that fought to a draw. A bar with no volume fought nothing. If the range is a fraction of the recent average, ignore the shape.

The next candle disagrees, and you argue with it. A doji at resistance followed by a strong close above the level is a breakout in progress. The doji's job was to ask a question, the market answered "up," and shorting anyway because you liked the gravestone means fading a level break with evidence against you. Take the resolution you planned for or take nothing.

The wick forces a stop you cannot afford. Long-legged dojis at big levels are genuinely informative and structurally expensive: the invalidation point sits at the far end of a wide wick, and the reward to the nearest target often measures under 1R. When the math fails, the trade does not exist. This filter feels like it costs you trades. It costs you the bad ones.

Common mistakes

  • Trading the doji itself. It has no direction. The next candle's close is the signal; the doji only marks where to pay attention.
  • Calling every small candle a doji. Body under roughly 5 percent of the range, and a range comparable to neighboring bars. A tiny candle in a tiny range is a nap.
  • Expecting a reversal by default. Dojis inside trends frequently resolve as continuation after a one-bar rest. The reversal read needs a level and a trend to reverse.
  • Placing the stop inside the wick. The wick is ground the losing side already traded once. Invalidation lives beyond the doji's far extreme.
  • Reading dojis in a sideways range. Indecision inside indecision is noise. Save the pattern for the edges of the range.
  • Weighting a bottom doji like a top doji. Stalls end rallies more reliably than they end declines, because falling markets need actual buying to turn. Demand more confirmation at lows.

FAQ

Is a doji candle bullish or bearish? Neither, by itself. The variant adds a lean: a dragonfly leans bullish because sellers failed, a gravestone leans bearish because buyers failed. The location adds the rest. The candle only becomes directional when the next bar resolves it, which is why confirmation is not optional with dojis.

Do doji patterns actually work? Traded mechanically, no. The most thorough public test, a year of data across all major markets and timeframes, produced deeply negative risk-adjusted returns, and a separate 1.4-million-candle study found candlestick shapes in general perform like random entries. Used as a timing clue at a pre-marked level inside a trend, the doji earns a place, as one input among several. Nobody honest will sell you more than that.

How do dojis behave in crypto? Worse, as far as the evidence goes, and the structural reason is the close. A stock's daily close is a forced decision point where day traders flatten and the auction ends. Crypto's daily close is midnight UTC, which nothing forces anyone to respect, so a "session that ended in a draw" is a weaker concept. Weekly closes and major levels, where many traders watch the same line, are where doji logic transfers best.

What is the difference between a doji and a spinning top? Body size. A spinning top has a small but visible body with wicks on both sides; a doji's body is compressed to nearly nothing. They sit on the same spectrum of indecision, and the doji is the stronger form because neither side held any ground at all. In practice the trading rules are the same: location first, confirmation before entry.

Is a dragonfly doji the same as a hammer? Functionally, almost. Both show sellers driving price down and buyers reclaiming everything, and both get traded at support the same way. The dragonfly's body is thinner, which means even the small ground a hammer's body claims went unclaimed. Our hammer candlestick guide covers the entry, stop, and statistics that apply to both.

What timeframe is best for doji signals? Daily and above, on markets with a real closing auction. A daily doji summarizes a full session's fight; a weekly doji at a major level summarizes five of them and is rarer and stronger. A monthly doji is a talking point until the daily chart supplies a level and a trigger. Intraday dojis below the hourly tested out as noise almost everywhere.

How do I scan for dojis automatically? Most platforms flag the shape: TradingView's candlestick indicators mark them on the chart, and screeners can filter for body-to-range ratios market-wide. Our comparison of the best apps for candlestick patterns covers which tools detect patterns and which just draw them. No scanner grades location, so every hit still needs the level check by hand.

The question mark on the chart

A doji is the market printing a question mark: the trend paid full price for a session and got nothing. Whether that question is worth money depends on the level under it, the trend behind it, and the candle after it, and now you can run that check by hand in about thirty seconds.

Quant AI runs it from a screenshot. Snap the chart and it names the candle, identifies the level it printed at, and maps the support and resistance around it, the same context this guide just walked through. Identifying a doji is trivial. Knowing whether this one matters is analysis, and a second opinion on that is the part worth automating.