Candlestick Pattern

Long-Legged Doji

Long-Legged Doji is a single-candle pattern with an open and close at nearly the same price but with exceptionally long upper and lower shadows, signaling extreme indecision and a potential trend.

1-hour4-hourdaily
Start Free Trial

No credit card required

How to Identify

01

Open and close within 10% of the candle's total range (near-identical prices)

02

Upper shadow at least 2x the real body height

03

Lower shadow at least 2x the real body height

04

Total candle range significantly larger than the 14-bar ATR average

05

Appears after a sustained directional move of at least 5 bars

Trading Rules

Entry Rules

  1. Wait for the confirmation candle: a close in the opposite direction to the prior trend
  2. Enter on the open of the bar after confirmation, or on a retest of the doji's midpoint
  3. Volume on the doji candle should be at least 1.25x the 20-bar average
  4. Do not enter if the doji forms inside consolidation — context requires a clear prior trend

Exit Rules

  1. Primary target: nearest significant support or resistance level in the reversal direction
  2. Secondary target: measured move equal to the doji's total shadow range projected from the close
  3. Trail stop to breakeven once price moves 1R in your favor
  4. Exit immediately if price closes back through the doji's midpoint
Target Calculation

Measure the full range of the long-legged doji from shadow tip to shadow tip. Project that distance from the confirmation candle's close in the reversal direction. This gives the minimum measured move target.

Stop Placement

Place the stop loss 1-3 pips beyond the extreme shadow of the doji that opposes your trade direction. For a bearish reversal, stop goes above the upper shadow high. For a bullish reversal, stop goes below the lower shadow low. This keeps risk tightly defined and provides a clear invalidation level.

Success Rate

55-62% on daily and 4-hour charts at key support/resistance levels with confirming next-bar close

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's total shadow range in pips and compare it to the 14-bar ATR

02

Note the volume relative to the 20-bar average on the doji candle

03

Tag whether the pattern appeared at a key level (support, resistance, Fibonacci, prior swing)

04

Record the confirmation candle's close price and time to entry

05

Track whether you entered on the open after confirmation or on a retest

The long-legged doji is a single candlestick pattern defined by an open and close at virtually the same price, flanked by unusually long upper and lower shadows. It represents the most extreme form of market indecision — buyers and sellers both drove price significantly in their direction during the session, yet neither could hold the move, and price snapped back to the opening level. At the end of a sustained trend, this battle for control often precedes a reversal. The pattern is most reliable on the 4-hour and daily charts in major forex pairs and liquid equities, where it marks a genuine tug-of-war at contested price levels.

How to Identify the Long-Legged Doji

  1. Near-identical open and close — The real body (distance between open and close) must fall within 10% of the candle’s total range. If the candle spans 80 pips total, the body cannot exceed 8 pips. Anything larger is a spinning top, not a doji.

  2. Extended upper shadow (at least 2x the body) — The wick above the body must be at least twice the body’s height. A 4-pip body requires an upper shadow of at least 8 pips. The shadow should extend well above recent price action.

  3. Extended lower shadow (at least 2x the body) — Symmetrical requirement on the downside. Both shadows being long is what separates this from a gravestone doji or dragonfly doji, which have one dominant shadow.

  4. Total range exceeds recent ATR — The candle’s high-to-low range should be at least 1.5x the 14-bar ATR. This filters out doji candles that form on normal-volatility bars and focuses attention on sessions where an unusual price battle occurred.

  5. Appears after a trending move of at least 5 bars — Context is everything. The long-legged doji only carries reversal significance when it emerges after a directional sequence. A doji forming inside sideways consolidation is noise, not signal.

Volume note: Doji candles with volume at or below the 20-bar average are weak signals. Reversal-quality long-legged dojis typically print on volume 1.25x or more the average, reflecting genuine participation from both sides before the session closes undecided.

Entry Rules

  1. Wait for confirmation — Do not enter during or at the close of the doji. The confirmation candle — the bar immediately following the doji — must close in the reversal direction before any entry is valid.

  2. Entry timing options — Enter at the open of the bar after the confirmation candle closes, or wait for price to pull back to the doji’s midpoint (the average of the session’s high and low) for a lower-risk entry with improved R:R.

  3. Volume filter — The doji candle itself should show volume at least 1.25x the 20-bar average. If volume is below average, skip the trade regardless of how the candle looks.

  4. Trend context required — Only trade the doji at the end of a clear directional move of 5 or more bars. Dojis forming inside ranges do not qualify.

Exit Rules & Targets

  1. Primary target — The nearest significant support level (for bearish reversals) or resistance level (for bullish reversals) on the same timeframe. This is the minimum target, and it should be at least 1.5R away to justify the trade.

  2. Secondary target — Project the full shadow range (high to low of the doji candle) from the confirmation candle’s close in the reversal direction. This measured move target is the secondary exit.

  3. Trailing stop — Once price moves 1R in your favor, move the stop to breakeven. As price approaches the primary target, trail the stop to the most recent swing point in the reversal direction.

  4. Invalidation exit — If price closes back through the doji’s midpoint after entry, exit immediately. This invalidates the reversal thesis regardless of whether the stop has been hit.

Target Calculation: Measure the distance in pips from the doji’s lowest shadow tip to its highest shadow tip. Add (for bullish reversals) or subtract (for bearish reversals) that distance from the confirmation candle’s closing price. For example, a doji spanning 120 pips with a bearish confirmation closing at 1.2850 gives a measured move target of 1.2730.

Stop Loss Placement

Place the stop loss 2-3 pips beyond the extreme shadow that opposes your trade. For a bearish reversal, the stop sits 2-3 pips above the doji’s upper shadow high. For a bullish reversal, the stop sits 2-3 pips below the lower shadow low. This placement is appropriate because a close beyond the shadow extreme definitively negates the indecision signal — it means one side has won. Given the long shadows, R:R ratios of 1.5:1 to 2.5:1 are typical when the target is a nearby structural level.

Practical Example

On the daily chart of AAPL, price rallies from $195 to $224 over 11 consecutive sessions. On session 12, a long-legged doji prints: open at $225.40, close at $225.70, high at $232.00, low at $218.50. Total range: $13.50. Body: $0.30 (2.2% of range). Upper shadow: $6.30. Lower shadow: $7.20. Volume is 1.4x the 20-day average. The 14-day ATR is $6.80, so the $13.50 range is 1.98x ATR — a clear outlier session.

Session 13 confirms with a bearish close at $221.80, opening entry at $221.80 on session 14’s open. Stop: $232.30 (3 cents above the doji high). Risk: $10.50 per share. Primary target: $210 (prior resistance-turned-support). Distance: $11.80. R:R: 1.12:1 — borderline, so the trader waits for a retest of the doji midpoint at $225.25, entering there. Revised risk: $7.05. Target remains $210. R:R improves to 2.16:1. On a $25,000 account risking 1% ($250), position size is 35 shares. Price reaches $210 over 9 sessions, producing a gain of $532.

Best Timeframes for the Long-Legged Doji

The daily chart is the highest-reliability timeframe, producing confirmed reversals approximately 58-62% of the time at documented support and resistance levels. The 4-hour chart follows closely, particularly during London and New York sessions when volume is sufficient to validate the pattern. The 1-hour chart works at major session highs and lows but generates more false signals — requiring tighter additional filters such as an RSI divergence or a key Fibonacci level. Below the 1-hour chart, the pattern loses meaningful edge due to spread costs and noise, and is not recommended for systematic trading.

Common Mistakes

  1. Entering before the doji closes — Price can shift dramatically in the final minutes of the session, turning a potential doji into a bullish or bearish engulfing candle. Always wait for the official close before evaluating the setup.

  2. Trading dojis inside consolidation — A long-legged doji that forms inside a range or choppy price action is not a reversal signal. It is just another range candle. The pattern requires a clear directional trend preceding it to carry reversal meaning.

  3. Ignoring volume — A long-legged doji on below-average volume often reflects low participation rather than a genuine buyers-versus-sellers battle. Without volume support, the indecision reading is unreliable and the follow-through rate drops below 50%.

  4. Placing the stop inside the shadow — Stops set at the doji’s midpoint or at the edge of the body get hunted with high frequency. The stop must sit beyond the shadow extreme to survive the normal price noise that follows these patterns.

  5. Skipping confirmation — Traders who enter at the doji close without waiting for the confirmation candle face a coin-flip entry. The confirmation requirement adds one bar of delay but raises the success rate by filtering out dojis that resolve in the trend direction.

How to Journal Long-Legged Doji Trades

Journal FieldWhat to RecordWhy It Matters
Pattern TypeLong-Legged Doji (Bullish/Bearish)Filter and review only doji reversals
Prior Trend LengthNumber of bars in the preceding moveIdentify whether trend context was sufficient
Shadow RatioBody % of total rangeConfirm pattern meets the under-10% threshold
ATR MultipleDoji range divided by 14-bar ATRTrack whether high-volatility dojis perform better
Volume ConfirmationDoji volume vs. 20-bar average (e.g., 1.4x)Validate participation level at the pattern
Key Level ConfluenceSupport / Resistance / Fibonacci / NoneMeasure how confluence affects success rate
Entry TypeOpen-after-confirmation or midpoint retestDetermine which entry method improves R:R

After 50 or more logged trades, sorting by the ATR multiple and volume columns typically reveals a clear performance threshold — dojis at 1.75x ATR or above and 1.25x volume or above tend to resolve correctly at significantly higher rates than those below these levels. PipJournal’s tagging and filter system lets you isolate these high-quality setups from the full dataset and build a personal benchmark for which long-legged doji variations actually produce edge in your trading style.

Related patterns worth studying alongside the long-legged doji include the doji, gravestone doji, dragonfly doji, and high-wave candle — all members of the indecision candlestick family that share similar context requirements but differ in their directional bias. The pin bar is a closely related Western-analysis equivalent worth tracking side by side in your journal to compare which variation fits your execution style.

Common Mistakes

Entering during the doji candle itself before it closes — the body position can shift dramatically

Trading a long-legged doji that forms inside a range rather than at the end of a trend

Ignoring volume — a doji on below-average volume carries far less reversal significance

Setting the stop inside the shadow rather than beyond the shadow extreme

Skipping the confirmation candle requirement and treating every doji as a reversal signal

Frequently Asked Questions

What makes a doji 'long-legged' versus a standard doji?

A standard doji has a near-zero body with shadows of roughly equal size relative to recent candles. A long-legged doji specifically requires both upper and lower shadows to be at least 2x the body length and the total range to be notably larger than the recent average true range — typically 1.5x or more the 14-bar ATR. The extended shadows indicate an unusually wide battle between buyers and sellers before prices settled near the open.

Is the long-legged doji bullish or bearish?

Neither on its own — it signals indecision, not a directional bias. The reversal direction depends entirely on context. At the top of an uptrend, it leans bearish. At the bottom of a downtrend, it leans bullish. The confirmation candle (the bar that follows) determines the actual trade direction.

How is the long-legged doji different from a spinning top?

Both have small real bodies with extended shadows, but a spinning top has a visible body (open and close separated by a meaningful amount) while a long-legged doji has an open and close within roughly 10% of the total candle range. The doji also typically has longer and more symmetrical shadows. The distinction matters because doji patterns carry stronger indecision signals due to the near-identical open and close.

What is the best timeframe to trade the long-legged doji?

The 4-hour and daily charts produce the most reliable signals because noise is filtered out and the pattern tends to form at genuinely contested price levels. On the 1-hour chart, the pattern is viable at major session highs and lows. Below the 1-hour chart, false signals increase significantly and the pattern loses statistical edge.

Does the long-legged doji work in forex markets?

Yes, and it performs particularly well in major forex pairs during high-liquidity sessions. Long-legged dojis frequently appear around major news events or at session open/close transitions when directional momentum temporarily collapses. The London-New York overlap and end-of-session prints on the New York close are common formation windows.

How many bars of prior trend are needed before the doji is valid?

A minimum of 5 consecutive bars trending in one direction before the doji gives the pattern reversal context. Stronger signals come after 8-15 bars of sustained movement. A doji appearing after only 2-3 directional bars is more likely random noise and does not qualify as a reversal setup.

Should I use the long-legged doji as a standalone signal?

No. The pattern should confirm with at least one additional factor: a key support or resistance level, a Fibonacci retracement zone (38.2%, 50%, or 61.8%), an overbought or oversold oscillator reading, or a prior swing high or low. Using the pattern in confluence with a structural level raises the success rate from roughly 45% in isolation to the 55-62% range documented at identified levels.

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