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=6,150)=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=6,150)=1;
六金:六次金叉;