DIFF:EMA(CLOSE,9)-EMA(CLOSE,17);DEA:EMA(DIFF,8),COLORFFAA00;:=2*(DIFF-DEA);STICKLINE(MD>=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),BAAST(DEA>=0));:=CROSS(DIFF,DEA) AND DEA<0 COUNT(JCCOUNT=2,21) COLORFF00FF;A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));:>CLOSE AND DIFF>REF(DIF