DEA:EMA(DIFF,9),COLOR00FFFF,LINETHICK1;
MACD1:2*(DIFF-DEA),COLORRED,NODRAW;
STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,2,0),COLORRED;
STICKLINE(MACD1< MACD2,0,MACD1,1,0),COLOR40FF00;
S2:= (MACD>=0);
S4:=REF(S3,S3+1);
S6:=DEA;
下成立:=CROSS(DIFF,DEA) AND S6;
L2:=EMA(L1,9);
L4:=REF(L3,L3+1);
变盘:CROSS(L1,L2) AND L5,NODRAW,COLORD6FF9C;
成立距今:BARSLAST(CROSS(DIFF,DEA)),NODRAW;
DRAWTEXT(CROSS(L1,L2),DIFF,'买'),COLOR0000FF;
REF(DEA,S3),POINTDOT,COLORGREEN;
IF(MACD< 0,REF(DEA,S3),0),POINTDOT,LINETHICK5,COLORGREEN;
加速上扬:IF(REF(LS=0,1) AND LS=1,0.1,0);
XG2:CROSS(DIFF,DEA),NODRAW;
绿柱短了:M1 AND COUNT(M1,10)=1 AND C>MA(C,55) AND COUNT(MACD< 0,5)>=5,NODRAW;