On this page
- What is a doji candlestick?
- How small does the body need to be?
- What a doji means
- Types of doji candles
- Standard doji
- Long-legged doji
- Dragonfly doji
- Gravestone doji
- Four-price doji
- Dragonfly vs gravestone doji
- When does a doji matter?
- How to trade the doji candle: step by step
- Doji strategy 1: dragonfly doji at support
- Example: EUR/USD daily dragonfly doji
- Doji strategy 2: gravestone doji at resistance
- Example: gold H4 gravestone doji
- Doji strategy 3: doji pullback in a trend
- Example: Bitcoin H4 doji pullback
- Doji candles in multi-candle patterns
- Doji vs similar candles
- Combining doji candles with indicators
- Common doji trading mistakes
- Best timeframes for doji candles
- Practise doji candles with Xellion
The doji candle is one of the first candlestick patterns most traders learn, and one of the most misunderstood. A doji forms when a candle opens and closes at almost the same price. The result is a candle with a tiny body (or no body at all) and wicks on one or both sides.
A doji tells you one thing clearly: buyers and sellers ended the period in balance. It does not, on its own, tell you which way price will go next. That is why so many traders lose money trading every doji they see. This guide explains the main types of doji (standard, long-legged, dragonfly, gravestone and four-price), what each one suggests, when a doji is worth paying attention to, and how traders build simple doji trading setups on forex pairs, gold and crypto. All prices in this article are example prices.
What is a doji candlestick?
A doji candlestick is a candle where the open and close are equal or very close. The name comes from a Japanese word meaning something like "blunder" or "mistake", referring to how rarely the open and close match exactly.
| Part of the candle | In a doji |
|---|---|
| Real body | Very small or a thin horizontal line |
| Upper wick | Can be short, long or absent |
| Lower wick | Can be short, long or absent |
| Colour | Not important; a doji can close slightly up or slightly down |
How small does the body need to be?
There is no official rule. A common practical guide is that the body should be no more than about 5–10% of the candle's full range (high to low). For example, if an H4 candle on EUR/USD has a range of 40 pips, a body of 2–4 pips or less would usually count as a doji. Use your judgement and compare with the candles around it: a doji should look clearly different from normal candles.
What a doji means
During a doji candle, price moved away from the open, but by the close it had come back. Buyers pushed, sellers pushed, and neither won. This indecision matters most in two situations:
- After a strong move, a doji shows that the side in control has paused. Momentum is fading.
- At a key level, a doji shows the market is testing whether that level will hold.
In the middle of a quiet range, a doji usually means very little.
Types of doji candles
| Type | Shape | What it suggests |
|---|---|---|
| Standard (neutral) doji | Small body, short wicks on both sides | Simple indecision |
| Long-legged doji | Small body, long wicks on both sides | Strong indecision after a big tug of war |
| Dragonfly doji | Open and close at or near the high, long lower wick | Sellers pushed down but buyers rejected the lows; potentially bullish at support |
| Gravestone doji | Open and close at or near the low, long upper wick | Buyers pushed up but sellers rejected the highs; potentially bearish at resistance |
| Four-price doji | Open, high, low and close almost identical | No movement at all; usually very low liquidity |
Standard doji
A small cross shape with short wicks. It shows a pause. On its own it is the weakest type of doji; its value depends almost completely on where it appears.
Long-legged doji
The wicks are long on both sides, so price travelled a long way in both directions and still closed near the open. This shows a big battle and real uncertainty. Long-legged dojis often appear around major news, such as US CPI or non-farm payrolls (often around 7:00 pm IST in winter), and at turning points after long trends.
Dragonfly doji
The dragonfly doji looks like a "T". The open, close and high are at the top, with a long lower wick. Sellers drove price down during the period, but buyers pushed it all the way back. At support, after a decline, a dragonfly doji is a potential bullish reversal signal. It is closely related to the hammer candle; read our hammer candlestick pattern guide for the difference.
Gravestone doji
The gravestone doji is an upside-down "T". The open, close and low are at the bottom, with a long upper wick. Buyers drove price up, but sellers pushed it all the way back down. At resistance, after a rally, a gravestone doji is a potential bearish reversal signal. It is closely related to the shooting star.
Four-price doji
A flat line where open, high, low and close are the same. On forex and gold charts this is rare and usually appears on very low timeframes in very quiet conditions, or when a market is closed or illiquid. It is not a useful trading signal.
Dragonfly vs gravestone doji
| Point | Dragonfly doji | Gravestone doji |
|---|---|---|
| Shape | "T" | Upside-down "T" |
| Long wick | Below | Above |
| Open and close | At or near the high | At or near the low |
| Best location | At support, after a decline | At resistance, after a rally |
| Suggests | Buyers rejected lower prices | Sellers rejected higher prices |
| Confirmation | Next candle closes higher | Next candle closes lower |
| Common stop-loss | Below the doji low | Above the doji high |
When does a doji matter?
A doji is a warning, not a trigger. These factors make a doji more meaningful:
| Factor | Stronger doji signal | Weaker doji signal |
|---|---|---|
| Location | At a clear support/resistance level, supply or demand zone | In the middle of a range |
| Preceding move | After a strong, extended trend or a sharp move into a level | After sideways chop |
| Wick | Long rejection wick pointing into the level (dragonfly at support, gravestone at resistance) | Short wicks on both sides |
| Timeframe | Daily and H4 | M15 and lower |
| Confirmation | Next candle closes in the expected direction | No follow-through |
| News | Forms in normal conditions | Forms on a news spike that may reverse |
Before trading any doji, mark your levels. Our guides to support and resistance trading and supply and demand zones show how.
How to trade the doji candle: step by step
- Mark key levels on the daily and H4 charts.
- Wait for price to reach a level after a clear move.
- Identify the doji type. Dragonfly at support and gravestone at resistance are the most useful.
- Wait for confirmation. The candle after the doji should close in the direction you expect: above the doji high for a bullish setup, below the doji low for a bearish setup.
- Enter on the close of the confirmation candle, or with a stop order beyond the doji's high or low.
- Place the stop-loss beyond the doji's wick.
- Set a target at the next level, with a reward-to-risk of at least about 1.5:1 to 2:1.
The confirmation step is the most important difference between trading dojis well and trading them badly. A doji says "pause". The next candle tells you who won.
Doji strategy 1: dragonfly doji at support
Example: EUR/USD daily dragonfly doji
All prices are example prices.
- EUR/USD has fallen for six days into a daily support zone around 1.1520–1.1540, which held twice before.
- The next daily candle opens at 1.1561, drops to 1.1522, and closes at 1.1559. Body: 2 pips. Range: 41 pips. Long lower wick into support. This is a dragonfly doji.
- The following day closes at 1.1593, above the doji high of 1.1566. This is the confirmation.
| Item | Level | Note |
|---|---|---|
| Entry | 1.1593 | Close of the confirmation candle |
| Stop-loss | 1.1512 | Below the doji low and the support zone |
| Distance | 81 pips | 1.1593 – 1.1512 |
| Target 1 | 1.1680 | Previous daily swing high |
| Target 2 | 1.1745 | Next resistance |
The stop is wide because this is a daily chart. With a $1,000 account risking 1% ($10), the position size would be about 0.01 lot ($10 ÷ 81 pips ≈ $0.12 per pip; 0.01 lot of EUR/USD is about $0.10 per pip). See our lot size and pip calculator guide.
Doji strategy 2: gravestone doji at resistance
Example: gold H4 gravestone doji
All prices are example prices.
- Gold (XAU/USD) rallies strongly into an H4 resistance zone at $4,110–$4,120.
- An H4 candle opens at $4,102, spikes to $4,124, and closes at $4,101. Long upper wick, tiny body near the low. This is a gravestone doji.
- The next H4 candle closes at $4,088, below the doji low of $4,098.
| Item | Level | Note |
|---|---|---|
| Entry | $4,088 | Close of the confirmation candle |
| Stop-loss | $4,128 | Above the doji high and the zone |
| Distance | $40 per ounce | |
| Target | $4,040 | Previous H4 swing low |
On most MT5 accounts 1 lot of gold is 100 ounces, so 0.01 lot moves about $1 per $1 move in gold. Check the contract specification in your platform.
Doji strategy 3: doji pullback in a trend
In an established trend, a doji during a pullback can mark the moment the pullback runs out of steam.
- Confirm the trend on H4 or daily: higher highs and higher lows for an uptrend. Our guide to market structure, BOS and CHoCH explains how.
- Wait for price to pull back into support, a previous breakout level, or a moving average such as the 20 or 50 EMA. See moving average trading.
- A doji forms at that level.
- Enter when the next candle closes back in the trend direction.
Example: Bitcoin H4 doji pullback
All prices are example prices.
- BTC/USD is in an H4 uptrend, above its 50-period moving average.
- Price pulls back to $94,300, near the moving average and a previous breakout level.
- An H4 long-legged doji forms: open $94,520, low $93,800, high $95,200, close $94,560.
- The next candle closes at $95,480, above the doji high.
- Entry $95,480, stop-loss $93,600 (below the doji low), target $98,900 (previous high).
Crypto moves are large, so the stop in price terms is wide and position size needs to be small. Read our cryptocurrency trading guide for crypto position sizing.
Doji candles in multi-candle patterns
A doji is often part of a larger pattern:
| Pattern | Structure | Meaning |
|---|---|---|
| Morning doji star | Big bearish candle, doji, big bullish candle | Bullish reversal; see our morning star candlestick pattern guide |
| Evening doji star | Big bullish candle, doji, big bearish candle | Bearish reversal |
| Doji after a big candle (harami cross) | Doji body inside the previous large candle's body | Momentum stalling; possible reversal |
| Double doji | Two dojis in a row | Strong indecision; often followed by a breakout |
Two dojis in a row at a level often lead to a sharp move once one side wins. Some traders place a buy stop above and a sell stop below the two dojis and cancel the order that does not trigger. See our breakout trading strategy for how to manage breakouts.
Doji vs similar candles
| Candle | Body | Wicks | Key difference |
|---|---|---|---|
| Doji | Almost none | Any | Open ≈ close |
| Spinning top | Small but visible | Both sides, similar length | Also indecision, but the body is clearly larger than a doji's |
| Hammer | Small, at the top | Long lower wick | Has a visible body; a dragonfly doji has almost none |
| Shooting star | Small, at the bottom | Long upper wick | Has a visible body; a gravestone doji has almost none |
| Marubozu | Large | Little or none | The opposite of a doji: full conviction |
In practice, a dragonfly doji and a hammer at support mean nearly the same thing, and so do a gravestone doji and a shooting star at resistance. Do not worry too much about the exact label. Focus on the location and the rejection wick. All of these candles are covered in our candlestick patterns guide.
Combining doji candles with indicators
Some traders add one indicator filter to cut weak signals:
- RSI: a dragonfly doji at support while RSI is oversold, or with bullish RSI divergence, adds weight.
- Bollinger Bands: a doji outside the lower or upper band can signal a stretched move. See our Bollinger Bands guide.
- Moving averages: take only bullish doji setups above the 200-period moving average and bearish ones below it.
Most standard indicators are built into MT5. For WebTrader and the Xellion app, check the indicator list.
Common doji trading mistakes
| Mistake | What happens | Better approach |
|---|---|---|
| Trading every doji | Many doji candles mean nothing; repeated losses | Trade only dojis at key levels after a clear move |
| Entering on the doji itself | Price continues in the original direction | Wait for a confirmation candle |
| Reading a doji as bullish or bearish on its own | Wrong-way trades | A doji is neutral; context and the next candle decide |
| Stop too tight | Stopped out by the next wick | Place the stop beyond the doji's wick |
| Using M1–M5 charts | Dojis everywhere; signals become noise | Use H1 and higher, best on H4 and daily |
| Trading news dojis | Next candle reverses sharply | Check the economic calendar first |
Best timeframes for doji candles
| Timeframe | Notes |
|---|---|
| Weekly | Rare but meaningful; a weekly doji after a long trend is a major warning |
| Daily | Best balance of reliability and frequency for most traders |
| H4 | Good for swing trades and gold |
| H1 | Use only at clear levels |
| M15 and lower | Too frequent; use only as confirmation inside higher timeframe zones |
Practise doji candles with Xellion
The fastest way to learn doji candles is to study them at real levels. Open the Xellion WebTrader in your browser, with no download, or use the Xellion app on iOS or Android, or MetaTrader 5. Start with a free demo account. Mark support and resistance on the daily charts of EUR/USD, gold and Bitcoin, scroll back, and note every dragonfly and gravestone doji at those levels and what the next candle did.
When you are ready to trade live, UPI deposits are instant from $50, bank transfers start from $100 (within 1 business day), and crypto deposits in USDT, BTC or ETH start from $10. There are no currency conversion fees. The Standard account starts at $50 with spreads from 0.9 and no commission; Raw ($250, spreads from 0.1) and Zero ($750, spreads from 0.0) accounts are also available.
- Open a free demo account
- Compare account types · Funding options · Platforms
- New to MT5? MT5 download, login and setup guide
- Related reading: engulfing candlestick pattern, hammer candlestick pattern, morning star candlestick pattern, price action trading
What is a doji candle?
A doji candle is a candlestick where the open and close are equal or almost equal, leaving a very small body. It shows indecision: buyers and sellers ended the period in balance.
Is a doji bullish or bearish?
On its own, a doji is neutral. Its meaning comes from location and the next candle. A dragonfly doji at support can be bullish; a gravestone doji at resistance can be bearish.
What is a dragonfly doji?
A dragonfly doji has its open and close at or near the high, with a long lower wick. It shows sellers pushed price down but buyers pushed it back up. At support after a decline, it is a potential bullish reversal signal.
What is a gravestone doji?
A gravestone doji has its open and close at or near the low, with a long upper wick. It shows buyers pushed price up but sellers pushed it back down. At resistance after a rally, it is a potential bearish reversal signal.
What is a long-legged doji?
A long-legged doji has a tiny body and long wicks on both sides. It shows strong indecision after a big move in both directions, often around news or at turning points.
How do you trade a doji candle?
Wait for a doji at a key level after a clear move, then wait for the next candle to confirm the direction. Enter on the confirmation, place the stop beyond the doji's wick and target the next level.
What is the difference between a doji and a spinning top?
Both show indecision. A doji has almost no body, while a spinning top has a small but clearly visible body with wicks on both sides.
This article is general information and education, not investment advice. CFDs are complex instruments and carry a high risk of losing money rapidly due to leverage.



