Measure full candle ranges, not only bodies
Label the candles 1, 2 and 3 in time order. O, H, L and C mean open, high, low and close. TradingView explicitly requires the doji shadows to gap completely beyond the shadows of both outside candles. The inequalities below express that requirement; equality means a touch, not a gap.
- A body gap compares open/close endpoints. A full-range gap compares highs and lows. Separated bodies can coexist with overlapping wicks.
- A morning or evening doji star may have a similar three-body arrangement. Apply the two full-range tests before using the abandoned baby name.
- The doji may close slightly above or below its open. State a numerical tolerance rather than relying on candle color or screen appearance.
- An island reversal can isolate multiple bars and does not require a single doji. Do not merge all double-gap formations into this pattern.
| Condition | Bullish abandoned baby | Bearish abandoned baby |
|---|---|---|
| Prior context | A defined decline before candle 1 | A defined rise before candle 1 |
| Outside candles | Bearish candle 1, bullish candle 3 | Bullish candle 1, bearish candle 3 |
| Middle candle | Doji below both neighbors | Doji above both neighbors |
| First full-range gap | H2 < L1 | L2 > H1 |
| Second full-range gap | H2 < L3 | L2 > H3 |
| When knowable | After candle 3 closes | After candle 3 closes |