indicator · on price · open source

Abandoned Baby

Deepwick · @deepwickv1Updated 2 Oct 2026▲ 0 users
Running…
Loading chart…

About

Abandoned Baby: rare 3-bar reversal — a bearish candle, a gapped-up doji, then a bullish candle that gaps up again, leaving the middle bar isolated from the others.

  • Green bar colour on the confirmation bar.
  • One of the strongest reversal patterns; only triggers in clearly gapped markets.

Source code

//@version=5
indicator("Abandoned Baby", overlay=true)
doji2 = math.abs(close[1] - open[1]) < (high[1] - low[1]) * 0.2
ab = close[2] < open[2] and doji2 and low > high[1] and close > open and low > high[2]
barcolor(ab ? color.green : na)
plotshape(ab, "Abandoned Baby", style=shape.diamond, location=location.belowbar, color=color.green, text="AB")
alertcondition(ab, "Abandoned Baby", "Bullish Abandoned Baby printed")

Comments

No comments yet.

Sign in to comment.