SHORT:=6;LONG:=13;M:=9;DIFF:EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);DEA:EMA(DIFF,M);:2*(DIFF-DEA);Zero : 0;gj:=MAX(C,O);PARTLINE(DIFF,DIFF>=REF(DIFF,1),RGB(255,0,0),DIFF<=REF(DIFF,1),RGB(0,255,0)),LINETHICK2;STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,2,0),color0000ff;STICKLINE(MACD>0 AND MACD
[=REF(MACD,1),0,MACD,2,0),colorff00ff;STICKLINE(MACD<0 MACD][REF(dea,1) AND REF(dea,1)][CLOSE AND diff>RE
]