CustomTradingPlatform .com
Log in Get started free
Home / Technical Analysis / Candlestick patterns / Long-Legged Doji

Candlestick formation · Neutral

Long-Legged Doji

What is it, in one line

A doji with long wicks on both sides of the body.

Neutral · 1 candle · verdict: rule and thresholds below

Neutral 1 candle Traditional claim
Long-Legged Doji — 11 price bars ending on the bar where the Long-Legged Doji completes. The final bar is the formation, shaded; the bars before it are the prior context the rule requires.
Verified example · fires the Long-Legged Doji rule · not a schematic

What has to be true

A doji with long wicks on both sides of the body. The engine checks the formation as an executable condition over open, high, low and close, with a trend filter applied before the count is kept.

candles = 1 candle
direction = Neutral
trend filter = prior either direction
forward window = 10 bars

Method

What the engine tests

A candle whose body is negligible and whose wicks extend well above and below it. Price covered substantial ground in both directions and finished level.

Family
Candlestick
Bars
Single bar
Direction
Neutral
Class
Indecision
Prior context
None required
TA-Lib
CDLLONGLEGGEDDOJI

The traditional claim

Traditionally read as sharper indecision than a plain doji, on the reasoning that both sides committed and neither won.

How this detection is wrong

Every long-legged doji is also a doji; the wick minimums are the only difference. A doji with one long wick and one short one is a dragonfly or gravestone instead.

The thresholds the detector uses

Published so the count can be reproduced. Every figure below is a parameter of the rule, not a preference: change one and the occurrence count changes with it.

Detection parameters for the Long-Legged Doji
ParameterMeaningDefault
maxBodyPctbody, at most, as a share of the range0.05
minWickPcteither wick, at least, as a share of the range0.3
minRangeAtrbar range, at least, in ATR0.5
atrPeriodbars of ATR used to size everything below14
strict
Tighter thresholds. Fewer detections, each a cleaner example.
maxBodyPct 0.02 · minWickPct 0.4
loose
Wider thresholds. More detections, more marginal ones.
maxBodyPct 0.1 · minWickPct 0.2
no-range-floor
minRangeAtr 0

Easily mistaken for

These share enough geometry that a detector can return more than one of them on the same bar. The engine reports every match rather than picking a winner.

Every pair on the site that can be mistaken for another, and what separates each: the look-alikes index.

Common questions

What is a Long-Legged Doji candlestick pattern?

A candle whose body is negligible and whose wicks extend well above and below it. Price covered substantial ground in both directions and finished level.

Is the Long-Legged Doji bullish or bearish?

It is read as neutral. Traditionally read as sharper indecision than a plain doji, on the reasoning that both sides committed and neither won.

When is a Long-Legged Doji not a Long-Legged Doji?

Every long-legged doji is also a doji; the wick minimums are the only difference. A doji with one long wick and one short one is a dragonfly or gravestone instead.

How is a Long-Legged Doji detected?

As an executable rule over open, high, low and close, with 4 named parameters — including body, at most, as a share of the range 0.05, either wick, at least, as a share of the range 0.3, bar range, at least, in ATR 0.5 — all published on this page so the count can be reproduced. Strict and loose variants are defined as well, so the sensitivity of the count to those thresholds is visible rather than assumed.

Measurement pending re-run

No hit rate is published here yet. The run that would supply one was computed on engine ca6d9e36c81c; the engine is now cfb08765de7c. Its candlestick rows included the still-forming bar, and it predates the chart formations entirely, so those figures have been withdrawn rather than published with a caveat. The definition above is unaffected: it is what the detector tests, and no re-run changes it.

How this was measured →

Other single-candle formations

All 107 →
Rickshaw Man A long-legged doji whose body sits near the middle of the range.
Spinning Top Small body, wicks both sides. The most common formation in the set.
High Wave Small body with wicks so long the session says almost nothing.
Takuri Line A hammer with an unusually long lower wick.

Size a trade on this setup before you take it.