VAR1:=(3*CLOSE+OPEN+LOW+HIGH)/6;
VAR2:=(20*VAR1+19*REF(VAR1,1)+18*REF(VAR1,2)+17*REF(VAR1,3)+16*REF(VAR1,4)+15*REF(VAR1,5)+14*REF(VAR1,6)+13*REF(VAR1,7)+12*REF(VAR1,8)+11*REF(VAR1,9)+10*REF(VAR1,10)+9*REF(VAR1,11)+8*REF(VAR1,12)+7*REF(VAR1,13)+6*REF(VAR1,14)+5*REF(VAR1,15)+4*REF(VAR1,16)+3*REF(VAR1,17)+2*REF(VAR1,18)+REF(VAR1,20))/210;
VAR3:=MA(VAR2,5);
VAR4:=MA(CLOSE,4);
VAR5:=MA(CLOSE,13);
VAR6:=MA(CLOSE,24);
VAR7:=MA(CLOSE,30);
VAR8:=MA(CLOSE,120);
VAR9:=VAR5>VAR6 AND VAR6>VAR7 AND VAR7>VAR8 AND VAR5>REF(VAR5,1) AND VAR6>REF(VAR6,1) AND VAR7>REF(VAR7,1) AND VAR8>=REF(VAR8,1);
VAR10:=REF(CLOSE,1);
VAR11:=IF((CLOSE-VAR10)*100/VAR10>=10-0.01*100/VAR10,1,0);
VAR12:=REF(VAR11,1);
VAR13:=COUNT(VAR12,13)>=1;
VAR14:=ATAN((MA(CLOSE,30)/REF(MA(CLOSE,30),1)-1)*100)*57.299999;
VAR15:=ATAN((MA(CLOSE,13)/REF(MA(CLOSE,13),1)-1)*100)*57.29999937;
VAR9 AND CLOSE>VAR5 AND LOW<VAR5 AND CLOSE>OPEN AND VAR15>47 AND VAR13;