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

    正文概述    2024-04-13 00:13:49  

    源码

    m:=10;m1:=3;
    DIFF: EMA(CLOSE,12) - EMA(CLOSE,26),colorwhite;
    DEA: EMA(DIFF,9),coloryellow;
    MACD:=2*(DIFF-DEA), COLORSTICK;
    RSV:(DIFF -LLV(DIFF ,m))/(HHV(DIFF ,m)-LLV(DIFF ,m))*100,coloryellow;
    k:SMA(RSV,M1,1),colorwhite;
    d:SMA(k,M1,1),colorblue;
    j:3*k-2*d,colorf00ff0;
    Var1:=MA(LOW,1);
    Var3:=MA(CLOSE,2);
    Var7:=REF(Var3,1);
    Var8:=SMA(MAX(Var3-Var7,0),13,1)/SMA(ABS(Var3-Var7),13,1)*100;
    VarB:=MA(INDEXC,3)*100/MA(INDEXC,10)-100;
    VarE:=IF(VarB>10,10,VarB);
    VarF:=IF(VarE<-10,-10,VarE);
    Var12:=REF(VarB,1);
    Var13:=100*(Var3-REF(Var3,1))/REF(Var3,1);
    Var14:=INDEXC;
    Var15:=REF(Var14,1);
    Var16:=100*(Var14-Var15)/Var14;
    Var17:=MA(Var13,3);
    Var18:=MA(Var16,3);
    Var19:=(3*CLOSE+Var1+OPEN+HIGH)/6;
    Var1A:=(20*Var19+19*REF(Var19,1)+18*REF(Var19,2)+17*REF(Var19,3)+16*REF(Var19,4)+15*REF(Var19,5)+14*REF(Var19,6)+13*REF(Var19,7)+12*REF(Var19,8)+11*REF(Var19,9)+10*REF(Var19,10)+9*REF(Var19,11)+8*REF(Var19,12)+7*REF(Var19,13)+6*REF(Var19,14)+5*REF(Var19,15)+4*REF(Var19,16)+3*REF(Var19,17)+2*REF(Var19,18)+REF(Var19,20))/210;
    Var1B:=MA(Var1A,12);
    Var1D:=ABS(Var1A-Var1B);
    Var1E:=REF(Var3,1)*0.015;
    Var1F:=REF(INDEXC,1);
    【强弱】:=SMA(MAX(Var3-Var7,0),5,1)/SMA(ABS(Var3-Var7),5,1)*100;
    DRAWTEXT(day=1 and Var17>Var18,100,' 个股强盘!'),COLORff00ff;
    DRAWTEXT(day=1 and Var12>VarF,80,' 盘处下道'),colorccff99;
    DRAWTEXT(day=1 and Var18>=Var17,60,' 个股弱盘!'),color00ffff;
    DRAWTEXT(day=1 and Var1A>Var1B AND Var1D>Var1E AND NOT(CROSS(75,Var8)),40,' 持股待涨!'),color0099ff;
    DRAWTEXT(day=1 and Var1AVar1E AND NOT(CROSS(【强弱】,20)),120,' 下调减持!'),colorff9900;
    DRAWTEXT(day=1 and Var1D<=Var1E,90,' 盘整阶段!'),colorff9900;
    DRAWTEXT(day=1 and (INDEXC-Var1F)/Var1F>0.035,50,'井喷行情!'),COLORRED;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 大智慧精品KDJ副图指标 加入收藏