以下是通达信【WLMACD】看看这个好玩不指标公式
DIF:=POW(EMA(CLOSE,12),2)-POW(EMA(CLOSE,26),2);
DEA:=EMA(DIF,9);
MACD:(DIF-DEA)*3,NODRAW;
DRAWBAND(MACD,90,0,RGB(39,139,39));
M5:MA(MACD,5);
STICKLINE(MACD>DIF AND MACD>REF(MACD,1),MACD,M5,0,0),COLORRED;
STICKLINE(MACD>DIF AND MACD<REF(MACD,1),MACD,M5,0,0),COLORCYAN;
STICKLINE(MACD<DIF AND MACD<REF(MACD,1),MACD,M5,0,0),COLORCYAN;
STICKLINE(MACD<DIF AND MACD>REF(MACD,1),MACD,M5,0,0),COLORRED;
DIF1:DIF,COLORWHITE;
DEA1:DEA,COLORLIMAGENTA;
DRAWICON(C>REF(C,1) AND MACD>REF(MACD,1) AND DIF>REF(DIF,1) AND DYNAINFO(17)>1.5,DIF,26);
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)