What Is a Doji Candlestick Pattern? Types, Meaning & Examples
Meta: What is a Doji candlestick? Learn the meaning of Standard, Dragonfly, Gravestone, Long-Legged and Four-Price Doji patterns, plus how to read them in context.
What Is a Doji Candlestick Pattern? Types, Meaning & Examples
A Doji candlestick pattern forms when the opening and closing prices are equal or very close, resulting in a very small or almost nonexistent real body. The size of the upper and lower shadows can be quite different, depending on how much the market has moved during the time period in which the candle was created. A Doji suggests temporary indecision about market direction, but it is often a neutral formation when viewed in isolation. The prevailing trend, support and resistance levels, and subsequent price action all need to be considered.
Doji: Quick Definition
Open and close: Approximately equal.
Body: Very small or almost absent.
Wicks: May be short or long.
Typical interpretation: Indecision or temporary balance.
Bullish or bearish? Neither automatically.
Reversal signal? Not by itself.
Key consideration: Context matters more than the shape alone.
What Is a Doji Candlestick Pattern?
A Doji candlestick pattern is created when the open is at one price and then, after moving up, down or both directions, closes near the open. The candle will have a very small real body; however, its shadows may be long in comparison.
A Doji is characterised by the proximity of its opening and closing prices, rather than by the candle's colour or wick length. Its interpretation also depends on the market and timeframe, as there is no universal percentage that defines a small real body.
What Does a Doji Mean?
A Doji can suggest a stalemate, short-term equilibrium, less commitment to trend direction or a hesitation following a trend move. Though it can be seen in a simple sideways pattern, it does not provide a significant amount of detail.
A candlestick only summarises price movement during a specific period. It does not reveal which market participants caused that movement or prove institutional activity, exhaustion, or an imminent change in volatility.
A Doji should therefore be interpreted as a price pattern rather than evidence of a specific underlying cause.
Is a Doji Bullish or Bearish?
A Doji is neutral in isolation. Its potential meaning depends on the preceding trend, the candle's structure, its location on the chart, market volatility, and subsequent price action.
After a long uptrend: A Doji may suggest weakening bullish momentum, but it does not necessarily signal the end of the trend.
After a downtrend: It may indicate a pause in selling pressure, although the price could continue to decline.
In a sideways market: It may simply reflect indecision that is already present in the market.
The shape of a Doji alone does not determine the market's next direction.
Does a Doji Mean a Reversal?
No. A Doji does not indicate what will happen next. A Doji can form before a reversal, in a contraction, before a trend gets carried forward or during a low volume sideways range.
Another price move in the opposite direction of the trend may indicate a potential reversal, whereas a movement in the same direction indicates support for continuation. The status of the move cannot be determined until a fresh price development occurs.
How Does a Doji Form?
A Doji develops through a sequence of price movements:
The market opens at a particular price.
Buyers may push the price higher.
Sellers may then push the price lower, either before or after the upward move.
Price varies as congestion occurs (buying and selling).
The market closes near the opening price.
The finished candle provides a condensed summary of the open, high, low and close for the period. It does not independently indicate the underlying order flow or why traders chose to trade.
Doji Candlestick Structure
Each standard candlestick signifies four different pricing values: open, high, low, and close. In the case of a Doji, the open and close prices are essentially the same. The upper wick of the candle tells us how far away price moved from the level at which the session started, before closing back up near that level.
The lower wick of the candle tells us how far away price moved down from the open before returning to the open and closing near there.
Main Types of Doji Candlestick Patterns
Doji type | Typical shape | Possible interpretation |
Standard Doji | Very small body with variable shadows | Indecision or temporary balance |
Long-Legged Doji | Strong upper and lower shadows | Substantial movement in both directions |
Dragonfly Doji | Long lower shadow; open and close to the high | Possible rejection of lower prices |
Gravestone Doji | High upper shadow; open and close near the low | Possible rejection of higher prices |
Four-Price Doji | Open, high, low and close nearly equal | Small price change |
They are not directional trade signals but descriptive patterns.
Standard Doji
A Standard Doji has a very small body with either no shadow or with upper and lower shadows of varying lengths. The price closes right near the price where it opened, which can be indicative of balance or indecision. The implications depend on the location of the Doji and subsequent price action.
Long-Legged Doji
One with long upper and lower wicks can indicate high intraperiod uncertainty, though it doesn't tell you if a breakout or reversal is about to occur.
Dragonfly Doji
The Dragonfly Doji tends to have a long lower shadow and no or very little upper shadow with open and close prices near the high. Price was lower through the period but rallied into the close.
The Dragonfly Doji might be seen as a rejection of lower prices after a retracement or approach towards prior support. However, a Dragonfly Doji is not automatically bullish.
Gravestone Doji
A Gravestone Doji has a long upper shadow, no or a very short lower shadow and open and close near the low. Price moved up but went back down again close to its opening.
Just shy of resistance or following a significant move higher, this could be viewed by traders as a potential rejection of higher prices. However, it does not confirm a bearish reversal on its own.
Four-Price Doji
When the open, high, low and close are all equal or quite close in value, then you get a Four-price Doji. This indicates no significant price action is taking place during that timeframe. In some circumstances, this could happen even when the market is not low on liquidity.
Doji Compared to Spinning Top
Both patterns can reflect temporary indecision, but their real-body structures are different.
Feature | Doji | Spinning Top |
Open and close | Almost equal | Different, producing a small body |
Real body | Extremely diminished or nearly absent | Compact and noticeable |
Shadows | May be short or long | Usually has upper and lower shadows |
Interpretation | Possible indecision | Possible indecision |
Reversal confirmation | Neither confirms a reversal alone | Neither confirms a reversal alone |
Doji vs Hammer
A Hammer has a relatively small real body located in the top third of the pattern range and has little or no upper shadow. It is typically studied after a downtrend. With a Doji, the open and close are the same or almost the same.
One gets a visual similar to a Hammer on the price chart with a Dragonfly Doji, but the structure of the body can be different. Both patterns do not necessarily assume that a bullish reversal is imminent.
Doji vs Shooting Star
A Shooting Star has a real body that is small in comparison with its range, usually near the bottom, and has a long upper shadow. It is generally discussed after an advance. A Gravestone Doji can resemble a Shooting Star, but the real body of a Gravestone Doji is where the open and close are nearly equal.
Both patterns are not sufficient on their own. They both, alone, do not tell you where the reversal ends.
Where Does a Doji Matter Most?
A Doji may provide more useful context when it appears:
After an established upward or downward trend.
Near previously observed support or resistance.
Close to a major swing high or swing low.
Following strong directional candles.
Roughly around a significant technical level, or range boundary.
A Doji candlestick pattern in the middle of a disorganized sideways range could mean nothing at all. The goal is to show the candle in a larger technical perspective; not, how every small-bodied candle has to have meaning.
Uptrend Doji
Once the uptrend has built enough steam, a Doji might indicate less bullish momentum or a pause in an uptrend. A Doji may result in a correction, consolidation, reversal or continuation of the uptrend.
A bearish interpretation becomes more plausible only if subsequent price action provides evidence of weakening structure or rejection at a relevant technical level. The Doji itself does not show that buyers have surrendered control.
Doji in a Downtrend
A Doji after a prolonged fall may suggest diminishing seller interest or temporary equilibrium. Prices may bounce, pause, reverse or continue down. So a bullish reading would not be limited to just the finding of a Doji.
Traders may instead observe whether price reacts around a relevant support zone and whether subsequent candles show a meaningful change in local market structure.
Doji in a Sideways Market
In sideways markets there will be regular pauses and reversals in the shorter term trend. Therefore, one 'inside' Doji within a range might not tell us much. A Doji near the edge of the range may be more noteworthy than one near the middle, but it does not guarantee a breakout.
Doji at Support/Resistance
When a Doji forms near support or resistance, the price reaction around that zone may offer clues about subsequent price action. Traders might pay closer attention to the next move.
The support/resistance can offer guidance if there is a reaction, or confirmation if there is a breakout. Support may not necessarily lead to an increase and resistance may not necessarily lead to a decline.
Treat these as zones, and not make the assumption that the trader's price must necessarily bounce off at exactly this point.
Doji and Market Structure
Market structure consists of trends, swing highs and lows, trading ranges and breakouts. A Doji close to a previous swing point following a long move could have greater contextual importance than one located in the midst of a trading range.
Using price action, the trader will decide whether the following candles continue the current pattern of higher highs and higher lows, or if they offer evidence of a structural change. The Doji is merely a data point in that process, not evidence of a structural change.
Doji and Volume
In a centralised market volume statistics could give us more information about the market activity. However, spot Forex has no single centralised source that captures the total trading volume across the global currency market.
A Forex trading platform, such as MetaTrader 5, may display tick volume, which reflects price changes rather than total traded volume across the market. Neither volume nor tick volume alone can confirm that a Doji reversal has occurred, although they can aid in providing context for the price move.
Doji and RSI, MACD and Fibonacci Levels
A number of traders will also look at the Doji with other indicators, such as RSI, MACD, moving averages or levels of support and resistance as viewed through a Fibonacci retracement.
These can provide additional perspective of momentum, trend or the price levels of interest.
By way of illustration, a Doji at or near a Fibonacci retracement may suggest a possible reaction point to watch.
Alternatively, an RSI level or a MACD crossover may offer up yet another potential observation. However, not all indicator confluence will produce a reversal or be the trigger to justify a trade.
Can a Doji Confirm a Breakout?
A Doji can form before, during, or after a breakout, but it cannot confirm one on its own. Traders can assess subsequent price action around the relevant level. A close beyond the boundary and follow-through may help indicate whether the breakout is holding or whether the move could be a false breakout.
Traders should watch for the next piece of the price action in relation to the boundary. A price break of the level, the candle close and a follow-through may reveal whether the breakout is in fact real or a false move. A false breakout is another story.
How Traders Read a Doji Candlestick Pattern in Context
A practical framework for interpreting a Doji includes six steps:
Identify the trend: Determine whether the price has been rising, falling, or moving sideways.
Locate key levels: Check nearby support, resistance, swing points, and range boundaries.
Examine the candle: Once it has closed, assess its body and wick structure.
Observe subsequent price action: Look for continuation, rejection, consolidation, or a break in local market structure.
Define invalidation: Identify the price action that would invalidate the trading idea.
Manage risk separately: Determine position size and acceptable exposure before entering a trade.
This structure does not turn a Doji into a required indication for entry.
Does a Doji Need Confirmation?
A Doji by itself can provide little directional bias and some traders may wait for confirmation before acting. This confirmation might be a follow through move, a reaction at a technical level or a break above or below a nearby structure.
Confirmation reduces reliance on the Doji alone but does not eliminate uncertainty. Its usefulness depends on what is being confirmed, such as a break of market structure, rejection of a technical level, or continuation beyond a relevant price boundary.
Doji Trade Example
Imagine a EUR/USD downtrend moving down towards a former support zone. After moving lower, the price forms a Dragonfly-like Doji and closes near the candle's high.
Instead of predicting that the correction is over, the trader could identify the support zone and then monitor to see if the price then closed above short-term structure in the near term. The trader would also identify a technical level that would invalidate the trading idea and assess the associated risk.
Price might still break below support and continue lower. This is a lesson on how to look at context, not a trade idea or a forecast.
Failed Doji Reversal Example
Now suppose EUR/USD has been strongly trending higher and a Gravestone Doji forms just above a previous high. Price consolidates slightly and then breaks above that high and resumes the trend.
While the candle appears to be bearish at first, the following advance does not prove this reversal to be accurate. This is why a trader should never decide that a candle will produce a certain outcome by its shape.
How to Trade a Doji Pattern
A Doji is better treated as one piece of market evidence than as a standalone trading strategy. Traders who include Doji patterns in their analysis may:
Identify the broader trend and current market conditions.
Wait until the candle has closed before classifying the pattern.
Evaluate its location relative to support, resistance, swing points, and market structure.
Observe subsequent price action for continuation, rejection, or structural change.
Define the price conditions that would invalidate the trading idea.
Calculate position size according to predefined risk limits.
Consider spreads, slippage, liquidity, and scheduled economic releases before execution.
Some traders wait until they have triggered all of their conditions to enter a position. Others may use a Doji pattern only as a point of reference. In either case, there is nothing to prevent a price from moving against you.
Stop-Loss Placement and Take-Profit Levels
The place of the stop-loss order must be relevant to the weak point of the idea of the trade, the market structure, its volatility and the adopted strategy. In some cases, the trader can consider a level deeper than the applicable swing high, swing low or technical zone.
There are no specific rules for the location of every Doji. A stop-loss may not be filled at the specified price in gaps or fast moving markets. Examples of take-profit levels could be a support/resistance, a swing, some risk/reward plan that was established in advance or some trailing method.
Which method is appropriate may depend on the trading plan. Managing the risk should be independent of the pattern.
Timeframes and Forex Sessions
A Doji can appear on any chart timeframe. Lower timeframes generally contain more market noise and produce more candlestick formations, while higher timeframes summarise longer periods of price activity. A higher timeframe does not automatically make a Doji more reliable.
Different Forex sessions can have different market conditions: the active periods that offer big moves and varying liquidity, and the calm periods with small candles. There isn't a best time to watch Doji patterns.
During the release of a key economic statistic you may see heightened volatility, wider spreads and fast re-pricing. Your candlestick shape may change significantly within a bar before you reach the close of a time period. You can find scheduled releases on an economic calendar.
Doji Scanner & Automatic detection
Custom or third-party indicators could detect candles that open and close within a programmed distance, or whose wick and body ratios meet given conditions. Some filters could also control other conditions such as timeframe.
A scanner identifies patterns according to its programmed rules; it does not establish their significance unless relevant contextual conditions are also included. You would still need to look at the bigger picture on the chart and make sure the candle matches your criteria.
Doji in Forex, Stocks and Crypto
Although Forex, stock, and cryptocurrency charts can all use candlestick patterns, their market conditions differ. Though each market may be using the same type of candlestick structure, market conditions will vary.
A Doji must therefore be evaluated relative to the nature of the particular instrument and market rather than evaluated as having the same effect across asset classes.
How Reliable Is a Doji Candlestick?
There is no one-size-fits-all percentage of accuracy for the Doji candle. Its track record will vary greatly depending upon the definition of the pattern, the time and market being researched, the trending environment, its location relative to the trend, the confirmation criteria being utilized and the sample of historical data.
A visually identifiable shape is not automatically indicative. There is also a potential visual bias when viewing old charts with the benefit of hindsight. Evidence for any predictive claim must be based on a transparent procedure with rigorous testing, and candlestick shape by itself does not qualify.
Popular Doji Trading Errors
Assuming an automatic reversal: A Doji does not guarantee that the current trend will change.
Ignoring context: The same formation can have different implications depending on its location and market conditions.
Acting before the candle closes: An incomplete candle can change shape before the timeframe ends.
Ignoring location: A Doji in the middle of a trading range may offer little useful information.
Relying on candle colour: Colour alone does not confirm a reversal.
Overlooking signal quality: More signals do not necessarily lead to better analysis.
Neglecting risk management: Identifying a pattern does not control trading exposure.
Overestimating predictive power: No candlestick pattern justifies taking unrealistic risks.
Falling for hindsight bias: Historical charts can make a price move seem obvious after it has happened.
Advantages and Limitations of Doji Analysis
Potential advantages | Limitations |
Easy to see visually | Neither bullish nor bearish |
Clearly shows a close near the open | Can appear frequently in ordinary trading |
Highlights possible indecision | Definitions may vary between methods |
Adds context to trend and level analysis | Needs more market information |
Can be assessed across different markets | Has no guaranteed predictive power |
Should Traders Use Doji Alone?
No. A Doji alone is not enough to justify a trade. It can be a piece of the puzzle along with market structure, trend direction, support & resistance levels, volatility and the following price action.
A particular indicator isn't necessary on each occasion, and the more indicators you employ does not necessarily mean you get a better result. Risk management should remain separate from pattern interpretation: understanding a candle's formation does not determine position size, the acceptable loss limit, or the amount of market exposure.
What Traders Should Know About Doji Candlesticks
A Doji is a candlestick with an open and close that are either the same, or very close, resulting in a very small real body. This indicates a balance or indecision that is limited to that time period, and does not necessarily indicate either a bullish or bearish move.
The Standard, Long-Legged, Dragonfly, Gravestone and Four-Price Doji all refer to different candle formations. Each may mean something depending on prior trend, the candle's position, market conditions and where price ends up.
A Doji found near a significant support or resistance area may attract more scrutiny, while one found in the middle of a trading range may not provide extra insight. Confirmation is an additional piece of information but it cannot eliminate uncertainty or give you a certainty of what will happen in the future.
Traders should analyse the pattern in its broader market context and manage position sizing, invalidation, and exposure separately.