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

    正文概述    2024-04-13 16:33:40  

    DIFF:EMA(CLOSE,6) - EMA(CLOSE,13),LINESTICK,COLORYELLOW;
    IF(DIFF>=REF(DIFF,1),DIFF,DRAWNULL),COLORRED,LINETHICK3;
    DEA:EMA(DIFF,5);
    macd:=2*(DIFF-DEA);
    A:=MacD;
    G:=MA(MACD,2);
    J:=MA(MACD,3);
    J1:=MA(MACD,5);
    STICKLINE(crOSS(MA(A,1),G),0.05,0,4,1),COLORYELLOW,LINETHICK2;{选股信号:结合线下DIFF看}
    STICKLINE(CROSS(MA(A,1),G),0.07,0,2,0),COLORLIMAGENTA,LINETHICK2;
    STICKLINE(CROSS(MA(A,1),G),0.09,0,1,0),COLORYELLOW;
    VAR13:=IF(YEAR>=2018 AND MONTH>=11 AND DAY>=1,0,1);
    AA:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5;
    BB:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5;
    CC:=EMA(AA,2);
    DD:=EMA(BB,5);
    VAR14:=MAX(EMA(AA,2)-EMA(BB,5),0)*1.2;
    VAR15:=EMA(VAR14,5);
    SS:=EMA(VAR15,2);
    风险系数:=(VAR15-SS)/10*VAR13;
    { _通达信股票指标公式}
    波浪系数:VAR15*VAR13,STICK,COLORFF00FF;
    A10:=波浪系数,LINETHICK1 ;
    B:MA(A10,3),COLORYELLOW,LINETHICK2;
    B2:=MA(B,2)*2-B;
    STICKLINE(B>B2,1.5*B,B2,3,0),COLOR0000FF;
    STICKLINE(B STICKLINE(VAR15>REF(VAR15,1) AND VAR13,VAR15,0,2,0),COLOR0099FF;
    STICKLINE(VAR15>REF(VAR15,1) AND VAR13,VAR15,SS,3.5,0),COLORYELLOW;
    STICKLINE(VAR15 STICKLINE(VAR15 WB:=CROSS(DIFF,DEA);{=号前的符号可根据需要改}
    WS:=CROSS(DEA,DIFF);
    DRAWICON(WB,(DEA * 1.02),23);
    DRAWICON(WS,(DEA * 1.01),17);


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