Candlestick patternsLong-Legged Doji
A doji with long wicks on both ends — indecision after a violent, wide-ranging fight.
Works in most conditionsEngine-computed on a fixed sample series
What it is
A long-legged doji is a candlestick that captures a session of intense indecision, a fight between buyers and sellers that ends in a draw after a wide-ranging battle. Like any doji, its open and close finish at nearly the same price, so the real body is tiny or nonexistent, meaning neither side gained ground by the close. What sets the long-legged variety apart is that both the upper and lower shadows are long, showing that price swung dramatically in both directions during the session before returning to the middle. For a beginner, picture a session where bulls charged price sharply higher, bears slammed it sharply lower, and by the end the two forces cancelled out exactly, leaving price back where it started with long wicks marking how far each side pushed. It is one of the most vivid single-candle expressions of a market that cannot decide.
How it is formed
The pattern forms when a session opens, then trades far above and far below that opening price, yet closes back at or very near where it opened. The near-equality of the open and close creates the doji's characteristic minimal body, while the wide intraday travel in both directions produces the long upper and lower shadows that give the pattern its name. The color of the tiny body is essentially irrelevant, since open and close are nearly identical. What matters is the combination of a negligible body sitting roughly in the center of a tall total range with prominent wicks on both ends. The wider those wicks, and therefore the larger the total range, the more forceful the indecision the candle represents, because it took a genuine, violent tug-of-war to produce so much movement with no net result.
Reading it, step by step
The long wicks on both ends are the message: they show a genuine, evenly matched battle in which neither buyers nor sellers could hold the ground they briefly seized. This makes the long-legged doji a sharper expression of indecision than a plain doji, whose smaller range reflects a quieter standoff. Context determines its significance, and it matters most when it appears after a strong, extended trend, where it flags exhaustion and a possible turning point as the prevailing side suddenly meets fierce opposition. In the middle of a range, by contrast, it merely confirms the ongoing chop and leads nowhere. The candle by itself only signals a pause or a balance of power, never a direction, so the immediate task after spotting one is to watch the next session to see which side finally breaks the deadlock.
Best timeframes and settings
As a candlestick, the long-legged doji has no parameters, but the timeframe strongly affects its weight, and it carries the most meaning on daily and weekly charts where each candle summarizes a full session or week of conviction. On those higher timeframes a long-legged doji after a big trend is a genuine warning worth respecting. On very low intraday timeframes these candles form frequently and mean little, because a few minutes of two-way chop produces the shape constantly without any larger significance. Swing and position traders are its natural users, watching for it at the end of extended moves. The one setting that matters is not numeric but contextual: the candle is only a meaningful signal when it appears after a strong trend and ideally at a level where a reversal would make sense.
When and where to use it
The long-legged doji is a reversal-warning and indecision tool, so it is most useful at the exhaustion end of a strong trend, particularly when price has reached a support or resistance level that independent analysis already respects. It appears across all liquid markets, from stocks to futures to forex, because it reflects universal auction psychology. It is far less useful in the middle of a choppy range, where it forms randomly and confirms only the existing indecision. Use it as a prompt to pay close attention, tighten stops, or prepare for a possible turn, rather than as a standalone entry signal. Avoid acting on it without a clear preceding trend and without waiting for the next candle to resolve which side has taken control.
Strategies that use it
The disciplined approach is to wait for resolution: after a long-legged doji forms at the end of an uptrend, watch for the next candle to close decisively below the doji's range, then enter short with a stop above the doji's high, letting the candle's extreme define the risk. The mirror strategy at the end of a downtrend enters long on a close above the doji's high. A more conservative variant treats the doji only as a signal to protect existing profits, tightening the trailing stop on an open position rather than initiating a new one, since the candle warns the trend may be stalling. A confluence strategy takes the doji seriously only when it forms at a major support or resistance level or coincides with an overbought or oversold oscillator reading, ignoring it elsewhere. In all cases the doji's high and low are natural stop and trigger references.
Combining it with other indicators
Because a lone long-legged doji only signals indecision, confluence is what turns it into a tradable idea. Momentum oscillators such as the RSI or the stochastic add weight when they show an overbought or oversold condition, or a divergence, coinciding with the candle at the end of a trend. Horizontal support and resistance, trendlines, and Fibonacci levels give the doji a location that makes a reversal plausible. A spike in volume on the doji session suggests the two-way battle involved heavy participation, strengthening the exhaustion read. Moving averages help confirm that price is at a stretched extreme relative to its trend. The rule is that a long-legged doji at a key level with confirming momentum and volume is a real warning, while one floating in the middle of a range is noise.
Where it fails
The dramatic shape tempts traders to call a top or bottom prematurely, buying or selling the moment the doji prints, before any resolution, and getting caught when the trend simply resumes. The candle only signals a pause, so treating it as a confirmed reversal is the central error. In choppy, directionless markets long-legged dojis form repeatedly and lead nowhere, so trading each one bleeds capital. Without a preceding trend the pattern has no reversal to warn about and is essentially meaningless. The safeguards are to require a strong prior trend, to wait for the next candle to close beyond the doji's range before committing, to demand a logical support or resistance level, and to place a stop beyond the doji's extreme so that the frequent failures cost little.
A worked example
A stock has rallied hard from eighty to one hundred and ten over three weeks and reaches a well-known resistance shelf at one hundred and twelve. The next session opens at one hundred and ten, spikes up to one hundred and fifteen, plunges to one hundred and five, and closes back at one hundred and ten, printing a long-legged doji with wide wicks right at resistance, while the RSI shows a bearish divergence. You do not sell immediately. The following session opens at one hundred and nine and closes weakly at one hundred and four, below the doji's range, confirming that sellers won the standoff. You enter short near one hundred and four with a stop at one hundred and sixteen, just above the doji's high, and as the reversal develops price slides to ninety-four, where you cover, having let the doji warn you and the next candle confirm the turn rather than guessing at the top.