Scan misses

#1
Hello :)

I am hoping for any help to new member of Traderji and new user of Amibroker

I have made up this script which gives a signal when a fractal breakout has failed. Price tried to breakout but closed back below high of previous fractal

The problem I have is that the scan I run does not give all signal.

Please can someone help? Thank.:clapping:

swingHi= H>Ref(H,-1) AND H>Ref(H,1);
BO= (L>ValueWhen(swingHi,H,1)) AND (C<ValueWhen(swingHi,H,1));
PlotShapes(shapeSmallCircle*swingHi,colorBLUE, 0, H, 20);

6-05-2016 12-32-29 AM.jpg


Buy = SwingHi;
 

Similar threads