联系方式 Contact

云指标公式网

淘宝:zb-mart.taobao.com

电话:18020657357

微信:18020657357

Q Q:396950280

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

彩色MACD

2014-12-13 22:10:04点击:

 

颜色很醒目。0上红涨青跌。0下绿跌紫涨。可以很清楚的分析最大最小值。

DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);

DEA  : EMA(DIFF,M);

MACD : 2*(DIFF-DEA),colorlired;

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;

强度:IF(DIFF>=DEA,DIFF,DRAWNULL),colorred;