Shooting Star Candlestick Pattern: A Simple Guide for Confident Trading

Shooting Star Candlestick Pattern: A Simple Guide for Confident Trading


Below is a simple AFL script to detect the Shooting Star in Amibroker:

// Shooting Star AFL Code for Amibroker

Uptrend = Ref(Close, -1) > Ref(Close, -2) AND Ref(Close, -2) > Ref(Close, -3);

BodySize = Abs(Open – Close);

UpperWick = High – Max(Open, Close);

LowerWick = Min(Open, Close) – Low;

ShootingStar = 

    Uptrend AND 

    (UpperWick > 2 * BodySize) AND 

    (LowerWick

    (BodySize / (High – Low)

PlotShapes(IIf(ShootingStar, shapeStar, shapeNone), colorRed, 0, High);

This script finds Shooting Stars in an uptrend and marks them with a red star.





Source link

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *