DIFF:(EMA(CLOSE,12) - EMA(CLOSE,26))*20,colorwhite,LINETHICK1;DEA:EMA(DIFF,9),coloryellow,LINETHICK2;:2*(DIFF-DEA), COLORSTICK;MD1:2*(DIFF-DEA),colorred,linethick0;MACD2:wma(MACD1,3),colorcyan,linethick0;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:=BAAST(oss(diff,dea));s4:=ref(s3,s3+1);s5:=dea>ref(dea,s4);s6:=dea;上成立:=cross(diff,dea) and s5;下成立:=cross(diff