please help me for make this afl

#1
I want afl amibroker to show me .
Basing Candles Indicator will show candles whose body is less than or equal 50% of its price range from high to low.
i want put point in basing candles only because i use demand and supply system.
 
#3
IF close > open
{
UpperShadow = high - close
LowerShadow = open - low
}

UpperShadow = high - open
LowerShadow = close - low

Shadows = UpperShadow + LowerShadow
Range=high-low;
Body = range - Shadows
IF Body <= (Shadows / 2)
*******************
 
#5
candles whose body is less than or equal 50% of its price range from high to low
C-like:
_SECTION_BEGIN( "Body less than 50% of its Hi-Lo range" );
     //By @Loss_Lover
     //For https://www.traderji.com/community/threads/please-help-me-for-make-this-afl.107242/
     CandleBody = abs( O - C );
     CandleRng = H - L;     
     myCandles = CandleBody <= ( 0.5 * CandleRng );
     Plot( C, "", colorDefault, styleCandle );
     PlotShapes( myCandles * shapeSmallCircle, colorBlueGrey, 0, ( O + C ) / 2, 0, 0 );
_SECTION_END();
 
#6
C-like:
_SECTION_BEGIN( "Body less than 50% of its Hi-Lo range" );
     //By @Loss_Lover
     //For https://www.traderji.com/community/threads/please-help-me-for-make-this-afl.107242/
     CandleBody = abs( O - C );
     CandleRng = H - L;    
     myCandles = CandleBody <= ( 0.5 * CandleRng );
     Plot( C, "", colorDefault, styleCandle );
     PlotShapes( myCandles * shapeSmallCircle, colorBlueGrey, 0, ( O + C ) / 2, 0, 0 );
_SECTION_END();
Thank you very much my friend.