indicator · on price · open source
Abandoned Baby indicator
Abandoned Baby is a free open-source indicator by @deepwick. Abandoned Baby: rare 3-bar reversal — a bearish candle, a gapped-up doji, then a bullish… Deepwick Script runs a subset of Pine Script.
Running…
Loading chart…
What Abandoned Baby does
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
Deepwick Script, a subset of Pine Script · read-only
//@version=6
indicator("Abandoned Baby", overlay=true)
colorUp = input.color("color.green", "Color Up")
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 ? colorUp : na)
plotshape(ab, "Abandoned Baby", style=shape.diamond, location=location.belowbar, color=colorUp, text="AB")
alertcondition(ab, "Abandoned Baby", "Bullish Abandoned Baby printed")
No comments yet.
Sign in to comment.