联系方式 Contact

云指标公式网

淘宝:zb-mart.taobao.com

电话:18020657357

微信:18020657357

Q Q:396950280

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

彩色MACD

2015-4-5 14:17:49点击:

加微信:zb-mart免费验证!

颜色很醒目。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.2,0),color0000ff;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,1,0),colorffff00;
STICKLINE(MACD<=0 AND MACD>=REF(MACD,1),0,MACD,2.2,0),colorff00ff;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,1.6,0),color00ff00;
DRAWTEXT(CROSS(DIFF,DEA),DIFF,'○'),LINETHICK1, coloryellow;
趋强:IF(DIFF>=DEA AND DIFF>=REF(DIFF,1),DIFF,DRAWNULL),colorred;
变弱:IF(DIFF>0 AND DIFF>=DEA AND DIFF<=REF(DIFF,1),DIFF,DRAWNULL),color00ff00;
STICKLINE(CROSS(DIFF,0),0,MACD*0.1425,5,0),coloryellow;
STICKLINE(CROSS(DIFF,0),0,MACD*0.5,1,0),coloryellow;