最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信做足波段稳定获利MACD副图 源码

    正文概述    2024-04-13 20:24:31  

    使用说明:按照副图提示,结合主图,定有收获,只要心中莫贪,见仁见智!
     


    {参数 LONG=26 SHORT=12 M=9}
    {INPUT:LONG(26,26,26),SHORT(12,12,12),M(9,9,9);}
    OBV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE DIFF : EMA(OBV,12) - EMA(OBV,26);
    BBDIFF:=DIFF-REF(DIFF,1);
    DEA : EMA(DIFF,9);
    BBDEA:=DEA-REF(DEA,1);
    MACD : 2*(DIFF-DEA), COLORSTICK;
    柱: 2*(DIFF-DEA);
    BB柱:=柱-REF(柱,1);
    IF(BBDIFF>0,DIFF,DRAWNULL),COLORCC00FF,LINETHICK2;
    IF(BBDIFF<=0,DIFF,DRAWNULL),COLORFF9999,LINETHICK2;
    IF(BBDEA>0,DEA,DRAWNULL),COLOR0066FF,LINETHICK2;
    IF(BBDEA<=0,DEA,DRAWNULL),COLOR00FF33,LINETHICK2;
    IF(BB柱>0,柱,DRAWNULL),COLORCC00FF,LINETHICK1;
    IF(BB柱<=0,柱,DRAWNULL),COLORFF9999,LINETHICK1;
    DIFF速率:BBDIFF*100,,NODRAW;
    DEA速率:BBDEA*100,,NODRAW;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信做足波段稳定获利MACD副图 源码 加入收藏