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

    正文概述    2024-04-14 18:09:40  

    N:=5;
    VAR2:=LLV(LOW,N);
    VAR3:=HHV(HIGH,N);
    rsv:=(CLOSE-VAR2)/(VAR3-VAR2)*100;
    K:SMA(rsv,3,1);
    D:SMA(K,3,1),colorblue;
    PARTLINE(D,D>REF(D,1),colorred,D<=REF(D,1),colorliblue),LINETHICK1;
    J:3*K-2*D,colorlired;
    {"K值柱状线";}
    STICKLINE(K>REF(K,1),K ,REF(K,1),6,0),colorred;
    STICKLINE(K<=REF(K,1),K ,REF(K,1),6,0),colorgreen;
    {"强弱分区";}
    顶:100,coloryellow;
    强势区:80,colorgray;
    强弱分界:50,coloryellow;
    弱势区:20,colorgray;
    底:0,colorred;
    {"买入信号";}
    企稳:IF((K>REF(K,1)) AND (REF(K,1)<=REF(K,2)) AND (REF(K,2)<=REF(K,3)),5,0),colorgray;
    低位启动:IF((D>REF(D,1)) AND (REF(D,1)<=REF(D,2)) AND K<20,5,0),coloryellow;
    //DRAWICON(crOSS(K,D) AND K>REF(K,1) AND k>=20,REF(K,1)*0.96,1);
    {"卖出信号";}
    高位下跌:IF((D=REF(D,2)) AND K>80,95,100),colorgreen;
    //高位死叉:DRAWICON(CROSS(D,K) AND K80,REF(K,1)*1.1,6);
    //DRAWICON(CROSS(D,K) AND K


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 同花顺KD强弱指标公式 加入收藏