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

    正文概述    2024-04-13 13:21:47  

    N:=2;M:=3;
    PP:=(2*CLOSE+HIGH+LOW)/4;
    QQ:=Abs(PP-MA(CLOSE,N*15));
    AA:=QQ/MA(CLOSE,N*15);
    N2:=(N-2)*15;
    N3:=(N+2)*15;
    N4:=(N+3)*15;
    主趋势线:DMA(PP,AA),LINETHICK2,COLORRED;
    LQ:=主趋势线*0.99;
    主趋30:=DMA(PP,ABS(PP-MA(CLOSE,N2))/MA(CLOSE,N2)),LINETHICK1,COLORLIRED;
    主趋90:=DMA(PP,ABS(PP-MA(CLOSE,N3))/MA(CLOSE,N3)),LINETHICK1,COLORMAGENTA;
    主趋4:=DMA(PP,ABS(PP-MA(CLOSE,N4))/MA(CLOSE,N4)),LINETHICK1,COLORMAGENTA;
    CC:=(CLOSE/主趋势线);
    MA1:=MA(CC*(2*CLOSE+HIGH+LOW)/4,3);
    MAAA:=((MA1-主趋势线)/主趋势线)/3;
    TMP:=MA1-MAAA*MA1;
    短期趋势线:TMP,LINETHICK2,COLORMAGENTA;
    QSX:IF(TMP =主趋势线,主趋势线,DRAWNULL),LINETHICK2,COLORBLUE;
    DQ2:IF(TMP =REF(TMP,1),TMP,DRAWNULL),LINETHICK2,COLORWHITE;
    DQSX:IF(TMP =主趋势线,TMP,DRAWNULL),LINETHICK2,COLORGREEN;
    DQ3:IF(TMP =REF(TMP,1) AND TMP 主趋势线,TMP,DRAWNULL),LINETHICK2,COLORLIRED;
    长期趋势线:=EXPMEMA(CLOSE,45);
    DRAWICON(crOSS(kdj.J,0),HIGH*0.99,99);
    DRAWICON(CROSS(100,kdJ.J),LOW*1.09,3);
    {www.9m8.cn}
    DRAWTEXT(CROSS(TMP,主趋势线),LOW,'开多'),COLORYELLOW;
    DRAWTEXT(TMP =REF(TMP,1) AND REF(TMP,2) REF(TMP,1) AND TMP 主趋势线,LOW,'平多'),COLORYELLOW;
    DRAWTEXT(CROSS(主趋势线,TMP),LOW,'开空'),COLORGREEN;

    };

    通达信金牛交易系统主图指标公式源码

    通达信金牛交易系统主图指标公式源码

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信金牛交易系统主图指标公式源码 加入收藏