最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信主力开口主图未加密选股指标公式源码

    正文概述    2023-01-13 00:00:00  

    M1:=3;M2:=6;M3:=9;M4:=18;M5:=21;M6:=24;M7:=48;M8:=55;M9:=62;
    PBX1:(EMA(CLOSE,M1)+MA(CLOSE,M1*2)+MA(CLOSE,M1*4))/3 COLORCYAN DOTLINE;
    PBX2:(EMA(CLOSE,M2)+MA(CLOSE,M2*2)+MA(CLOSE,M2*4))/3 COLORCYAN DOTLINE;
    PBX3:(EMA(CLOSE,M3)+MA(CLOSE,M3*2)+MA(CLOSE,M3*4))/3 COLORCYAN DOTLINE;
    PBX4:(EMA(CLOSE,M4)+MA(CLOSE,M4*2)+MA(CLOSE,M4*4))/3 COLORFF9900 DOTLINE;
    PBX5:(EMA(CLOSE,M5)+MA(CLOSE,M5*2)+MA(CLOSE,M5*4))/3 COLORFF9900 DOTLINE;
    PBX6:(EMA(CLOSE,M6)+MA(CLOSE,M6*2)+MA(CLOSE,M6*4))/3 COLORFF9900 DOTLINE;
    PBX7:(EMA(CLOSE,M7)+MA(CLOSE,M7*2)+MA(CLOSE,M7*4))/3 COLORCYAN DOTLINE;
    PBX8:(EMA(CLOSE,M8)+MA(CLOSE,M8*2)+MA(CLOSE,M8*4))/3 COLORCYAN DOTLINE;
    PBX9:(EMA(CLOSE,M9)+MA(CLOSE,M9*2)+MA(CLOSE,M9*4))/3 COLORCYAN DOTLINE;
    IF(PBX1>=REF(PBX1,1),PBX1,DRAWNULL),COLORWHITE,LINETHICK1 DOTLINE;
    IF(PBX2>=REF(PBX2,1),PBX2,DRAWNULL),COLORWHITE,LINETHICK1 DOTLINE;
    IF(PBX3>=REF(PBX3,1),PBX3,DRAWNULL),COLORWHITE,LINETHICK1 DOTLINE;
    IF(PBX4>=REF(PBX4,1),PBX4,DRAWNULL),COLOR0080FF,LINETHICK1 DOTLINE;
    IF(PBX5>=REF(PBX5,1),PBX5,DRAWNULL),COLOR0080FF,LINETHICK1 DOTLINE;
    IF(PBX6>=REF(PBX6,1),PBX6,DRAWNULL),COLOR0080FF,LINETHICK1 DOTLINE;
    IF(PBX7>=REF(PBX7,1),PBX7,DRAWNULL),COLORFF00FF,LINETHICK1 DOTLINE;
    IF(PBX8>=REF(PBX8,1),PBX8,DRAWNULL),COLORFF00FF,LINETHICK1 DOTLINE;
    IF(PBX9>=REF(PBX9,1),PBX9,DRAWNULL),COLORFF00FF,LINETHICK1 DOTLINE;
    {涨停}
    STICKLINE(CLOSE>REF(CLOSE,1)*1.0985 AND CLOSE=HIGH,CLOSE,OPEN,4,-1),COLOR00FFFF;
    {跌停}
    STICKLINE(CLOSE<REF(CLOSE,1)*0.9015 AND CLOSE=LOW,CLOSE,OPEN,4,-1),COLORCYAN;
    {蓝}
    STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3,0),COLORFF7700;
    STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,2.2,0),COLORFF9900;
    STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1.5,0),COLORFFBB00;
    STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,0.5,0),COLORGREEN;
    {红}
    STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0),COLOR000099;
    STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.2,0),COLOR0000CC;
    STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.5,0),COLOR0000FF;
    STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.5,0),COLORCC66FF;
    {量比5分钟}主力量能:=(VOL+REF(V,2)+REF(V,3)+REF(V,4)+REF(V,5))/3.3 COLOR00FFFF LINETHICK1 DOTLINE;
    {量比10}市场量能:=(REF(V,6)+REF(V,7)+REF(V,8)+REF(V,9)+REF(V,10)+REF(V,11)+REF(V,12)+REF(V,13)+REF(V,14)+REF(V,15))/3.3 COLORFF9900,DOTLINE;
    QQ:=PBX1>PBX3 AND V>主力量能 AND PBX1>REF(PBX1,1);
    STICKLINE(QQ,C,O,4,0),COLOR00CCFF;

    Z1A:=STRCAT(HYBLOCK,' ');
    Z2A:=STRCAT(Z1A,FGBLOCK);
    Z3A:=STRCAT(Z2A,DYBLOCK);
    Z4A:=STRCAT(Z3A,' ');
    DRAWTEXT_FIX(ISLASTBAR,0.25,0.99,0,STRCAT(Z4A,GNBLOCK)),COLORGREEN;

    {T+1止赢、止损}
    CC:=IF(CURRBARSCOUNT<21,CONST(REF(C,2)),DRAWNULL),COLORRED;
    止赢:=1.05*CC,COLORBLUE;
    止损:=0.97*CC,COLORFF6EC7;
    STICKLINE(CC,CC,CC,3,1),COLORFF8918;
    STICKLINE(止赢,止赢,止赢,3,1),COLORBLUE;
    STICKLINE(止损,止损,止损,3,1),COLORRED;

    MA10:=MA(C,10)COLOR00FF00 LINETHICK1 DOTLINE;
    BB05:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;
    IF(BB05>25,MA10,DRAWNULL),LINETHICK3,COLORFF9900 ;
    IF(BB05>35,MA10,DRAWNULL),LINETHICK3,COLORCYAN;
    IF(BB05>50,MA10,DRAWNULL),LINETHICK3,COLORWHITE;



    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信主力开口主图未加密选股指标公式源码 加入收藏