最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 多周期kdj,同日线同图看盘

    正文概述    2024-05-04 04:44:19  

    以下是多周期,同日线同图看盘-源码和截图


    多周期kdj,同日线同图看盘源码:


       {参数:n:2,90,9。m1:2,30,3。m2:2,30,3}

       RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,LINETHICK2;

       K:SMA(RSV,M1,1),LINETHICK1;

       D:Sma(K,M2,1),LINETHICK1;

       J:3*K-2*D,COLORFF00FF,LINETHICK1;

       IF(J 0,J,DRAWNULL),COLORGREEN,LINETHICK2;

       IF(K 90,K,DRAWNULL),COLOR0000FF,LINETHICK2;

       IF(D 85,D,DRAWNULL),COLORFFFF11,LINETHICK2;

       DRAWICON(crOSS(J,1),J,1);

       DRAWICON(K 80ANDD 80ANDCROSS(D,K),D,2);

       通达信公式原码:

       RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,LINETHICK2;

       K:=SMA(RSV,M1,1),LINETHICK1;

       D:=SMA(K,M2,1),LINETHICK1;

       J:=3*K-2*D,COLORFF00FF,LINETHICK1;

       COUNT(J 0,8) =3ANDCROSS(J,1)ANDK =REF(K,1);

       MA5:MA(CLOSE,5),LINETHICK1,COLORWHITE;

       MA10:MA(CLOSE,10),LINETHICK1,COLORYELLOW;

       MA20:MA(CLOSE,20),LINETHICK2,COLORMAGENTA;

       MA60:MA(CLOSE,60),LINETHICK1,COLORGREEN;

       买线:=EMA(C,4);

       卖线:=EMA(SLOPE(C,20)*10+C,35);

       DRAWTEXT(CROSS(买线,卖线),LOW*1.00,'←买'),COLORRED,LINETHICK2;

       DRAWTEXT(CROSS(卖线,买线),HIGH*1.01,'←卖'),COLORGREEN;

       LC:=REF(CLOSE,1);

       RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

       DRAWTEXT(CROSS(90,RSI),HIGH*1.01,'←逢高出局!'),COLOR00FF00;

       A:=(3*C+L+O+H)/6;

       X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/210;

       :EMA(X,13),COLORFF00FF,LINETHICK0;

       ZZ:=(OHL)/3;

       YC:=(HL)/2;

       YCHJX:=(EMA(ZZ,4))+(YC-REF(ZZ,3))/4;

       今日买点:EMA(ZZ,3),COLORYELLOW,LINETHICK0;

       明日买点:YCHJX,LINETHICK0;

       昨测今日买点:REF(YCHJX,1),LINETHICK0;

       FF:=EMA(CLOSE,3);

       MA15:=EMA(CLOSE,21);

       DRAWTEXT(CROSS(MA15,FF),(HIGH*1.02),'←拐点卖'),COLOR00FF00;

       DRAWTEXT(CROSS(FF,MA15),(LOW*0.99),'←拐点买'),COLOR00FFFF;



    多周期kdj,同日线同图看盘截图

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 多周期kdj,同日线同图看盘 加入收藏