K:=EMA(CLOSE,12)-EMA(CLOSE,26);
M:=BACKSET(K REF(K,1),2);
强 DIF:IF(M,K,0),COLORRED,LINETHICK2;
D:=BACKSET(K
弱 DIF:IF(D,K,0),COLOR33FF33,LINETHICK2;
DEA:EMA(K,9),COLORFFFFFF;
MACD:2*(K-DEA),LINETHICK0,COLORFF00FF ;
STICKLINE(MACD =0 AND MACD =REF(MACD,1),0,MACD,0,0),COLOR6058FF;
STICKLINE(MACD =0 AND MACD REF(MACD,1),0,MACD,0,0),COLORFFFF00;
STICKLINE(MACD 0 AND MACD =REF(MACD,1),0,MACD,0,0),COLORFF99FF;
STICKLINE(MACD 0 AND MACD REF(MACD,1),0,MACD,0,0),COLORFFFF00;
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
QZQ:=BARSLAST(REF(MACD,1) 0 AND MACD