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

    正文概述    2024-04-13 04:01:51  

    同花顺顶底KD副图指标

    源码

    n:=81;
    m:=3;

    var1:=(HHV(HIGH,5)-LLV(LOW,5));
    var2:=(HHV(HIGH,5)-CLOSE);
    var3:=(CLOSE-LLV(LOW,5));
    var4:=var2/var1*100-70 ;
    var5:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;
    var6:=(2*C+H+L)/4;
    var7:=SMA((var3/var1*100),3,1);
    var8:=LLV(LOW,10);
    var9:=SMA(var7,3,1)-SMA(var4,9,1);
    var10:= IF(var9 100,var9-100,0);
    varA:=HHV(HIGH,10);
    B:=EMA((var6-var8)/(varA-var8)*100,8),COLORffcc66;
    B1:=EMA(B,5);
    STICKLINE(B 0 AND B-B1 =0,79,80,8,0),colorred,linethick2;
    STICKLINE(B 0 AND B-B1 0,79,80,8,0),COLOR00FF00,linethick2;
    s:50;
    STICKLINE(B 0 AND B-B1 =0,19,20,8,0),colorred,linethick2;
    STICKLINE(B 0 AND B-B1 0,19,20,8,0),COLOR00FF00,linethick2;

    STICKLINE(B-B1 0,B,B1,8,1),colorred;
    STICKLINE(B-B1 0,B,B1,8,1),COLOR00ff00;
    LOWV:=LLV(LOW,N);
    HIGHV:=HHV(HIGH,N);
    RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,M);
    K:EMA(RSV,M);
    D:MA(K,M);
    XX:IF(K =D,K,D);
    D1:MA(K,M);
    大头部:IF((D (85)),20,0);
    卖出:IF(K 80,80,95);
    买入:IF(CROSS(K,20),6,0);
    头部:IF((K (80)),6,0);

    同花顺顶底KD副图指标

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