Bullish Abandoned Baby Candlestick – Strong Reversal Pattern
Below is a simple AFL script to detect the Bullish Abandoned Baby in Amibroker:
// Bullish Abandoned Baby AFL Code for Amibroker
_SECTION_BEGIN(“Bullish Abandoned Baby”);
FirstBearish = Ref(Close, -2)
DojiWithGapDown = Ref(Close, -1) > Ref(Open, -1) AND Ref(High, -1)
FinalBullish = Close > Open AND Close > Ref(Midpoint(High, Low), -2) AND Open > Ref(High, -1);
BullishAbandonedBaby = FirstBearish AND DojiWithGapDown AND FinalBullish;
PlotShapes(IIf(BullishAbandonedBaby, shapeStar, shapeNone), colorGreen, 0, Low);
_SECTION_END();
This script finds Bullish Abandoned Baby patterns and marks them with a green star.