最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信机构买卖(公式 副图 源码 测试图)

    正文概述    2024-04-13 10:13:48  

    通达信公式机构买卖

    IF(MACD.DEA 0,C,DRAWNULL),COLORGREEN,LINETHICK9;
    XX:=SUM(AMOUNT,BARSCOUNT(CLOSE))/SUM(V*100,BARSCOUNT(CLOSE));
    主力:=EXPMA(CLOSE/XX,20);大户:=EXPMA(CLOSE/XX,60);散户:=EXPMA(CLOSE/XX,120);
    底:=1;1.02,NODRAW;高:=1.03;
    DRAWTEXT(CROSS(主力,1.02),C*0.999,'-拉升'),COLORCYAN;
    DRAWICON(CROSS(主力,1.04),C,24);
    DRAWTEXT(CROSS(主力,1.04),C*0.999,'-冲涨停'),COLORLIMAGENTA;
    A1:=(VOL/CLOSE)/3;
    A2:=SUM((IF(((A1 40) AND (CLOSE (REF(CLOSE,1)))),A1,0)),0);
    A3:=SUM((IF(((A1 40) AND (CLOSE (REF(CLOSE,1)))),A1,0)),0);
    A4:=SUM((IF(((A1 40) AND (CLOSE (REF(CLOSE,1)))),A1,0)),0);
    A5:=SUM((IF(((A1 40) AND (CLOSE (REF(CLOSE,1)))),A1,0)),0);
    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);
    DRAWTEXT_FIX(1,0.000,1-0.05,0,STRCAT(STRCAT('【机构买盘】',CON2STR(机构买盘,2)),'万')),COLORRED;
    DRAWTEXT_FIX(1,0.250,1-0.05,0,STRCAT(STRCAT('【机构卖盘】',CON2STR(机构卖盘,2)),'万')),COLOR00FF00;
    DRAWTEXT_FIX(1,0.500,1-0.05,0,STRCAT(STRCAT('【散户买盘】',CON2STR(散户买盘,2)),'万')),COLORRED;
    DRAWTEXT_FIX(1,0.745,1-0.05,0,STRCAT(STRCAT('【散户卖盘】',CON2STR(散户卖盘,2)),'万')),COLOR00FF00;
    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,'买'),COLOR00FFFF;
    DRAWTEXT(LONGCROSS(C,阻力,2),C,'出'),COLORGREEN;
    CC:=C;
    TT:=BARSCOUNT(CC);
    均价:SUM(V*C,0)/SUM(V,0),COLORGREEN;
    均:=MA(CC,TT);
    DRAWICON(CROSS(均价,均),均价,1);
    突破:=REF(EMA(C,20),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);
    STICKLINE(A1X =0,多方,突破,2,0),COLOR0000FF;
    STICKLINE(A1X 0,空方,突破,2,0),COLOR00FF00;
    量价:=(VOL/CLOSE)/3;
    B2:=SUM((IF(((量价 0.20) AND (CLOSE (REF(CLOSE,1)))),量价,0)),0);
    B3:=SUM((IF(((量价 0.20) AND (CLOSE (REF(CLOSE,1)))),量价,0)),0);
    B6:=B2+B3;DD1:=1;比:=B2/B3;
    BBB1:=STRCAT(STRCAT('买= ',CON2STR((100*B2)/B6,0)),'%');
    BBB2:=STRCAT(STRCAT('卖= ',CON2STR((100*B3)/B6,0)),'%');
    BBB3:=STRCAT(STRCAT('差= ',CON2STR((100*(B2-B3))/B6,0)),'%');
    DRAWTEXT_FIX(DD1=1,0,0.04,0,BBB1),COLORRED;
    DRAWTEXT_FIX(DD1=1,0,0.12,0,BBB2),COLORGREEN;
    DRAWTEXT_FIX(DD1=1,0,0.20,0,BBB3),COLOR00FFFF;
    中期线:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4)+100;
    DRAWTEXT(比 1.1,(DYNAINFO(5)+DYNAINFO(6))/2,'○'),COLORGREEN;
    DRAWTEXT(比 1.5,(DYNAINFO(5)+DYNAINFO(6))/2,'○'),COLORCYAN;
    DRAWTEXT(比 2,(DYNAINFO(5)+DYNAINFO(6))/2,'○'),COLORMAGENTA;
    DRAWTEXT(比 2.5,(DYNAINFO(5)+DYNAINFO(6))/2,'○'),COLORRED;
    DRAWTEXT((比 1.1 AND 中期线 5),(DYNAINFO(5)+DYNAINFO(6))/2,'●'),COLORWHITE;
    DRAWTEXT((比 1.1 AND 中期线 98.0),(DYNAINFO(5)+DYNAINFO(6))/2,'●'),COLORWHITE;
    DRAWTEXT((比 1.1 AND 中期线 5),C,'--机会'),COLORYELLOW;
    DRAWTEXT((比 1.1 AND 中期线 98.0),C,'--风险'),COLORYELLOW;
    上涨家数:IF(PERIOD=0 ,'分时引.上涨家数#DAY',DRAWNULL),NODRAW;
    下跌家数:IF(PERIOD=0 ,'分时引.下跌家数#DAY',DRAWNULL),NODRAW;
    DRAWTEXT_FIX(1,0.160,1-0.12,0,STRCAT('上涨家数:',CON2STR(上涨家数,0))),COLOR0000FF;
    DRAWTEXT_FIX(1,0.650,1-0.12,0,STRCAT('下跌家数:',CON2STR(下跌家数,0))),COLOR00FF00;

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信机构买卖(公式 副图 源码 测试图) 加入收藏