CDLLONGLEGGEDDOJI
Summary
Single-candle doji (open ~ close) with at least one long shadow. Signals market indecision, not a directional bias. Marks indecision/uncertainty; not inherently bullish or bearish despite the positive sign.
Formula
One candle. Hit when: real body <= BodyDoji average (doji body) AND (lower shadow > ShadowLong average OR upper shadow > ShadowLong average), i.e. at least one long shadow.
Notes
- Only one long shadow (upper or lower) is required, whereas the classic pattern shows both long upper and lower shadows.
Inputs
inPriceOHLC— OHLC price series (open, high, low, close)
Outputs
outInteger— +100 when the pattern is present, 0 otherwise. Only +100 is emitted; the code never emits -100, and the positive sign does NOT mean bullish
Implementation
TA-Lib Definition: cdllongleggeddoji.c · cdllongleggeddoji.yaml
| Native | File |
|---|---|
| C | ta_CDLLONGLEGGEDDOJI.c |
| Rust | cdllongleggeddoji.rs |
| Java | Core.java |
TA-Lib is also available for Python, R and more using a wrapper.
Aliases
Long Legged Doji
See Also
CDLDOJI · CDLGRAVESTONEDOJI · CDLDRAGONFLYDOJI · CDLRICKSHAWMAN