最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信OBV+MACD指标公式

    正文概述    2024-04-13 16:22:14  

    obv:=MA(SUM(IF(CLOSE>REF(CLOSE,1),vol,IF(CLOSE OBVE:=EMA(OBV,3);
    DIFF : EMA(OBVE,12) - EMA(OBVE,26),LINETHICK2;
    bbdIFF:=DIFF-REF(DIFF,1);
    DEA : EMA(DIFF,9),LINETHICK2;
    BBDEA:=DEA-REF(DEA,1);
    macd : 2*(DIFF-DEA), COLORSTICK;
    STICKLINE(MacD0,0,MACD,2.5,0),COLORGREEN;
    STICKLINE(MACD STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,3,1),COLOR0099FF;
    STICKLINE(MACD>REF(MACD,1)AND MACD>0,0,MACD,3,1),COLORYELLOW;
    IF(BBDEA>0,DEA,DRAWNULL),COLOR9966CC,LINETHICK2;
    IF(BBDEA<0,DEA,DRAWNULL),COLOR00FF33,LINETHICK2;
    IF(BBDIFF>0,DIFF,DRAWNULL),COLORRED,LINETHICK2;
    IF(BBDIFF<0,DIFF,DRAWNULL),COLORCYAN,LINETHICK2;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信OBV+MACD指标公式 加入收藏