DIFF:EMA(CLOSE,9)-EMA(CLOSE,17);DEA:EMA(DIFF,8),COLOrffaa00;:=2*(DIFF-DEA);STICKLINE(MACD>=0,MACD,0,4,1),COLORF00FF0;STICKLINE(MACD<0>0,0,MACD,4,0 ),COLOR00aaff;X1:IF(diff<0>dea,dea,dea),linethick1,COLORffbb11;:=OSS(DIFF,DEA) AND DIFF<-0.1;STICKLINE(低位,DEA*0.86,DEA*0.66,6,0),coloryellow;DRAWTEXT(低位金叉,dea*0.86,' 金叉'),coloryellow;JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));:=CROSS(DIFF,DEA) AND DEA<0 COUNT(JCCOUNT=2,21) ColorFF00FF;A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));:>CLOSE AND DIFF>REF(