A Doji forms when the opening and closing prices of a candle are equal or very close. It can indicate a temporary balance between buyers and sellers, but its meaning depends on the surrounding price action and market context.
A candlestick represents price movement during a selected period.
A Doji appears when the opening and closing prices are equal or very close relative to the candle’s overall range.
The candle body is very small or appears as a thin horizontal line.
The upper and lower shadows may be long, short, unequal, or almost absent.
The pattern reflects a session in which neither buyers nor sellers achieved much net progress between the open and close.
A Doji alone does not reveal whether the next price movement will be bullish or bearish.
1. Typical candle2. Doji
O = Open, C = Close. Illustrative shapes only.
Doji Anatomy and Structure
Select a part to see what it represents. The diagram is also clickable.
Choose a label to learn about that part of the candle.
Open ≈ Close
Open
The price at which the candle period begins.
High
The highest price reached during the period.
Low
The lowest price reached during the period.
Close
The price at which the candle period ends.
Exact equality is not always necessary. Charting platforms and traders may classify a candle as a Doji when the difference between open and close is very small relative to its total range. There is no single numerical threshold that every platform or trader uses.
Types of Doji Candlestick Patterns
A. Standard Doji
Structure Open and close are equal or nearly equal. Upper and lower shadows may be present.
May indicate Indecision. Its significance depends on the preceding trend, nearby price levels, and subsequent candles.
Limitation: Alone, it does not show which side will gain control next.
B. Long-Legged Doji
Structure Relatively long upper and lower shadows with a very small body, showing substantial movement in both directions.
May indicate Heightened uncertainty or a struggle between buyers and sellers.
Limitation: It does not guarantee a reversal.
C. Dragonfly Doji
Structure Open, high, and close are equal or very close near the top of the range. Long lower shadow, little or no upper shadow.
May indicate Price moved lower but recovered toward the open. Can be more noteworthy after a decline.
Limitation: Bullish implications require confirmation and market context.
D. Gravestone Doji
Structure Open, low, and close are equal or very close near the bottom of the range. Long upper shadow, little or no lower shadow.
May indicate Price moved higher but fell back toward the open. Can be more noteworthy after a rise.
Limitation: Bearish implications require confirmation and market context.
Candle color alone does not determine the signal here. Some charting platforms and educational sources classify Doji variations slightly differently.
How Does a Doji Form?
1
The candle period opens at a particular price.
2
Price moves upward, downward, or in both directions.
3
Buyers and sellers respond to changing prices and market conditions.
4
The period closes near its opening price.
5
The resulting candle has a tiny real body, despite potentially having substantial shadows.
A Doji records what happened during one candle period. It does not independently explain the reason for the price action.
Example Using Hypothetical OHLC Data
Consider a hypothetical candle: Open ₹250.00, High ₹258.00, Low ₹243.00, Close ₹250.20.
Real body = |Close − Open| = |250.20 − 250.00| = ₹0.20 Full range = High − Low = 258.00 − 243.00 = ₹15.00 Body-to-range = 0.20 ÷ 15.00 ≈ 1.33%
A body this small relative to the full range is consistent with a Doji-like candle under many practical definitions, although classification thresholds vary. Try your own values in the calculator below.
Doji Ratio Calculator
Real body
Full range
Body ÷ range
A small body-to-range ratio can help identify a Doji-like candle but does not replace contextual chart analysis. This tool is for learning only and gives no buy, sell, or trade recommendation.
What Does a Doji Mean in Different Market Conditions?
After an Uptrend
A Doji may suggest that upward momentum has paused or that buyers and sellers are temporarily balanced. It does not prove that the uptrend is ending.
After a Downtrend
A Doji may indicate hesitation in the decline or a potential change in the balance of buying and selling pressure. It does not prove that prices will rise.
During Sideways Trading
Doji candles may appear frequently when prices move within a range. In this situation, a single Doji may have limited significance.
Near Support or Resistance
A Doji near a relevant price level may be worth examining alongside the broader chart, but the level and the pattern should not be treated as guarantees.
These are possible interpretations, not predictions. Illustrations are simplified examples.
How to Read and Confirm a Doji
Identify the preceding trend or trading range.
Examine nearby support and resistance zones.
Observe the size of the upper and lower shadows.
Check what subsequent candles do.
Consider trading volume where reliable and relevant data is available.
Consider the broader market, timeframe, liquidity, and possible news events.
Define risk before making any trading decision.
Some traders wait for a subsequent candle to provide additional evidence, but confirmation can fail and may come after part of a price move has already occurred. This guide does not provide live signals, price targets, guaranteed outcomes, or individualized investment advice.
Doji vs Other Candlestick Patterns
Comparison of Doji, Spinning Top, Hammer and Shooting Star
Pattern
Main visual feature
Common interpretation
Important limitation
Doji
Extremely small or nearly nonexistent real body; shadows vary.
Indecision or temporary balance.
Does not predict direction alone; common in sideways markets.
Spinning Top
Small but generally more noticeable real body, often with shadows on both sides.
Indecision or reduced momentum.
The line between a Spinning Top and a Doji varies by source.
Hammer
Small real body near the upper end of the range with a long lower shadow.
After a decline, may suggest lower prices were rejected.
Its location after a decline matters; confirmation is often sought.
Shooting Star
Small real body near the lower end of the range with a long upper shadow.
After a rise, may suggest higher prices were rejected.
Its location after a rise matters; confirmation is often sought.
Classification conventions can vary slightly, and pattern shape alone is insufficient for a reliable conclusion.
Common Mistakes When Reading a Doji
Assuming every Doji means a reversal
A Doji may precede a continuation, a reversal, or sideways movement.
Ignoring trend and market structure
The same shape can mean different things in different trends or ranges.
Treating it as a standalone signal
A single candle is an observation, not a complete trading plan.
Ignoring timeframe and broader market
A Doji on a one-minute chart carries different weight than one on a weekly chart.
Assuming all variations mean the same
Dragonfly, Gravestone, and Long-Legged Doji have different structures and context.
Forgetting real-world costs and risks
False signals, gaps, slippage, and transaction costs can affect trading outcomes.
Advantages and Limitations
Potential advantages
Easy to recognize once its structure is understood.
Helps highlight a pause or balance between opening and closing prices.
Encourages closer examination of market context.
Can complement other forms of technical analysis.
Limitations
Does not independently predict the next price movement.
May appear frequently in sideways markets.
Interpretation varies with timeframe and context.
Confirmation may be delayed or fail.
Cannot guarantee profitability or remove trading risk.
Key Takeaways
A Doji forms when the open and close are equal or very close.
Its small real body is its defining feature.
Shadow length and position distinguish common Doji variations.
Its significance depends on trend, price levels, timeframe, and subsequent price action.
A Doji is an observation about price action, not a guaranteed prediction.
Frequently Asked Questions
A Doji is generally associated with indecision or a temporary balance between buyers and sellers. Its possible bullish or bearish significance depends on the preceding price action, location, and subsequent confirmation.
No. A Doji does not guarantee a reversal. It may appear before a continuation, reversal, or period of sideways movement.
A Doji typically has an extremely small or nearly nonexistent real body, while a Spinning Top generally has a small but more noticeable real body. Both can reflect indecision, and classification thresholds may vary.
Beginners can study the Doji to understand price action, but should not rely on it alone to make trading decisions. Learning market structure, risk management, and confirmation methods is important.
Disclaimer: Educational content only. Candlestick patterns are not guaranteed indicators of future price movements and should not be used as the sole basis for investment or trading decisions. Market risk exists, and users should conduct their own research and consider their financial circumstances before making decisions.
Advertisments
Compare India's most trusted brokers side-by-side to find your perfect match.