The doji candlestick pattern is a single bar in which the open and the close are almost the same, leaving a very small real body that looks like a cross or a plus sign. It records indecision, not an automatic reversal. This guide explains how to identify a doji, how the main types differ, why you still need confirmation, and how a trader might plan an entry only after the next candle chooses a side. The GBPUSD prices later in the article are illustrative only. They are not a real trade and not a signal.
What is the doji candlestick pattern and how do you identify it?
A doji is defined by the body, not by the length of the shadows.
- The open and the close are at virtually the same price. A tiny body is acceptable; a clear bullish or bearish body is not a doji.
- Shadows can be short or long. A long-legged doji has long shadows on both sides. A dragonfly doji has a long lower shadow and little or no upper shadow. A gravestone doji has a long upper shadow and little or no lower shadow.
- Context matters more than the shape alone. A doji after a long trend, especially at support or resistance, is more interesting than a doji in a quiet, sideways market, where indecision is already the norm.
- A doji is not a trade by itself. It says that buyers and sellers finished roughly even in that bar. The next candle, or a break of the doji high or low, is what turns indecision into a plan.
Thomas Bulkowski catalogues many doji varieties among his single-line candles on The Pattern Site. This article does not invent a win rate for the doji as a group, because the types and contexts differ, and a doji without confirmation is not an entry model.
The psychology behind the doji candlestick pattern
In a trending bar, one side clearly wins: the close is far from the open. In a doji, that victory does not happen. The market may have travelled a long way during the bar, as the shadows show, but by the close neither side held the gain. That is a pause in conviction.
After a rally into resistance, a doji can mean buyers are no longer lifting the close; after a decline into support, sellers may be done pressing lower. In a range, it is often just a quiet bar.
How to trade the doji candlestick pattern: confirmation, entry, stop loss and take profit
Do not buy or sell the doji close just because the bar is a cross.
- Confirmation. For a potential short after a rally, wait for the next candle to close below the doji low (or at least below the doji body). For a potential long after a decline, wait for a close above the doji high. If the next bar is another doji, you still do not have a side.
- Entry. Trade the confirmation close, or use a stop order beyond the doji extreme so that you are filled only if price actually breaks.
- Stop loss. For a short, place the stop a small buffer above the doji high (including the upper shadow). For a long, place it a small buffer below the doji low. Long-legged dojis create wide stops; if the risk is too large for a sensible target, skip the trade.
- Take profit and risk-to-reward. Measure risk from entry to stop and look for at least about 1.5:1 toward the next structure. A long-legged doji at resistance can still be a good location if you can live with the wider stop.
Dragonfly and gravestone dojis look like hammers and shooting stars with almost no body. Use similar location rules, but still wait for the next candle.
Worked example: an illustrative doji candlestick pattern entry on GBPUSD
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 GBPUSD or any other market.
Assume an H4 GBPUSD chart. Price has rallied from about 1.3120 into a 1.3200 resistance area. An H4 doji then prints:
- Open 1.3186, high 1.3210, low 1.3162, close 1.3184.
- The body is only 2 pips. Both shadows are meaningful, so this is a long-legged doji at resistance, not a trade on its own.
The next H4 candle opens at 1.3180 and closes at 1.3144 (high 1.3184, low 1.3140), below the doji low of 1.3162. That close is the confirmation. The short is planned only after this bar, not on the doji itself.
- Illustrative entry: 1.3144, the close of the confirmation candle (short).
- Illustrative stop loss: 1.3214, four pips above the doji high of 1.3210.
- Risk: 70 pips.
- Illustrative take profit 1 (1R): 1.3074.
- Illustrative take profit 2 (2R): 1.3004, only if support is not sitting just above that price.

If the confirmation candle had closed back above 1.3184, there would be no short. Size the position so that a 70-pip stop is a predefined fraction of the account.
Common mistakes with the doji candlestick pattern
- Buying or selling every doji, including those that appear in the middle of a quiet range.
- Treating a doji as a completed reversal instead of as indecision that still needs a confirming close.
- Forcing the doji label onto candles that have a clear, medium-sized body.
- Using a stop inside a long-legged doji’s shadow, where the bar has already shown that price can travel.
- Ignoring type and location: a gravestone at resistance is not the same reading as a small doji in the middle of nowhere.
FAQ
Is the doji candlestick pattern bullish or bearish?
Neither, on its own. A doji is indecision. After a rally, a confirmed break of the doji low can support a short plan. After a decline, a confirmed break of the doji high can support a long plan. The same shape in a range is often just noise.
How close do the open and close have to be?
They should be virtually equal relative to the bar’s range and to the market’s usual pip or tick size. A two-pip body on GBPUSD H4 can be a doji; a 20-pip body is not. Use judgement, but do not stretch the definition to fit a candle you already want to trade.
Should I trade dragonfly and gravestone dojis like hammers and shooting stars?
You can use the same location logic: dragonfly after a decline, gravestone after a rally. Because the body is almost non-existent, confirmation from the next candle is even more important than it is with a hammer or a shooting star that already has a small body.
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: Hammer candlestick pattern: how to identify it and an example entry · Shooting star candlestick pattern: how to identify it and an example entry · Bullish engulfing candlestick pattern: how to identify it and an example entry · Bearish engulfing candlestick pattern: how to identify 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 — single-line candlesticks
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.


Français
简体中文
繁體中文
한국어
Русский


