最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信超前MACD副图无未来无密码未加密选股指标公式源码

    正文概述    2022-07-07 00:00:00  

    0,COLORBROWN;
    dif12:=(ema(CLOSE,12)-EMA(CLOSE,26))/((EMA(CLOSE,12)+EMA(CLOSE,26))/2)*1000;
    DEA12:=EMA(DIF12,9);
    KDIF12:=3*(DIF12-DEA12);
    KDEA12:=SMA(KDIF12,5,2);
    强DIF:=KDIF12*5,COLORRED,LINETHICK1;
    弱DEA:=KDEA12*5,COLORBLUE,LINETHICK1;
    MACD2:2*(强DIF-弱DEA),COLORLIGRAY;
    MAMACD:=MA(MACD2,3),,COLORLIGRAY;
    STICKLINE(MACD2>REF(MACD2,1) AND MACD2>0,0,MACD2,1,0),COLORWHITE;
    STICKLINE(MACD2<=REF(MACD2,1) AND MACD2>0,0,MACD2,1,0),COLORBLUE;
    STICKLINE(MACD2<REF(MACD2,1) AND MACD2<0,0,MACD2,1,0),COLORGREEN;
    STICKLINE(MACD2>=REF(MACD2,1) AND MACD2<0,0,MACD2,1,0),COLORLIMAGENTA;
    STICKLINE(MAMACD<1*REF(MAMACD,1), MAMACD, MACD2 ,3, 0),COLORYELLOW;
    STICKLINE(MAMACD>1*REF(MAMACD,1), MAMACD, MACD2 , 3, 0),COLORLICYAN;
    强DIF2:KDIF12*5,COLORWHITE,LINETHICK1;
    弱DEA2:KDEA12*5,COLORLIMAGENTA,LINETHICK1;
    NOTEXT强:IF(强DIF2<MA(强DIF2,2),强DIF2,DRAWNULL),COLORCYAN;
    NOTEXT弱:IF(弱DEA2<MAX(弱DEA2,REF(弱DEA2,1)),弱DEA2,DRAWNULL),COLORBLUE;
    DRAWICON(crOSS(DIF12,KDEA12),DIF12,1);
    DRAWICON(CROSS(KDEA12,DIF12),DIF12,2);



    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信超前MACD副图无未来无密码未加密选股指标公式源码 加入收藏