同花顺彩色MACD源码副图
-
相关简介:颜色很醒目。0上红涨青跌。0下绿跌紫涨。可以很清楚的分析最大最小值。 DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG); DEA : EMA(DIFF,M); MACD : 2*(DIFF-DEA); Zero : 0; STICKLINE(MACD=0 AND MACD=REF(MACD,1),0,MACD,2,0),color0000ff; STICKLINE(MACD0 AND MACDREF(MACD,1),0,MACD,2,0),colorffff00
-
文章来源:股海网作者:股海网发布时间:2014-11-27浏览次数:
颜色很醒目。0上红涨青跌。0下绿跌紫涨。可以很清楚的分析最大最小值。
DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA : EMA(DIFF,M);
MACD : 2*(DIFF-DEA);
Zero : 0;
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),colorffff00;
STICKLINE(MACD<=0 AND MACD>=REF(MACD,1),0,MACD,2,0),colorff00ff;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,2,0),color00ff00;
DRAWTEXT(CROSS(DIFF,DEA),DIFF,'○'),LINETHICK1, coloryellow;