DIF:EMA(CLOSE,12)-EMA(CLOSE,26),COLORRED,LINETHICK2;DEA:EMA(DIF,9),COLORWHITE,LINETHICK2;段:=0,COLOR00CFFF;段:=0,COLORFFCCFF;{STICKLINE(DIF>DEA,-0.5,-0.6,10,1),COLOR00CFFF;STICKLINE(DIF
0)),0,MACD,1,0),COLORLIBLUE,LINETHICK2;STICKLINE(((MACD>REF(MACD,1)) AND (MACD<0>DEA,DEA,DEA),COLORFF937F,LINETHICK2;AA:=COUNT(OSS(DIF,DEA),BARSLAST(DEA>=0));:=CROSS(DIF,DEA) AND DEA<0 COUNT(AA=2,21) COLORYELLOW;A1:=BARSLAST(REF(CROSS(DIF,DEA),1));:>CLOSE AND DIF>REF(DIF,A1+1) AND CROSS(DIF,DEA);STICKLINE(底,0,0