DIF:=MACD.DIF;DEA:=macd.DEA; JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0)); 三次金叉:CROSS(DIF,DEA) AND DEA<0 AND COUNT(JCCOUNT=3,60)=1;