How to Trade Smarter with Tweezer Top Candlestick Pattern
Below is a simple AFL script to detect the Tweezer Top in Amibroker:
// Tweezer Top AFL Code for Amibroker
SameHigh = (Ref(High, -1) == High);
FirstBullish = Ref(Close, -1) > Ref(Open, -1);
SecondBearish = Close
TweezerTop = SameHigh AND FirstBullish AND SecondBearish;
PlotShapes(IIf(TweezerTop, shapeStar, shapeNone), colorRed, 0, High);
This script finds Tweezer Top patterns and marks them with a red star.