ma5:=EMA(C,5);
ma10:=EMA(C,10);
mv5:=EMA(V,5);
mv10:=EMA(V,10);
k:="kdj.k"(9,3,3);
d:="kdj.d"(9,3,3);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
aa1:=CROSS(k,d);aa2:=CROSS(ma5,ma10);aa3:=CROSS(mv5,mv10);aa4:=CROSS(dif,dea);
xg2:aa1 AND aa2 AND aa3 AND aa4;