DIFF:(EMA(C,12)-EMA(C,26))*20,COLORWHITE,LINETHICK1;DEA:EMA(DIFF,9),COLORYELLOW,LINETHICK1;:=2*(DIFF-DEA);MACD1:=2*(DIFF-DEA);MACD2:=EMA((3*MACD1+2*REF(MACD1,1)+REF(MACD1,2))/6,1);STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,2,0),COLORRED;STICKLINE(MACD1>MACD2 AND MACD1<0 MACD1,2,0),COLORYELLOW;STICKLINE(MACD1
=0);S3:=BARSLAST(OSS(DIFF,DEA));S4:=REF(S3,S3+1);S5:=DEA>REF(DEA,S4);S6:=DEA;上成立:IF(CROSS(DIFF,DEA) AND S5,3,0),COLORYELLOW;下成立:IF(CROSS(DIFF,D