DIFF1:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA1:=EMA(DIFF1,9);
JCCOUNT:=COUNT(crOSS(DIFF1,DEA1),BArslAST(DEA1>=0));
二金:CROSS(DIFF1,DEA1) AND DEA1<0 AND COUNT(JCCOUNT=2,21);
DIFF1:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA1:=EMA(DIFF1,9);
JCCOUNT:=COUNT(crOSS(DIFF1,DEA1),BArslAST(DEA1>=0));
二金:CROSS(DIFF1,DEA1) AND DEA1<0 AND COUNT(JCCOUNT=2,21);