Doji types compared: standard, long-legged, dragonfly and gravestone

All doji types share one feature: the candle opens and closes at, or almost at, the same price, so the body is a thin line. What separates them is where the shadows are. A standard doji has short shadows and simply shows a pause. A long-legged doji has long shadows on both sides and shows a wide, undecided fight. A dragonfly doji has its open and close at the top with a long lower shadow, and a gravestone doji has them at the bottom with a long upper shadow. Those last two lean in a direction, which is why traders treat them differently. This guide compares the four types, explains when a doji is worth acting on, and walks through an illustrative dragonfly and gravestone doji trade on gold, followed by one real XAUUSD chart of each. The detailed lessons: doji, long-legged doji, dragonfly doji, gravestone doji and the close cousin, the spinning top.

Doji types at a glance

  • Standard doji. Open and close almost equal, short shadows on both sides. Neither side moved price far: a pause.
  • Long-legged doji. Open and close almost equal, long shadows on both sides. Price travelled a long way up and down and ended where it started: indecision with high energy.
  • Dragonfly doji. Open and close at or near the high, long lower shadow, little or no upper shadow. Sellers pushed price down and buyers brought it all the way back.
  • Gravestone doji. Open and close at or near the low, long upper shadow, little or no lower shadow. Buyers pushed price up and sellers brought it all the way back.

How close is close enough?

Very few candles open and close at exactly the same price, especially on gold, which moves in small increments. A practical rule is that the body should be no more than about a tenth of the candle’s full range. A candle with a slightly larger body and shadows on both sides is usually called a spinning top. It carries a similar message of hesitation, just a little weaker.

Why the shadows matter more than the body

The body of a doji tells you the result was a draw. The shadows tell you how the draw happened.

  • A dragonfly after a decline shows that sellers had control during the candle and lost it by the close. That is a bullish lean, especially at support.
  • A gravestone after an advance shows that buyers had control and lost it. That is a bearish lean, especially at resistance.
  • A long-legged doji shows that both sides tested far and neither held. Direction comes from the next candles.
  • A standard doji in a quiet market often means little: activity was low and nobody tried.

When a doji is worth acting on

  • Location. A doji at a tested support or resistance, or after a long run of same-colour candles, deserves attention. A doji in the middle of a range usually does not.
  • Trend. A dragonfly matters most after a decline, a gravestone after an advance.
  • Confirmation. No doji is an entry by itself. Wait for the next candle to close beyond the doji’s range in the direction you expect.

Doji types checklist: standard, long-legged, dragonfly and gravestone read by their shadows (illustrative)

How to trade a dragonfly or gravestone doji

  • Entry. After a dragonfly doji, buy on a confirmation candle that closes above the doji’s high. After a gravestone doji, sell on a confirmation candle that closes below the doji’s low.
  • Stop loss. Beyond the long shadow: below the dragonfly’s low, above the gravestone’s high, with a small buffer. The long shadow makes the stop wide, so size the position down.
  • Targets. 1R to reduce risk, then 2R or the next level.
  • Standard and long-legged doji. Treat them as a warning. Many traders tighten stops on open positions rather than opening a new one, then trade the breakout from the doji’s range.

Worked example: an illustrative dragonfly and gravestone doji on gold

Illustrative example only. The prices below were constructed for teaching. They are not taken from a live or historical chart, they are not a past result, and they are not a signal to buy or sell gold, forex or any other market.

Dragonfly doji (long), XAUUSD H1. After a run of red candles from about 4080, a candle opens at 4044, drops to 4010 and closes back at 4044, with a high of 4045: a dragonfly doji at the lows. The next candle closes at 4062, well above the doji’s high.

  • Illustrative entry: 4062 (buy at the confirmation close).
  • Illustrative stop loss: 4006, 4 dollars below the doji’s low of 4010. Risk: 56 dollars per ounce.
  • Illustrative take profit 1 (1R): 4118. Take profit 2 (2R): 4174.

Gravestone doji (short), XAUUSD H1. After a run of green candles from about 4200, a candle opens at 4236, rises to 4270 and closes back at 4236, with a low of 4235: a gravestone doji at the highs. The next candle closes at 4218, below the doji’s low.

  • Illustrative entry: 4218 (sell at the confirmation close).
  • Illustrative stop loss: 4274, 4 dollars above the doji’s high of 4270. Risk: 56 dollars per ounce.
  • Illustrative take profit 1 (1R): 4162. Take profit 2 (2R): 4106.

Dragonfly vs gravestone doji side by side on an illustrative XAUUSD H1 chart with entry, stop loss and take-profit levels

Notice how wide both stops are compared with the candle bodies. That is normal for doji trades: the long shadow is the information, and the stop has to sit beyond it.

Four doji types at a glance: standard, long-legged, dragonfly and gravestone mini candles (illustrative)

Real gold examples: Dragonfly doji and Gravestone doji on XAUUSD

The charts below use real XAUUSD candles (Dukascopy Bank public data, spot gold, Bid price; times in UTC+7). Nothing on them is edited or invented. We scanned gold’s H1 and M30 history from 2012 to 14 November 2026 with the rules of our single-pattern guides: entry by the confirmation rule, stop loss a small buffer beyond the pattern’s stop level, take profit at 2R. Then we picked one winning setup for each pattern, preferring recent ones and skipping charts already used in our earlier articles. These are selected winning examples, not typical results: across the whole scan, 26.6% of 143 rule-based Dragonfly doji trades and 32.4% of 111 Gravestone doji trades reached 2R before the stop.

Example 1: Dragonfly doji, XAUUSD H1, 04 Sep 2025

Dragonfly doji on a real XAUUSD H1 chart, 04 Sep 2025: entry $3,532.89, stop loss $3,509.27, 2R take profit $3,580.13 reached, +$47.24 per 0.01 lot

Real XAUUSD H1 chart (Dukascopy data, UTC+7). Entry $3,532.89, stop $3,509.27, target $3,580.13: +$47.24 per 0.01 lot.

  • Pattern: completed on the H1 candle that opened at 04 Sep 2025 10:00 (UTC+7).
  • Entry: Buy at $3,532.89, at the close of the confirmation candle, the first close above $3,531.28.
  • Stop loss: $3,509.27, a small buffer below the pattern’s stop level at $3,510.43. Risk: $23.62 per ounce (1R).
  • Take profit: $3,580.13 (2R). Price passed TP1 at $3,556.51 (1R) and reached TP2 after 31 H1 candles, at 05 Sep 2025 19:00 (UTC+7).
  • Result: +$47.24 per 0.01 lot (1 ounce), or +472 pips (1 pip = $0.10).

Example 2: Gravestone doji, XAUUSD M30, 10 Mar 2025

Gravestone doji on a real XAUUSD M30 chart, 10 Mar 2025: entry $2,912.09, stop loss $2,918.53, 2R take profit $2,899.21 reached, +$12.88 per 0.01 lot

Real XAUUSD M30 chart (Dukascopy data, UTC+7). Entry $2,912.09, stop $2,918.53, target $2,899.21: +$12.88 per 0.01 lot.

  • Pattern: completed on the M30 candle that opened at 10 Mar 2025 08:00 (UTC+7).
  • Entry: Sell at $2,912.09, at the close of the confirmation candle, the first close below $2,913.59.
  • Stop loss: $2,918.53, a small buffer above the pattern’s stop level at $2,918.12. Risk: $6.44 per ounce (1R).
  • Take profit: $2,899.21 (2R). Price passed TP1 at $2,905.65 (1R) and reached TP2 after 14 M30 candles, at 10 Mar 2025 15:30 (UTC+7).
  • Result: +$12.88 per 0.01 lot (1 ounce), or +129 pips (1 pip = $0.10).

Past results do not guarantee future results. Broker prices, spreads and slippage differ slightly from these data. Trading gold with leverage carries a high risk of loss.

Common mistakes with doji types

  • Treating every doji as a reversal signal. In a strong trend, a single doji is often just a pause.
  • Mixing up a gravestone doji and a shooting star. The shooting star has a small but visible body; the gravestone has almost none.
  • Entering before the confirmation candle closes.
  • Placing the stop inside the long shadow to make it smaller.
  • Ignoring low-activity hours, when doji candles form simply because nothing is happening.

FAQ

Which doji type is the most bullish?

A dragonfly doji after a decline, at support, followed by a strong green close.

Is a long-legged doji bullish or bearish?

Neither on its own. It shows indecision; the next close beyond its range gives the direction.

What is the difference between a doji and a spinning top?

The size of the body. A doji’s body is almost zero; a spinning top has a small but clear body.

Do doji candles work on gold?

They appear often. Our real-data scan above shows how often a rule-based dragonfly or gravestone trade reached 2R.

Risk note: Trading gold, forex and CFDs with leverage carries a high risk of loss, including the loss of your entire deposit. This article is for information and education only and is not investment advice, not a personal recommendation and not a signal. The worked prices are illustrative. Past patterns do not guarantee future results. Use only risk capital, set a stop loss before you enter, and never size a trade so that one loss can damage your finances.

Related: Doji candlestick pattern: how to read it and an example entry · Long-legged doji candlestick: how to read it and an example entry · Dragonfly doji candlestick: how to identify it and an example entry · Gravestone doji candlestick: how to identify it and an example entry · Spinning top candlestick pattern: how to read it and an example entry · Managing a trade after a breakout: stops, partial profits and an ATR trailing stop (gold, Nov 4, 2026)

Sources: Thomas Bulkowski, The Pattern Site — Dragonfly doji · Thomas Bulkowski, The Pattern Site — Gravestone doji · Thomas Bulkowski, The Pattern Site — Long-legged doji

A note from TopFundTrading

Trading gold, forex and CFDs with leverage carries a high risk of loss, including the loss of your entire deposit. This article is for information and education only and is not investment advice.

If you want to trade larger capital without risking your own savings, you can consider a funded-trader challenge. WeMasterTrade is listed #1 (9.7/10) in TopFundTrading’s own prop-firm ranking – our editorial listing, not an independent rating.

Sign up for a WeMasterTrade account now

Referral link: topfundtrading.com may earn a commission if you sign up through this link.

Leave a Reply

Your email address will not be published. Required fields are marked *

Left Banner
Right Banner