Abandoned Baby (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.
Notes
- Does not verify the prior trend the pattern classically assumes for significance.
- Bulkowski found the Abandoned Baby both very rare (293 occurrences out of 4.7 million candle lines, frequency rank 92 of 103) and unusually reliable when it does occur (70% success as a reversal, overall performance rank 9 of 103). (thepatternsite.com)
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
Output Values
| Value | Meaning |
|---|---|
| -100 | Abandoned Baby Top — an isolated doji stranded by gaps on both sides at a high, a rare but strong bearish reversal |
| 0 | No pattern |
| 100 | Abandoned Baby Bottom — an isolated doji stranded by gaps on both sides at a low, a rare but strong bullish reversal |
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
| ☐ Overlap Input |
| ✅ Independent Y-Axis i |
| ✅ Candlestick i |
| ☐ Can Output NaN or ±Inf |
| ☐ Identity at Period 1 |
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