同花顺松针落地副图指标
源码
LONG:=26;SHORT:=12;M:=9;N:=20;
DIFFd : EMA(INDEXC/100,SHORT) - EMA(INDEXC/100,LONG),linethick2;
DEAd : EMA(DIFFd,M),linethick2;
MACDd:=2*(DIFFd-DEAd), COLORSTICK,linethick2;
STICKLINE(macdd>=0,macdd,0,4,1),colorred;
STICKLINE(macdd<0,macdd,0,4,1),colorgreen;
DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA : EMA(DIFF,M);
MACD : 2*(DIFF-DEA), COLORSTICK;