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

    正文概述    2023-01-02 00:00:00  


    LOWV:=LLV(LOW,9);
    HIGHV:=HHV(HIGH,9);
    RSV:=Ema((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);

    K:ema(RSV,3);

    D:MA(K,3);

    STICKLINE(K>D,K,D,2.5,0),COLORWHITE,LINETHICK2;

    STICKLINE(D>K,K,D,2.5,0),COLORCYAN,LINETHICK2;

    逃顶线:90,COLORCYAN;

    中轴线:50,COLORWHITE;

    抄底线:10,COLORBLUE;

    DRAWICON(crOSS(K,D) AND K<=50,12,11),COLORWHITE;

    DRAWICON(CROSS(D,K)AND K>=80,88,4),COLORCYAN;

    A1:=BArslAST(REF(CROSS(K,D),1));

    底背离:REF(CLOSE,A1+1)>CLOSE AND K>REF(K,A1+1) AND CROSS(K,D);
    DRAWLINE(A1=0,D,底背离,D,0),COLORWHITE,LINETHICK1;

    A2:=BARSLAST(REF(CROSS(D,K),1));

    顶背离:REF(CLOSE,A2+1)<CLOSE AND REF(D,A2+1)>D AND CROSS(D,K);

    DRAWLINE(A2=0,D,顶背离,D,0),COLORCYAN,LINETHICK1;

    DRAWTEXT(底背离>0,D-5,'加仓'),COLORWHITE;

    DRAWTEXT(顶背离>0,D-5,'减仓'),COLORCYAN;

    DRAWTEXT(CROSS(K,D) AND (D<8),30,'买'),COLORWHITE;

    STICKLINE(CROSS(K,D) AND (D<8)=1,3,20,8,0),COLORWHITE;

    DRAWTEXT(CROSS(D,K) AND (D>85),70,'卖'),COLORCYAN;
    STICKLINE(CROSS(D,K) AND (D>85)=1,85,70,8,0),COLORCYAN



    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信买卖背离副图未加密选股指标公式源码 加入收藏