VAR1:=REF(O>C,1) AND C>REF(C,1)*1.001;
VAR2:=EMA(C,12)-EMA(C,26);
VAR3:=EMA(VAR2,9);
VAR4:=(VAR2-VAR3)*2;
VAR5:=(C+O+H)/3;
VAR6:=Abs(MA(C,10)/MA(C,20)-1)<0.02;
VAR7:=ABS(MA(C,5)/MA(C,10)-1)<0.005;
VAR8:=ABS(MA(C,5)/MA(C,20)-1)<0.02;
VAR11:=VAR6 AND VAR7 AND VAR8;
VAR9:=C>MA(C,5) AND H>MA(C,10) AND O<=MA(C,5) AND O<=MA(C,10) AND C>MA(C,120);
VAR10:=REF(C,1)