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

    正文概述    2024-04-13 08:36:55  

    广角的乖离率源码

    X_1:=(-MA(CLOSE,5)-HIGH)/HIGH*100;
    X_2:=FILTER(CROSS(X_1,0) AND MA(CLOSE,5) REF(MA(CLOSE,5),1) AND MA(CLOSE,10) REF(MA(CLOSE,10),1) AND MA(CLOSE,20) REF(MA(CLOSE,20),1) AND KDJ.J#DAY REF(KDJ.J#DAY,1) AND EXIST(KDJ.J#DAY =20,2) AND EXIST(KDJ.D#DAY-KDJ.J#DAY 20,2) AND COUNT(KDJ.J#DAY REF(KDJ.J#DAY,1),5)=1 AND CLOSE =OPEN,5);
    X_3:=X_2;
    X_4:=1090;
    X_5:=IF(X_3,1/X_4*300,DRAWNULL);
    X_6:=1;
    NOTEXT1:120*X_5+X_6,COLORBLACK;
    DRAWGBK(CLOSE 1,RGB(0,0,0),RGB(0,0,255),0,0,0);
    STICKLINE(X_3,40*X_5+X_6,20*X_5+X_6,3.5,0),COLORA8A8A8;
    STICKLINE(X_3,50*X_5+X_6,49*X_5+X_6,1.7,0),COLORA8A8A8;
    STICKLINE(X_3,49*X_5+X_6,48*X_5+X_6,1.9,0),COLORA8A8A8;
    STICKLINE(X_3,48*X_5+X_6,47*X_5+X_6,2.1,0),COLORA8A8A8;
    STICKLINE(X_3,47*X_5+X_6,46*X_5+X_6,2.3,0),COLORA8A8A8;
    STICKLINE(X_3,46*X_5+X_6,45*X_5+X_6,2.5,0),COLORA8A8A8;
    STICKLINE(X_3,45*X_5+X_6,44*X_5+X_6,2.7,0),COLORA8A8A8;
    STICKLINE(X_3,44*X_5+X_6,43*X_5+X_6,2.9,0),COLORA8A8A8;
    STICKLINE(X_3,43*X_5+X_6,42*X_5+X_6,3.1,0),COLORA8A8A8;
    STICKLINE(X_3,42*X_5+X_6,41*X_5+X_6,3.3,0),COLORA8A8A8;
    STICKLINE(X_3,41*X_5+X_6,40*X_5+X_6,3.5,0),COLORA8A8A8;
    STICKLINE(X_3,101*X_5+X_6,96*X_5+X_6,0.1,0),COLORWHITE;
    STICKLINE(X_3,96*X_5+X_6,92*X_5+X_6,0.3,0),COLORWHITE;
    STICKLINE(X_3,92*X_5+X_6,88*X_5+X_6,0.6,0),COLORWHITE;
    STICKLINE(X_3,88*X_5+X_6,84*X_5+X_6,0.9,0),COLORWHITE;
    STICKLINE(X_3,84*X_5+X_6,80*X_5+X_6,1.2,0),COLORWHITE;
    STICKLINE(X_3,80*X_5+X_6,50*X_5+X_6,1.4,0),COLORWHITE;
    STICKLINE(X_3,74*X_5+X_6,70*X_5+X_6,0.6,0),COLORRED;
    STICKLINE(X_3,65*X_5+X_6,64*X_5+X_6,1.5,0),COLORBLUE;
    STICKLINE(X_3,51*X_5+X_6,49*X_5+X_6,1.5,0),COLORBLUE;
    STICKLINE(X_3,49*X_5+X_6,25*X_5+X_6,1.5,0),COLORWHITE;
    STICKLINE(X_3,25*X_5+X_6,20*X_5+X_6,1.3,0),COLORRED;
    STICKLINE(X_3,20*X_5+X_6,13*X_5+X_6,1,0),COLORRED;
    STICKLINE(X_3,13*X_5+X_6,7*X_5+X_6,0.7,0),COLORRED;
    STICKLINE(X_3,7*X_5+X_6,1*X_5+X_6,0.3,0),COLORRED;
    STICKLINE(X_3,1*X_5+X_6,(-7)*X_5+X_6,0.1,0),COLORRED;
    STICKLINE(X_3,24.799999*X_5+X_6,21.799999*X_5+X_6,1,0),COLORYELLOW;
    STICKLINE(X_3,21.799999*X_5+X_6,18.799999*X_5+X_6,0.5,0),COLORYELLOW;
    STICKLINE(X_3,18.799999*X_5+X_6,15.8*X_5+X_6,0.1,0),COLORYELLOW;
    STICKLINE(X_3,60*X_5+X_6,55*X_5+X_6,0.5,0),COLORRED;

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信广角的乖离率源码 加入收藏