通达信MACD里的红色买入源码副图通达信公式
2017-10-21 来源:网络 编辑:翔博软件
通达信 MACD 里的红色买入源码 副图 DIFF:EMA(DCLOSE,12)-EMA(DCLOSE,26); DEA:EMA(DIFF,9),COLORFFFF00; MACD:(DIFF-DEA)*2; STICKLINE(MACD=0 AND MACD=REF(MACD,1),0,MACD,1
DIFF:EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:EMA(DIFF,9),COLORFFFF00;
MACD:(DIFF-DEA)*2;
STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,1,0),COLORRED;
STICKLINE(MACD>=0 AND MACD<=REF(MACD,1),0,MACD,1,0),COLORGREEN;
STICKLINE(MACD<=0 AND MACD>=REF(MACD,1),0,MACD,1,0),COLORFF00FF;
STICKLINE(MACD<=0 AND MACD<=REF(MACD,1),0,MACD,1,0),COLOR00FFFF;
DRAWICON(CROSS(DIFF,DEA),DEA,1);
DRAWICON(CROSS(DEA,DIFF),DEA,2);