VAR1:=EMA(CLOSE,12)-EMA(CLOSE,26);
VAR2:=EMA(VAR1,27);
VAR3:=(VAR1-VAR2)*2;
VAR4:=CROSS(VAR2,VAR1);
VAR5:=CROSS(VAR1,VAR2);
VAR6:=EXIST(VAR4,3);
VAR7:=MA(CLOSE,5)>MA(CLOSE,21) AND MA(CLOSE,21)>MA(CLOSE,63);
VAR8:=COUNT(MA(CLOSE,21)>=REF(MA(CLOSE,21),1),2)=2;
VAR9:=EXIST(VAR7,5);
VAR5 AND VAR6 AND VAR7 AND VAR8 AND VAR9;