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

    正文概述    2022-06-03 00:00:00  

    N:=5;M1:=3;M2:=3;
    RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
    K:Sma(RSV,M1,1)COLORBLacK;
    快线:SMA(K,M2,1);
    J:3*K-2*快线,COLORYELLOW;
    80,COLOR996699;
    20,COLORCYAN;
    10,COLORCC6633,LINETHICK2;
    90,COLOR9966FF,LINETHICK2;
    {
    50,COLORWHITE;
    FILLRGN(1,20,80),COLOR222222;
    FILLRGN(1,90,100),COLOR000068;
    FILLRGN(1,79,90),COLOR663366;
    FILLRGN(1,10,20),COLOR666600;
    FILLRGN(1, 0,10),COLOR663300;
    }
    A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19),COLORWHITE;
    B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
    Y:=ema(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4),LINETHICK2;
    牛市线:A+100,LINETHICK2,COLORWHITE;
    短期线:B+100,COLORLIGRAY;
    中期线:Y+100,COLORLIGRAY,LINETHICK1;
    {见顶:(牛市线>85 OR REF(牛市线,1)>85 ) AND (crOSS(中期线,短期线) OR CROSS(REF(中期线,1),REF(短期线,1)) )AND CROSS(牛市线,短期线);
    }
    见顶:(REF(中期线,1)>85 AND REF(短期线,1)>85 AND REF(牛市线,1)>65) AND CROSS(牛市线,短期线) ;
    顶部区域:(中期线<REF(中期线,1) AND REF(中期线,1)>80) AND (REF(短期线,1)>95 OR REF(短期线,2)>95 ) AND 牛市线>60 AND 短期线<83.5
    AND 短期线<中期线 AND 短期线<牛市线+4;
    顶部:=FILTER(顶部区域,4);
    {DRAWICON( 见顶, 108, 2 );}
    底部区域:(牛市线<12 AND 中期线<8 AND (短期线<7.2 OR REF(短期线,1)<5) AND (中期线>REF(中期线,1) OR 短期线>REF(短期线,1)))
    OR (牛市线<8 AND 中期线<7 AND 短期线<15 AND 短期线>REF(短期线,1)) OR (牛市线<10 AND 中期线<7 AND 短期线<1) ;
    STICKLINE( {见顶 OR} 顶部,99,103,10,1 ),COLORWHITE,LINETHICK2;
    STICKLINE( 底部区域,-4,0,22,0 ),COLORCYAN;
    低位金叉:牛市线<15 AND REF(牛市线,1)<15 AND 中期线<18 AND 短期线>REF(短期线,1) AND CROSS(短期线,牛市线) AND 短期线>中期线
    AND (REF(短期线,1)<5 OR REF(短期线,2)<5 ) AND (中期线>=牛市线 OR REF( 短期线,1)<1 );
    STICKLINE( 低位金叉,0,5,11,0 ),COLORWHITE;



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