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

    正文概述    2024-04-14 15:10:35  

    源码如下:
    LYA1:=IF(H>REF(HHV(H,3),1) AND C>REF(C,1),LLV(L,3),IF (L HHV(H,3),DRAWNULL));
    LYA:=IF(LYA1=DRAWNULL,REF(LYA1,1),LYA1);
    SNX2:=IF(LYAL,REF(LYA,1),LYA);
    BB:=PLOYLINE(C>0,SNX2),COLORGREEN,LINETHICK1;
    DRAWICON(CROSS(C,BB),(C+O)/2,1);
    DRAWICON(CROSS(BB,C),(C+O)/2,2);
    中: EMA(EMA(EMA(HIGH,7.23379625),7.23379625),1),COLORLIBLUE,LINETHICK1;
    中斜:=(EMA(中,2)-REF(EMA(中,2),2))/REF(EMA(中,2),2)*100,NODRAW;
    IF(中斜>=0,中,DRAWNULL),COLORRED,LINETHICK2;
    下1: 中*0.9276620375,COLORYELLOW,LINETHICK1;
    下2: 中*0.868055,COLORYELLOW,LINETHICK1; {0.9}
    下3:中*0.8263889,COLORYELLOW,POINTDOT;
    上1:中*1.0723379625,COLORYELLOW,LINETHICK1;
    上2: 中*1.12170138,COLORYELLOW,LINETHICK1;
    上3:中*1.1694444444,COLORYELLOW,POINTDOT;
    MACD:="MACD.MACD#DAY"(12,26,9);
    周MACD:="MACD.MACD#WEEK"(12,26,9);
    IF(MACD>=0,下1,DRAWNULL),COLORRED,LINETHICK2;
    IF(周MACD>=0,下2,DRAWNULL),COLORRED,LINETHICK2;
    DRAWTEXT((C-MA(C,13))/MA(C,13)*100<-20 AND C<下3,L,'建');
    DRAWTEXT(FILTER(CROSS(MACD,0)OR CROSS(周MACD,0),3),L*0.99,'小加')COLORWHITE;
    DRAWTEXT(COUNT(MACD>=0 AND 周MACD>=0 AND 中斜>=0,5)=1 AND MACD>=0 AND 周MACD>=0 AND 中斜>=0,L*0.96,'大加')COLORMAGENTA;
    DRAWTEXT(FILTER(CROSS(0,MACD) OR CROSS(0,周MACD) OR CROSS(0,中斜),5),H*1.05,'减')COLORGREEN;
    STICKLINE(CLOSE> REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORRED;
    STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR000055;
    STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR000077;
    STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR000099;
    STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLOR0000BB;
    STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLOR0000DD;
    STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLOR0000FF;
    STICKLINE(CLOSE= REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORWHITE;
    STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR555555;
    STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR777777;
    STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR999999;
    STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBBBB;
    STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORDDDDDD;
    STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORFFFFFF;
    STICKLINE(CLOSE< REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORCYAN;
    STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR990000;
    STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLORCC0000;
    STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLORFF4400;
    STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORFF8800;
    STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORFFCC00;
    STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORCYAN;

    DRAWTEXT_FIX(1,0.0,0.00,0,DYBLOCK),COLORFFFFFF;
    DRAWTEXT_FIX(1,0.07,0.00,0,HYBLOCK),COLORFFFFFF;

    DRAWTEXT_FIX(1,0,0.05,0,STRCAT('主营业务:',EXTERNSTR(0,2)));
    DRAWTEXT_FIX(1,0,0.10,0,STRCAT('主题投资:',EXTERNSTR(0,1))),COLORFFFFFF;
    DRAWTEXT_FIX(1,0,0.15,0,STRCAT('业绩:',EXTERNSTR(0,4))),COLORFFFFFF;
    DRAWTEXT_FIX(1,0,0.95,0,STRCAT('限售解禁:',EXTERNSTR(0,3))),COLORFFFFFF;

    DRAWTEXT_FIX (1,0.150,0.0,0,'现金流:'),COLORFFFFFF;
    DRAWNUMBER_FIX(1,0.200,0.0,0,CONST(FINANCE(25)/1000000000)),COLORFFFFFF;
    DRAWTEXT_FIX (1,0.270,0.0,0,'套牢盘%:'),COLORFFFFFF;
    DRAWNUMBER_FIX(1,0.320,0.0,0,CONST(100-WINNER(CLOSE)*100)),COLORFFFFFF;
     


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信轨道加上相关内容的主图源码 加入收藏