N:=3;
M:=9;
M1:=3;
DIF:=EMA(CLOSE,N)-EMA(CLOSE,M);
DEA:=EMA(DIF,M1);
JCCOUNT:=COUNT(crOSS(DIF,DEA),BArslAST(DEA>=0));
五次金叉:=CROSS(DIF,DEA) AND DEA<0 AND COUNT(JCCOUNT=5,120)=1;
五金:五次金叉;
N:=3;
M:=9;
M1:=3;
DIF:=EMA(CLOSE,N)-EMA(CLOSE,M);
DEA:=EMA(DIF,M1);
JCCOUNT:=COUNT(crOSS(DIF,DEA),BArslAST(DEA>=0));
五次金叉:=CROSS(DIF,DEA) AND DEA<0 AND COUNT(JCCOUNT=5,120)=1;
五金:五次金叉;