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

    正文概述    2024-04-07 11:32:25  

    所属板块 主题投资 逃顶 逆市涨跌

    {星光主图}

    LC:=REF(C,1);
    Z1A:=STRCAT(HYBLOCK,' ');
    Z2A:=STRCAT(Z1A,DYBLOCK);
    Z3A:=STRCAT(Z2A,' ');
    DRAWTEXT_FIX(1,0.10,0,0,'所属行业:')COLOR0080FF;
    DRAWTEXT_FIX(1,0.17,0,0,HYBLOCK)COLOR0080FF;
    DRAWTEXT_FIX(1,0.22,0,0,'所属地区:')COLOR00FFFF;
    DRAWTEXT_FIX(1,0.29,0,0,DYBLOCK)COLOR00FFFF;
    DRAWTEXT_FIX(1,0.34,0,0,'所属板块:')COLOR0080FF;
    DRAWTEXT_FIX(1,0.41,0,0,ZDBLOCK)COLOR0080FF;
    DRAWTEXT_FIX(1,0.10,0.06,0,'主题投资:')COLOR0000FF;
    DRAWTEXT_FIX(1,0.17,0.06,0,EXTERNSTR(0,1))COLOR0000FF;
    DRAWTEXT_FIX(1,0.10,0.12,0,'主营业务:')COLORFF00FF;
    DRAWTEXT_FIX(1,0.17,0.12,0,EXTERNSTR(0,2))COLORFF00FF;
    M1:=MA(CLOSE,3);
    M2:=MA(CLOSE,20);
    生命线:MA(CLOSE,89),COLORMAGENTA,LINETHICK2;
    牛熊线:MA(CLOSE,321),COLORWHITE,POINTDOT,LINETHICK4;
    保护价:(OPEN+REF(C,1)+REF(C,2))/3,NODRAW;
    止损:=(REF(H,1)+REF(L,1))/2,NODRAW,COLORGREEN;
    中心价:=(O+C)/2;
    多头:=IF(M2 =REF(M2,1),M2,DRAWNULL),COLORRED,LINETHICK2;
    空头:=IF(M2 REF(M2,1),M2,DRAWNULL),COLORGREEN,LINETHICK2;
    DT:=CROSS(M1,M2) AND C O AND C REF(C,1) AND C/REF(C,1) =1.018;
    DRAWTEXT(DT,(LOW*0.98)*(1),'买'),COLORWHITE;
    DRAWICON(DT,(LOW*0.99)*(1),13);
    {逃顶}
    V1:=(REF(HIGH,1)+REF(LOW,1))/2;
    V2:=MA(CLOSE,21)+2*STD(CLOSE,21);
    DRAWICON(CROSS(V1,V2),HIGH*1.00,6);
    DRAWTEXT(CROSS(V1,V2),HIGH*1.01,'卖'), COLORGREEN;
    V3:=REF(CLOSE,1);
    V4:=SMA(MAX(CLOSE-V3,0),7,1)/SMA(ABS(CLOSE-V3),7,1)*100;
    V5:=CROSS(89,V4);
    V6:=FILTER(V5,4);
    DRAWICON(V6,HIGH*1.00,2);
    DRAWTEXT(V6,HIGH*1.01,'卖'), COLORGREEN;
    {划线}
    A1:=BARSLAST(CROSS(MA(C,10),MA(C,5)));
    C1:=REF(MA(C,5),A1);
    STICKLINE(CURRBARSCOUNT =CONST(A1)+1 AND A1 =0, C1,C1,-1,0),COLORGREEN;
    {肉夹馍}
    VAR110:=REF(C,2) REF(O,2);
    VAR120:=(REF(C,2)-REF(C,3))/REF(C,3) 0.02;
    VAR210:=REF(C,1) REF(O,1);
    VAR310:=C O AND C REF(O,1) AND C REF(C,2) ;
    VAR320:=V REF(V,2) AND V REF(V,1);
    VAR330:=((H-C)/(H-L))
    VAR410:=VAR110 AND VAR120 AND VAR210 AND VAR310 AND VAR320 AND VAR330;
    DRAWTEXT(VAR410,(LOW*1.02)*(1),'肉夹馍 '),COLORYELLOW;
    DRAWICON(VAR410,(LOW*1.01)*(1),5);
    {概念板块}
    DRAWTEXT_FIX(1,0.00,0.24,0,'【概念板块】')COLORFF00FF;
    Z1:=STRCAT(DYBLOCK,' ');
    Z2:=STRCAT(Z1,HYBLOCK);
    Z3:=STRCAT(Z2,FGBLOCK);
    Z4:=STRCAT(Z3,' ');
    DRAWTEXT_FIX(1,0.09,0.24,0,STRCAT(Z4,GNBLOCK)),COLORFF00FF;
    DRAWTEXT_FIX(1,0.00,0.32,0,'【主题投资】'),COLOR0000FF;
    DRAWTEXT_FIX(1,0.09,0.32,0,EXTERNSTR(0,1)),COLOR0000FF;{注意:我的数据号是1}
    DRAWTEXT_FIX(1,0.00,0.40,0,'【主营业务】'),COLORGREEN;
    DRAWTEXT_FIX(1,0.09,0.40,0,EXTERNSTR(0,2))COLORGREEN;{这个数据号是2};
    DRAWTEXT_FIX(1,0.99,0.05,1,'抄底连续出现天数越多越好,如果信号且有鱼红色当天进,等先有鱼红后或且主图出现B进入;如果苍龙最好与波谷同时出现'),COLOR0202FF;
    DRAWTEXT_FIX(1,0.99,0.09,1,'先出B且有鱼绿色则删除:'),COLOR0202FF;
    DRAWTEXT_FIX(1,0.99,0.15,1,'主图蓝卖,看长卖模板波峰'),COLORYELLOW;
    风险线:= MA(CLOSE,13);
    止损线:= MA(CLOSE,27);
    DRAWICON(CROSS(C,止损线)AND 止损线 风险线,LOW*0.99,38);
    DRAWTEXT(CROSS(C,止损线)AND 止损线 风险线,(LOW * 0.98),'主升浪'),COLORRED,LINETHICK3;
    买线:=EMA(C,3);
    卖线:=EMA(SLOPE(C,25)*18+C,55);
    BU:=CROSS(买线,卖线);
    SEL:=CROSS(卖线,买线);
    QR:=(H+L+2*C)/4;
    强弱分界线:EMA(QR,55),LINETHICK2,COLORFFFF00;
    ISDOWN:=IF(CLOSE OPEN,1,0);
    ISUP:=IF(CLOSE OPEN,1,0);
    STICKLINE(买线 卖线 AND ISDOWN,HIGH,OPEN,0,0),COLORCYAN;
    STICKLINE(买线 卖线 AND ISDOWN,CLOSE,OPEN,3,0),COLORCYAN;
    STICKLINE(买线 卖线 AND ISDOWN,CLOSE,LOW,0,0),COLORCYAN;
    STICKLINE(买线 卖线 AND ISUP,HIGH,CLOSE,0,1),COLORCYAN;
    STICKLINE(买线 卖线 AND ISUP,CLOSE,OPEN,3,1),COLORCYAN;
    STICKLINE(买线 卖线 AND ISUP,OPEN,LOW,0,1),COLORCYAN;
    STICKLINE(买线 =卖线 AND ISUP,HIGH,CLOSE,0,1),COLORRED;
    STICKLINE(买线 =卖线 AND ISUP,CLOSE,OPEN,3,1),COLORRED;
    STICKLINE(买线 =卖线 AND ISUP,OPEN,LOW,0,1),COLORRED;
    STICKLINE(买线 =卖线 AND ISDOWN,CLOSE,LOW,0,0),COLORRED;
    STICKLINE(买线 =卖线 AND ISDOWN,HIGH,OPEN,0,0),COLORRED;
    STICKLINE(买线 =卖线 AND ISDOWN,CLOSE,OPEN,3,1),COLORRED,LINETHICK2;
    MA5X:=MA(C,5),COLORCYAN;
    MA13:=MA(CLOSE,13),LINETHICK2;
    MA21:=MA(CLOSE,21);
    MA62:=MA(CLOSE,62),LINETHICK2;
    MA120:=MA(CLOSE,120);
    MA250:=MA(CLOSE,250);
    DRAWBMP(BU=1,L,'B');
    DRAWBMP(SEL=1,HIGH*1.038,'S');
    {逆市涨跌次数}{www.9m8.cn 九毛八公式指标网}
    CC:=IF(CURRBARSCOUNT 120, 999999$C ,DRAWNULL);
    个涨幅:100*(C-REF(C,1))/REF(C,1),COLORYELLOW,NODRAW;
    上证涨幅:100*(CC-REF(CC,1))/REF(CC,1),COLORRED,NODRAW;
    逆市上涨:=IF(个涨幅 0 AND 上证涨幅 0,1,0);
    逆市上涨次数:=COUNT(逆市上涨,BARSSINCE(逆市上涨)+1);
    QQ:=STRCAT(STRCAT('★120日逆市上涨= ',CON2STR(逆市上涨次数,0)),'次');
    逆市下跌:=IF(个涨幅 0 AND 上证涨幅 0,1,0);
    逆市下跌次数:=COUNT(逆市下跌,BARSSINCE(逆市下跌)+1);
    XD:=STRCAT(STRCAT('★逆市下跌= ',CON2STR(逆市下跌次数,0)),'次');
    MM:=STRCAT(QQ,XD);
    DRAWTEXT_FIX(1,0.8,0.01,0,MM),COLORYELLOW;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 星光主图 通达信主图指标 九毛八公式指标网 加入收藏