Reply To: bearish tweezer top

Optuma Forums Optuma Scripting bearish tweezer top Reply To: bearish tweezer top

#68255
Marc
  • Topics: 18
  • Replies: 29
  • Posts: 47

Thanks Matthew,     I have added a few criteria to get a clearer reversal signal:

//Find Bullish Candle

V1 = CLOSE() > OPEN() and CHANGE(Day(PERIODAMOUNT=1)) > 2;

//Find Bearish Candle

v2 = CLOSE() < OPEN() ;

//Find where High of current candle is within 0.5% range of the previous candles high

V3 = WITHINRANGE(High(), High(1), PERCENT=1.00) ;

V4 = WITHINRANGE(close(), open(1), PERCENT=1.00) ;

v5= WITHINRANGE(High(), close(1), PERCENT=1.00) ;

//Previous Candle was Bullish, Current Candle is Bearish, and High of current candle is within 0.5% range of the previous candles high

V1[1] == 1 and V2 and V3 or V4 or v5

and close() < BARTYPES(DEFAULT=CloseBelowMid),

Separately to limit shadows per candle:

//candle up little shadows

v1= (close(0) – open()) > (HIGH() – close()) + (open()-LOW());

// candle down little shadows

v2= (open(0) – close()) > (HIGH() – open()) + (CLOSE()-LOW());

v1[1] and v2

Pin It on Pinterest