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

    正文概述    2024-04-13 13:40:20  

    盘中突破

    盘中突破

    A1:=(DVOL/C)/2,NODRAW;
     A2:=SUM(IF(A1>100 AND CLOSE>REF(CLOSE,1),A1,0),0);
     A3:=SUM(IF(A1>100 AND CLOSE  A4:=SUM(IF(A1<100 AND CLOSE>REF(CLOSE,1),A1,0),0);
     A5:=SUM(IF(A1<100 AND CLOSE  A6:=A2+A3+A4+A5;
     A7:=IF((BARSTATUS=2),((100*A2)/A6),0);
     A8:=((IF((BARSTATUS=2),((100*A3)/A6),0)));
     A9:=((IF((BARSTATUS=2),((100*A4)/A6),0)));
     A10:=((IF((BARSTATUS=2),((100*A5)/A6),0)));
    机构买盘:=(A2),LINETHICK2;
    机构卖盘:=(A3),LINETHICK2;
    散户买盘:=(A4);
    散户卖盘:=(A5);
    突破:=REF(EMA(C,14),1);
     A1X:=(EMA(C,10)-突破)/突破*100;
    多方:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),DRAWNULL);
    空方:=IF(A1X<0,REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1),DRAWNULL);
    最新:CLOSE,LINETHICK1,COLORWHITE;
     AA:=SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C));
     BB:=BETWEEN(C/AA,C+H,C-H);
    均价:=SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK1;
     H1:=MAX(DYNAINFO(3),DYNAINFO(5));
     L1:=MIN(DYNAINFO(3),DYNAINFO(6));
     P1:=H1-L1;
    阻力:=L1+P1*7/8,COLORGREEN;
    支撑:=L1+P1*0.5/8,COLORMAGENTA;
     DRAWTEXT(LONGCROSS(支撑,C,2),C,'--反弹'),COLORYELLOW;
     DRAWTEXT(LONGCROSS(C,阻力,2),C,'--出货'),COLORYELLOW;

    机构买:=(A2),LINETHICK6,COLORRED;
    机构卖:=(A3),LINETHICK6,COLORGREEN;
     DD1:=1;
     AAA1:=STRCAT(STRCAT('机构买',CON2STR((100*A2)/A6,0)),'%');
     AAA2:=STRCAT(STRCAT('机构卖',CON2STR((100*A3)/A6,0)),'%');
     AAA3:=STRCAT(STRCAT('净买入',CON2STR((100*(A2-A3))/A6,0)),'%');
     DRAWTEXT_FIX(DD1=1,0,0.04,0,AAA1),COLORRED;
     DRAWTEXT_FIX(DD1=1,0,0.12,0,AAA2),COLORGREEN;
     DRAWTEXT_FIX(DD1=1,0,0.20,0,AAA3),COLOR00FFFF;

    今日开盘线:=DYNAINFO(4),COLORMAGENTA;
    今日最高价:=DYNAINFO(5),COLORBLUE;
    今日最低价:=DYNAINFO(6),COLORGREEN;
    今日均价线:=DYNAINFO(11),COLORYELLOW;
     CC:=C;
     TT:=BARSCOUNT(CC);
    均:=MA(CC,TT);
    上均线:=均+2*STD(CC,3),COLORMAGENTA;
    下均线:=均-2*STD(CC,3),COLORYELLOW;
    时长:=TIME>93000;
    涨幅:=CC/REF(C,1)>1.02;
    跌幅:=CC/REF(C,1)<0.98;
    横盘:=((HHV(CC,TT)-LLV(CC,TT))/CC)<0.05;
     YY:=SMA(VOL,30,1);
    放量:=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(LLV(YY,1),30))>0.95;
    涨跌幅:=涨幅 OR 跌幅;
    横涨1:=涨跌幅=0 AND 横盘  AND 放量 AND CROSS(均价,均);
    DRAWTEXT(FILTER(横涨1,10),均价,'--突破'),COLORCYAN;
     DRAWICON(FILTER(横涨1,10),均价,1);


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信盘中突破源码 加入收藏