同花顺分时MACD指标
源码
short :=5 , 40 , 6; long:=10 , 100, 16; m : = 2 , 40, 8;
dif:=EMA(NEW,5) - EMA(NEW,21); dea1:=SMA(dif,5,1); dea:=SMA(dea1,5,1); zero:0,POINTDOT,colorwhite;
PARTLINE(dea,dea>REF(dea,1),RGB(255,0,255),dea<REF(dea,1),RGB(0,255,255),1);