obv:=MA(SUM(IF(CLOSE>REF(CLOSE,1),vol,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)/25000,1);
OBVE:=EMA(OBV,3);
DIFF : EMA(OBVE,12) – EMA(OBVE,26);
bbdIFF:=DIFF-REF(DIFF,1);
DEA : EMA(DIFF,9);
BBDEA:=DEA-REF(DEA,1);
macd : 2*(DIFF-DEA), COLORSTICK;
STICKLINE(MacD<REF(MACD,1)AND MACD>0,0,MACD,1,0),COLORGREEN;
STICKLINE(MACD<REF(MACD,1)AND MACD<0,0,MACD,1,0),COLORFFCC33;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,1,0),COLOR0099FF;
STICKLINE(MACD>REF(MACD,1)AND MACD>0,0,MACD,1,0),COLORYELLOW;
{ _通达信股票指标公式}
IF(BBDEA>0,DEA,DRAWNULL),COLOR9966CC;
IF(BBDEA<0,DEA,DRAWNULL),COLOR00FF33;
IF(BBDIFF>0,DIFF,DRAWNULL),COLORWHITE;
IF(BBDIFF<0,DIFF,DRAWNULL),COLORBLUE;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)