CDLKICKINGBYLENGTH
CDLKICKINGBYLENGTH
Summary
A two-candle pattern of two opposite-color marubozu (long body, very short shadows on both ends) separated by a gap. A strong directional/reversal signal whose bull/bear bias is set by the longer of the two marubozu. A hit signals a strong directional move; +100 bullish / -100 bearish per the color of the longer marubozu.
Inputs
inOpen— Open price of each barinHigh— High price of each barinLow— Low price of each barinClose— Close price of each bar
Outputs
outInteger— +100 or -100 on a hit, 0 otherwise. Sign = candlecolor of the candle with the larger realbody (i if realbody(i) > realbody(i-1), else i-1; tie goes to i-1): +100 if that marubozu is white, -100 if black
Properties
Numerical Stability: Start-Independent
| Display Flags |
|---|
| ☐ Overlap Input |
| ✅ Independent Y-Axis i |
| ✅ Candlestick i |
Implementation
TA-Lib Definition: cdlkickingbylength.c · cdlkickingbylength.yaml
| Native | File |
|---|---|
| C | ta_CDLKICKINGBYLENGTH.c |
| Rust | cdlkickingbylength.rs |
| Java | Core_CDLKICKINGBYLENGTH.java |
TA-Lib is also available for Python, R and more using a wrapper.
Aliases
Kicking by Length, Kicking - bull/bear decided by the longer marubozu