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

    正文概述    2024-04-07 19:04:18  
    {参数 N. 2.90 9 N1. 2 30 3 N2.2 30 3 }
    RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
    K:SMA(RSV,N1,1),COLOR9900FF, LINETHICK2;
    D:SMA(K,N2,1),COLORLIGREEN, LINETHICK2;
    J:3*K-2*D,COLORBROWN, LINETHICK2;
    安全区:20,COLORRED,POINTDOT;
    分水岭:50,COLORCYAN,POINTDOT;
    风险区:80,COLORGREEN,POINTDOT;
    U1:=BARSLAST(REF(CROSS(K,D),1));
    U2:=REF(C,U1+1) C AND REF(K,U1+1) K AND CROSS(K,D)AND D
    底背离:=IF(U2 0,1,0);
    DRAWLINE(U1=0,D,底背离,REF(D,U1),0),COLORRED, LINETHICK2;
    DRAWLINE(底背离,D,底背离,REF(D,U1),0),COLORRED, LINETHICK2;
    DRAWTEXT(底背离,REF(D,U1)*1.00,'★'),COLORRED;
    RR:=MAX(C,O);
    Q1:=HHV(RR,5);
    Q2:=D REF(D,1) AND REF(D,1) REF(D,2);
    A2:=BARSLAST(REF(Q2,1));
    顶背离:= REF(Q1,A2+1) Q1 ANDK REF(K,A2+1) AND Q2;
    DRAWLINE(A2=0,D,顶背离,REF(D,A2),0),COLORWHITE, LINETHICK2;
    DRAWLINE(顶背离,D,顶背离,REF(D,A2),0),COLORGREEN, LINETHICK2;
    DRAWTEXT(顶背离,REF(D,A2)*1.02,' ★'),COLORGREEN;
    DRAWICON(CROSS(J,1),J,17);
    DRAWICON(K 80 AND D 80 AND CROSS(D,K),D,2);
    条件:=CROSS(K,D) AND K

    条件0:=CROSS(D,K) AND K
    DRAWICON(条件,20,1);
    DRAWICON(条件0,80,2);
    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 麻雀KDJ 加入收藏