您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:MACD彩柱指标

MACD彩柱指标


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2014-05-07 23:24:00
公式简介:

short:=12;
long:=26;
mid:=9;

DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:EMA(DIF,MID);
IF(DIF>REF(DIF,1),DIF,DRAWNULL),COLORRED,LINETHICK2;
IF(DEA>REF(DEA,1),DEA,DRAWNULL),COLORMAGENTA,LINETHICK2;
MACD:(DIF-DEA)*2,COLORSTICK;
STICKLINE(MACD>0,MACD,0,0.01,0),COLORRED,,LINETHICK2;
STICKLINE(MACD<0,MACD,0,0.01,0),COLORCYAN;
STICKLINE(MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) AND MACD<0,MACD,0,0.01,0),COLORYELLOW;
STICKLINE(MACD<REF(MACD,1) AND REF(MACD,1)>REF(MACD,2) AND MACD>0,MACD,0,0.01,0),COLORGREEN;
STICKLINE(MACD>REF(MACD,1) AND REF(MACD,1)>REF(MACD,2) AND MACD<0,MACD,0,0.01,0),COLORGREEN;
STICKLINE(MACD<REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) AND MACD>0,MACD,0,0.01,0),COLORYELLOW;
 


 


 


[url=http://www.goodgupiao.com/gupiaogongshi/33645.html][B]MACD彩柱指标[/B][/url]