最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信操盘2号指标副图指标

    正文概述    2024-04-07 19:30:14  
    BIAS20:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100*VOL;
    BIAS21:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100*C;
    量:BARSLAST(BARSLAST(BIAS20 0 AND REF(BIAS20,1) 0) 0),STICK,COLORRED,LINETHICK4;
    价:=BARSLAST(BARSLAST(BIAS21 0 AND REF(BIAS21,1) 0) 0),STICK,COLORMAGENTA,LINETHICK4;
    黑马:量=0 AND ZF AND CROSS(C,MA5) AND CROSS(C,MA10) AND CROSS(C,MA20),COLORRED,CIRCLEDOT,LINETHICK2;
    STICKLINE(黑马,0,5,1.5,0),COLORWHITE;
    DRAWICON(黑马,6,1);
    DRAWTEXT(黑马,4,'---黑马'),COLORYELLOW;
    STICKLINE(价,-1,0,1.5,0),COLORMAGENTA;

    KK1:BARSLAST(BARSLAST(BIAS21 0 AND REF(BIAS21,1) 0) 0),STICK,COLORCYAN,LINETHICK2;

    RSV:=(CLOSE-LLV(LOW,35))/(HHV(HIGH,35)-LLV(LOW,35))*100;
    K:=SMA(RSV,5,1);
    DRAWTEXT(K REF(K,1) REF(量,1),6,'B'),COLORMAGENTA;
    DRAWTEXT(K REF(K,1) REF(量,1)&&REF(量,1) 1,6,'M'),COLORWHITE;


    MA60 :=MA(CLOSE,60);
    GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
    GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
    GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
    GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
    BAIJIN1:=BARSLAST(CROSS(30,GJTJ1)) 2 AND BARSLAST(CROSS(GJTJ1,50))
    BAIJIN2:=BARSLAST(CROSS(GJTJ4,GJTJ1)) 2 AND GJTJ1 GJTJ4;
    BAIJIN3:=GJTJ1 60 AND GJTJ4
    DRAWTEXT(BAIJIN1 AND BAIJIN2 AND BAIJIN3,3,'白金');
    HUANGJIN1:=BARSLAST(CROSS(50,GJTJ1)) 3 AND BARSLAST(CROSS(GJTJ1,50))
    HUANGJIN2:=BARSLAST(CROSS(GJTJ4,GJTJ1)) 2 AND GJTJ1 GJTJ4;
    DRAWTEXT(HUANGJIN1 AND HUANGJIN2,3,'黄金');
    XG:=BARSLAST(CROSS(GJTJ4,GJTJ1)) 5 AND GJTJ1 GJTJ4;
    DRAWTEXT(COUNT(XG,3)=1 AND XG AND C MA(C,20),3,'暴涨启动'),COLORRED;
    ZHENCANG1:=BARSLAST(CROSS(GJTJ4,GJTJ1)) 3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))
    ZHENCANG2:=BARSLAST(CROSS(GJTJ4,GJTJ2));
    ZHENCANG3:=GJTJ3 GJTJ4 AND GJTJ2 GJTJ4;
    ZHENCANG4:=BARSLAST(CROSS(GJTJ4,GJTJ3)) 3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))
    ZHENCANG5:=GJTJ2 GJTJ3 AND GJTJ2 GJTJ4 AND GJTJ2 GJTJ1 AND GJTJ1=100;
    ZCB1:=ZHENCANG1 0 AND REF(ZHENCANG1,1)=0 AND REF(ZHENCANG1,2)
    DRAWTEXT(ZHENCANG1 AND ZHENCANG2 AND ZHENCANG3 AND ZHENCANG4 AND ZHENCANG5,4,'震仓启点');
    AA:=BARSLAST(CROSS(97,GJTJ1)) =1 AND BARSLAST(CROSS(GJTJ1,85))
    BB:=BARSLAST(CROSS(97,GJTJ2)) =1 AND BARSLAST(CROSS(GJTJ2,85))
    AA1:=AA AND BB;
    AAA:=BARSLAST(CROSS(97,GJTJ1)) =2 AND BARSLAST(CROSS(GJTJ1,85))
    BAA:=BARSLAST(CROSS(97,GJTJ2)) =2 AND BARSLAST(CROSS(GJTJ2,85))
    AA2:=AA AND BB ;
    AAAA:=BARSLAST(CROSS(97,GJTJ1)) =3 AND BARSLAST(CROSS(GJTJ1,85))
    BAAA:=BARSLAST(CROSS(97,GJTJ2)) =3 AND BARSLAST(CROSS(GJTJ2,85))
    AA3:=AAAA AND BAAA ;
    BB1:=REF(AA1,1);
    BB2:=REF(AA2,1);
    BB3:=REF(AA3,1);
    DD1:=GJTJ1=100 AND GJTJ2=100 AND AA1 ;
    DD2:=GJTJ1=100 AND GJTJ2=100 AND AA2 ;
    DD3:=GJTJ1=100 AND GJTJ2=100 AND AA3 ;
    DRAWTEXT(DD1 OR DD2 OR DD3,4,'短线追涨');
    AW:=BARSLAST(CROSS(95,GJTJ1))
    BW:=BARSLAST(CROSS(95,GJTJ2))
    EW:= GJTJ4 GJTJ1 AND GJTJ1 GJTJ2 AND GJTJ1 GJTJ3;
    FW:=GJTJ2 50 AND GJTJ3
    GW:=GJTJ1=100 AND GJTJ2=100;
    TXW:=COUNT(GW,2)=1;
    DRAWTEXT(AW AND BW AND EW AND FW AND TXW,4,'起涨首日');
    AQ:=GJTJ3=100;
    BQ:=GJTJ4
    8;

    AAA1:=STRCAT('沪深总上涨家数:',CON2STR(DYNAINFO(60),0));
    AAA2:=STRCAT('沪深总下跌家数:',CON2STR(DYNAINFO(61),0));
    DRAWTEXT_FIX(ISLASTBAR,0,0,0,AAA1),COLORRED;
    DRAWTEXT_FIX(ISLASTBAR,0,0.06,0,AAA2),COLORGREEN;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信操盘2号指标副图指标 加入收藏