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

    正文概述    2024-04-13 23:53:02  

    X_1:=EMA(CLOSE,12)-EMA(CLOSE,26);
    X_2:=EMA(X_1,9);
    X_3:=(X_1-X_2)*2;
    X_4:=MA(macd.DIF#WEEK(12,26,9),5);
    X_5:=MA(MACD.DEA#WEEK(12,26,9),5);
    X_6:=MA(MACD.DIF#MONTH(12,26,9),20);
    X_7:=MA(MACD.DEA#MONTH(12,26,9),20);
    X_8:=X_1>=X_2;
    X_9:=X_2>X_1;
    A10:STICKLINE(X_8,1.2,1.7,2,0),COLORRED;
    A11:STICKLINE(X_9,1.2,1.7,2,0),COLORLIBLUE;
    X_10:=X_4>=X_5;
    X_11:=X_5>X_4;
    A14:STICKLINE(X_10,0.6,1.1,2,0),COLORRED;
    A15:STICKLINE(X_11,0.6,1.1,2,0),COLORLIBLUE;
    X_12:=X_6>=X_7;
    X_13:=X_7>X_6;
    A18:STICKLINE(X_12,0,0.5,2,0),COLORRED;
    A19:STICKLINE(X_13,0,0.5,2,0),COLORLIBLUE;
    X_14:=crOSS(X_1,X_2) AND X_1>=0;
    A21:DRAWNUMBER(X_14,2.2,1);
    X_15:=CROSS(X_1,X_2) AND X_1<0;
    A23:DRAWNUMBER(X_15,2.2,(-1));

     


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信二斧MACD指标公式源码副图 加入收藏