联系方式 Contact

云指标公式网

淘宝:zb-mart.taobao.com

电话:18020657357

微信:18020657357

Q Q:396950280

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

美化版MACD (副图 源码)

2016-5-13 17:06:49点击:

DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG),LINETHICK1;
DEA:=EMA(DIF,MID),LINETHICK2;

MACD:=(DIF-DEA)*2,COLORSTICK;


STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,1,0),COLOR0000FF;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,1,0),COLOR000066;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,1,0),COLOR00CC33;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,1,0),COLOR006633;


DIFF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG),LINETHICK1;
DEAA:EMA(DIF,MID),COLOR00FFFF,LINETHICK1;