VAR1:=CLOSE/REF(CLOSE,1)>1.095;
VAR2:=REF(LOW,BArslAST(REF(VAR1,1))+1);
VAR3:=REF(CLOSE*0.97,BARSLAST(REF(VAR1,1))+1);
VAR4:=REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,3)<(-5),1) OR REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,2)<(-5),1);
VAR5:=REF(CLOSE
VAR7:=VAR5 OR VAR6;
VAR8:=REF(CLOSE,1)VAR9:=CLOSE/REF(CLOSE,1)>1.03;
VAR10:=REF(VAR1,6) OR REF(VAR1,7) OR REF(VAR1,8) OR REF(VAR1,9);
VAR11:=REF(CLOSE,2)/REF(CLOSE,4)<1.2;
VAR12:=REF(CLOSE,3)/REF(CLOSE,5)<1.2 AND REF(CLOSE,2)/REF(CLOSE,6)<1.3 AND REF(CLOSE,3)/REF(CLOSE,27)<1.4;
VAR13:=REF(CLOSE,4)/REF(CLOSE,6)<1.2 AND REF(CLOSE,2)/REF(CLOSE,7)<1.3 AND REF(CLOSE,4)/REF(CLOSE,26)<1.4;
VAR14:=REF(CLOSE,5)/REF(CLOSE,7)<1.2 AND REF(CLOSE,2)/REF(CLOSE,8)<1.3 AND REF(CLOSE,5)/REF(CLOSE,25)<1.4;
VAR15:=REF(CLOSE,6)/REF(CLOSE,8)<1.2 AND REF(CLOSE,2)/REF(CLOSE,9)<1.3 AND REF(CLOSE,2)/REF(CLOSE,24)<1.4;
VAR16:=REF(VAR1,2) AND REF(CLOSE,1)VAR2 AND VAR9 AND CLOSE>OPEN;
VAR17:=REF(VAR1,3) AND REF(CLOSE,2)VAR18:=REF(VAR1,4) AND VAR8 AND REF(CLOSE,1)VAR2 AND VAR7 AND VAR9;
VAR19:=REF(VAR1,5) AND VAR8 AND REF(CLOSE,2)VAR20:=VAR10 AND REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,3)<(-7),1) AND VAR8 AND VAR9;
VAR21:=REF(VAR1,3) AND REF(CLOSE,1)VAR22:=REF(COUNT(VAR1,6)=1,1);
VAR23:=VAR16 OR VAR17 OR VAR18 OR VAR19 OR VAR21 AND NOT(LOW=CLOSE) AND OPEN/REF(CLOSE,6)<1.1 AND OPEN/REF(CLOSE,10)<1.2 AND OPEN/REF(CLOSE,20)<1.3 AND OPEN/REF(CLOSE,30)<1.2 AND OPEN/REF(CLOSE,40)<1.3 AND VAR22;
xg:FILTER(VAR23,1) NODRAW;
STICKLINE(XG,0.5,0,0.5,0),COLORRED;
STICKLINE(XG,0.5,0.95,0.5,0),COLORYELLOW;
DRAWICON(XG,1,1);