VAR1:=MA((2*C+H+LOW)/4,5);
VAR2:=VAR1*102/100;
VAR3:=VAR1*(200-102)/100;
VAR4:=Abs((2*C+H+LOW)/4-MA(C,20))/MA(C,20);
VAR5:=DMA(C,VAR4);
VAR6:=(1+7/100)*VAR5;
VAR7:=(1-7/100)*VAR5;
VAR8:=14;
VAR9:=(H+LOW+C)/3;
VAR10:=(VAR9-MA(VAR9,VAR8))/(0.015*AVEDEV(VAR9,VAR8));
VAR11:=REF(C,1)<=VAR7;
VAR12:=REF(C,2)<=VAR7;
VAR13:=REF(C,3)<=VAR7;
VAR14:=REF(C,1)<=REF(C,1);
VAR15:=REF(C,2)< REF(C,3);
VAR16:=REF(C,3)< REF(C,4);
VAR17:=REF(C,1)/REF(C,2)<=1.035;
VAR18:=REF(C,1)/REF(C,2)>(-1.095);
VAR19:=C/REF(C,1)>1.08;
VAR20:=OPEN>REF(C,1);
VAR21:=C/REF(C,1)>1.07;
VAR22:=crOSS(VAR10,(-90));
VAR23:=VAR10>(-68);
VAR24:=VAR10>=REF(VAR10,1);
VAR25:=REF(VAR10,1)< (-90);
VAR26:=CROSS(C,VAR7);
VAR27:=C/REF(C,1)>1.03;
VAR28:=EMA(C,9);
VAR29:=EMA(VAR28*1.13,5);
VAR30:=C>=OPEN;
VAR31:=EMA(VAR28*1.12,5);
VAR32:=EMA(VAR28*1.11,5);
VAR33:=CROSS(C,VAR32);
VAR34:=CROSS(C,VAR29);
VAR35:=CROSS(C,VAR31);
VAR36:=7;
VAR37:=35;
VAR38:=vol;
VAR39:=MA(VAR38,5);
VAR40:=MA(VAR38,10);
VAR41:=VAR39>=VAR40;
VAR42:=VAR11 AND VAR22 AND VAR17 AND VAR21;
VAR43:=VAR11 AND VAR26 AND VAR17 AND VAR19;
VAR44:=VAR34 OR VAR35 OR VAR33 AND VAR30 AND VAR27;
AA:=VOL>REF(V,1)*1.9;
XG:BARSLASTCOUNT(VAR42 OR VAR43 OR VAR44)=1 AND AA;