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

    正文概述    2024-04-13 14:59:47  

    0,COLORGRAY;
    DIFF12:=(EMA(CLOSE,12)-EMA(CLOSE,22))/((EMA(CLOSE,12)+EMA(CLOSE,22))/2)*1000;
    DEA12:=EMA(DIFF12,6);
    kdIFF12:=3*(DIFF12-DEA12);
    KDEA12:=SMA(KDIFF12,5,2);
    强DIF:=KDIFF12*5,COLORWHITE,LINETHICK1;
    弱DEA:=KDEA12*5,COLORYELLOW,LINETHICK1;
    macd2:2*(强DIF-弱DEA),COLORBLacK;
    MAMACD:=MA(MACD2,3),,COLORBLACK;
    STICKLINE(MACD2>REF(MACD2,1) AND MACD2>0,0,MACD2,1,0),COLORRED;
    STICKLINE(MACD2<=REF(MACD2,1) AND MACD2>0,0,MACD2,1,0),COLORYELLOW;
    STICKLINE(MACD2STICKLINE(MACD2>=REF(MACD2,1) AND MACD2<0,0,MACD2,2,0),COLORMAGENTA;
    STICKLINE(MAMACD<1*REF(MAMACD,1), MAMACD, MACD2 ,3, 0),COLORBLUE;
    STICKLINE(MAMACD>1*REF(MAMACD,1), MAMACD, MACD2 , 0.2, 0),COLORLIRED;
    强DIF2:KDIFF12*5,COLORRED,LINETHICK1;
    弱DEA2:KDEA12*5,COLORMAGENTA,LINETHICK1;
    NOTEXT强:IF(强DIF2NOTEXT弱:IF(弱DEA2DRAWICON(crOSS(DIFF12,KDEA12),DIFF12,1);
    DRAWICON(CROSS(KDEA12,DIFF12),DIFF12,2);


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