CDLABANDONEDBABY
CDLABANDONEDBABY
Summary
A three-candle reversal pattern: a long body, then a gapped-away doji, then a body of opposite color that gaps back the other way and closes deep into the first body. Bullish (bottom) or bearish (top) reversal signal. Nonzero hit signals a reversal: +100 abandoned baby bottom (bullish), -100 abandoned baby top (bearish).
Notes
- Does not verify the prior trend the pattern classically assumes for significance.
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 at a bullish abandoned baby bottom (3rd candle white), -100 at a bearish abandoned baby top (3rd candle black), 0 otherwise; sign = color of the 3rd candle
Parameters
| Parameter | Type | Default | Accepted values | Description |
|---|---|---|---|---|
optInPenetration | real | 0.3 | ≥ 0 | Fraction of the 1st candle's real body the 3rd close must penetrate |
Properties
Numerical Stability: Start-Independent
| Display Flags |
|---|
| ☐ Overlap Input |
| ✅ Independent Y-Axis i |
| ✅ Candlestick i |
Implementation
TA-Lib Definition: cdlabandonedbaby.c · cdlabandonedbaby.yaml
| Native | File |
|---|---|
| C | ta_CDLABANDONEDBABY.c |
| Rust | cdlabandonedbaby.rs |
| Java | Core_CDLABANDONEDBABY.java |
TA-Lib is also available for Python, R and more using a wrapper.
Aliases
Abandoned Baby
See Also
CDLEVENINGDOJISTAR · CDLMORNINGDOJISTAR · CDLEVENINGSTAR · CDLMORNINGSTAR