Candlestick Pattern

Doji

The doji is an indecision candlestick where the open and close are nearly equal, signaling a potential reversal when it appears after an extended move.

H4D1
Start Free Trial

No credit card required

How to Identify

01

The candle's open and close prices are at or very near the same level, creating a very small or nonexistent body

02

The wicks can vary in length, creating different doji subtypes (standard, long-legged, dragonfly, gravestone)

03

A standard doji has roughly equal upper and lower wicks

04

A dragonfly doji has a long lower wick and no upper wick — bullish at support

05

A gravestone doji has a long upper wick and no lower wick — bearish at resistance

06

The doji must appear after an extended move to have reversal significance — in a range it is meaningless

Trading Rules

Entry Rules

  1. Never trade a doji alone — always require confirmation from the next candle
  2. Enter when the candle after the doji closes in the reversal direction
  3. Strongest signals occur when the doji forms at key support or resistance levels
  4. Look for doji at the end of extended moves of at least 5-7 candles in one direction
  5. Dragonfly doji at support and gravestone doji at resistance are the highest-probability subtypes

Exit Rules

  1. Target the next significant support or resistance level
  2. Use a minimum 1.5:1 risk-to-reward ratio based on stop distance
  3. Exit if the confirmation candle is reversed by the subsequent candle
  4. Consider trailing stops behind each new candle for trending moves
Target Calculation

No built-in measured move. Target the next key support or resistance level, or use a fixed risk-to-reward ratio of 1.5:1 to 2:1.

Stop Placement

Place stop beyond the doji candle's extreme. For bearish setups (gravestone doji), above the doji high. For bullish setups (dragonfly doji), below the doji low.

Success Rate

51-54% (needs confirmation)

Success rates vary based on market conditions, timeframe, and trader experience. Always validate patterns with your own journal data.

Journaling Tips

01

Record the doji subtype — standard, long-legged, dragonfly, or gravestone

02

Note the location — at support, resistance, trendline, moving average, or no specific level

03

Track whether you waited for confirmation and what the confirmation candle looked like

04

Log the length of the preceding move — how many candles was the trend before the doji

05

Record the doji's wick lengths relative to recent candles — longer wicks signal stronger indecision

What Is the Doji Pattern?

The doji is a single candlestick where the opening and closing prices are at or very near the same level. The result is a candle with a tiny body — or no body at all — and wicks extending above and below.

What the doji tells you is straightforward: during that candle period, neither buyers nor sellers could gain a decisive advantage. The period started at one price and ended at virtually the same price, regardless of how much the price moved in between.

On its own, the doji is not a trading signal. It is an indecision signal. But when indecision appears after a strong trend — at a key support or resistance level — it can be the first warning that the trend is exhausting.

The critical rule with doji is this: never trade a doji alone. Always wait for confirmation.

Types of Doji

Standard Doji

The classic doji has roughly equal upper and lower wicks with a tiny or nonexistent body in the middle. It represents balanced indecision — buyers pushed price up, sellers pushed it down, and the period ended where it began.

Long-Legged Doji

A long-legged doji has very long wicks in both directions, creating an exaggerated version of the standard doji. The long wicks show extreme volatility during the period — price moved significantly in both directions before settling near the open. This signals intense conflict between buyers and sellers.

Dragonfly Doji

The dragonfly doji has a long lower wick and virtually no upper wick. The body forms near the top of the candle. Price dropped significantly during the period but buyers pushed it all the way back up to the open.

This is the most bullish doji subtype. When it appears at support after a downtrend, it signals strong buying interest at lower prices.

Gravestone Doji

The gravestone doji is the bearish mirror — a long upper wick with virtually no lower wick. Price rallied during the period but sellers pushed it all the way back down to the open.

When a gravestone doji appears at resistance after an uptrend, it signals that sellers are defending the level aggressively.

How to Trade the Doji

The Confirmation Rule

This cannot be overstated: the doji alone has a 51-54% success rate. That is barely better than random. The doji tells you that indecision has entered the market, but it does not tell you who will win.

The confirmation candle — the candle that follows the doji — is what gives you the trading signal:

  • Bullish confirmation: The candle after the doji closes bullish, above the doji’s high
  • Bearish confirmation: The candle after the doji closes bearish, below the doji’s low

Only enter once confirmation appears. This single rule transforms the doji from a coin-flip trade into a legitimate setup.

Location Filter

The second essential filter is location. Trade doji patterns only when they form at levels that matter:

  • Key support or resistance — Levels that have been tested multiple times
  • Trendline touches — Where price meets a diagonal support or resistance
  • Moving average confluences — Where a doji forms right at the 50, 100, or 200 period moving average
  • Fibonacci levels — 38.2%, 50%, 61.8% retracement levels
  • Previous swing points — Former highs and lows that may act as support or resistance

A doji at a key level with confirmation is a high-probability trade. A doji in the middle of nowhere with no level is noise.

Trend Context

Doji have reversal significance only after an extended move. If price has been trending for 5-7 or more candles in one direction and a doji forms, the indecision is meaningful — the trend may be exhausting.

A doji in a sideways range is meaningless. The market is already indecisive in a range; the doji is just confirming what you already know.

Trading Rules

Entry

After a doji forms at a key level with trend context:

  1. Wait for the next candle (confirmation candle)
  2. If the confirmation candle closes in the reversal direction, enter at the close of the confirmation candle or the open of the following candle
  3. For dragonfly doji at support, require a bullish close above the doji high
  4. For gravestone doji at resistance, require a bearish close below the doji low

Target

The doji does not have a built-in measured move. Use one of these approaches:

  • Target the next key support or resistance level
  • Use a fixed R:R of 1.5:1 to 2:1 based on your stop distance
  • Trail your stop behind each subsequent candle

The risk-reward calculator helps you plan these levels before entering. Given the doji’s moderate success rate, you need at least 1.5:1 R:R to build a positive expectancy.

Stop Placement

Place your stop beyond the doji’s extreme:

  • Bullish doji setup: Stop below the doji’s low (or below the confirmation candle’s low if it is lower)
  • Bearish doji setup: Stop above the doji’s high (or above the confirmation candle’s high if it is higher)

For long-legged doji, the stop can be large because of the extended wicks. In these cases, reduce your position size to keep your risk constant as a percentage of your account.

Journaling This Pattern

Doji patterns are perfect for journaling because there are clear variables that separate winners from losers.

Record for every doji trade:

  • Doji subtype: Standard, long-legged, dragonfly, or gravestone
  • Location: At support, resistance, trendline, MA, Fibonacci level, or no specific level
  • Trend length: How many candles was the preceding move?
  • Confirmation: What did the confirmation candle look like? Strong close, weak close, long wick?
  • Wick ratios: How long were the doji’s wicks relative to recent candles?
  • Timeframe: H4 or D1
  • Pair: Which currency pair

PipJournal’s analytics will show you which doji subtypes and locations produce your best results. You may find that gravestone doji at D1 resistance on major pairs have a 70% win rate with confirmation, while standard doji on H4 charts rarely work for you. That is the kind of insight that turns indecision into profit.

Common Mistakes

Trading doji without confirmation. This is the number one mistake. The doji is an indecision signal, not a direction signal. Without confirmation, you are guessing. Accept the slightly worse entry price that waiting for confirmation costs — it dramatically improves your win rate.

Doji in ranges. If price is oscillating sideways, a doji is just another candle. The indecision that a doji represents is only meaningful after a directional move. In a range, everything is indecisive.

Lower timeframe doji. On M5 or M15, doji candles appear many times per day and most are meaningless fluctuations. On H4 and D1, each doji represents hours or an entire day of genuine indecision — these carry weight.

Treating all doji the same. A dragonfly doji at support is not the same signal as a standard doji in the middle of a range. The subtypes have different implications. Track them separately in your journal.

When It Fails

Doji signals fail when the confirmation candle is reversed by the subsequent candle. This is why stop losses are essential.

Failures are more common when:

  • The doji forms with no key level as context
  • The preceding trend is very strong and the doji is a brief pause, not exhaustion
  • Volume on the confirmation candle is low
  • A fundamental catalyst overrides the technical signal

A failed doji reversal — where confirmation appears but the original trend resumes — signals that the trend is stronger than the indecision suggested. These failures are actually useful information: the trend has absorbed the indecision and continues with renewed conviction.

Track these failures in PipJournal. Understanding when doji signals fail in your trading is as valuable as knowing when they work.

Build your doji pattern track record with data. PipJournal tracks your candlestick pattern results, segments by subtype and location, and uses AI to identify behavioral patterns in your trading — $179 lifetime, no subscriptions ever.

Common Mistakes

Trading a doji without waiting for confirmation — the doji signals indecision, not direction

Trading doji in the middle of a range where indecision is the default state

Treating all doji subtypes the same — dragonfly and gravestone have directional bias

Overtrading doji on lower timeframes where they appear constantly and mean little

Frequently Asked Questions

What does a doji candlestick mean?

A doji means indecision — buyers and sellers fought to a standstill during that candle period, with the close ending near the open. After an extended trend, this indecision can signal that the trend is losing momentum and a reversal may follow.

Is a doji bullish or bearish?

A standard doji is neutral — it signals indecision, not direction. The context determines the bias. A doji after a downtrend at support is potentially bullish. A doji after an uptrend at resistance is potentially bearish. The confirmation candle determines the actual direction.

What are the types of doji patterns?

The main types are: standard doji (equal wicks, tiny body), long-legged doji (very long wicks both directions), dragonfly doji (long lower wick, no upper wick — bullish), and gravestone doji (long upper wick, no lower wick — bearish).

Why should I not trade a doji without confirmation?

The doji only shows indecision — it does not show direction. Without a confirmation candle, you are guessing which side will win. The confirmation candle tells you which side actually won the battle. Trading without it drops your success rate significantly.

What is the success rate of doji patterns?

Doji patterns alone have a 51-54% directional accuracy — barely better than a coin flip. With proper confirmation and location filtering (at key levels, after extended moves), the success rate improves substantially. PipJournal tracks your personal doji success rate with and without confirmation.

What timeframes work best for doji patterns?

H4 and D1 produce the most meaningful doji signals. On lower timeframes, doji candles appear frequently and most are noise. Each H4 or D1 doji represents hours or a full day of genuine indecision, making the signal more significant.

Start Tracking Your Patterns

Journal every pattern trade to discover which setups actually work for you.

Start Free Trial

No credit card required

SSL Secure
One-Time Payment
7-Day Money-Back