SHORT:=39;LONG:=78;MID:=16;
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
JCCOUNT:=COUNT(crOSS(DIF,DEA),BArslAST(DEA>=0));
二金:=CROSS(DIF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
二次金叉:二金;
SHORT:=39;LONG:=78;MID:=16;
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
JCCOUNT:=COUNT(crOSS(DIF,DEA),BArslAST(DEA>=0));
二金:=CROSS(DIF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
二次金叉:二金;