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

    正文概述    2024-04-14 17:45:51  

    {分时小邪}
    ZSR:=DYNAINFO( 3);{前收盘价 即时行情数据}
    GDK:=(SMA(C,2,1)-SMA(C,6,1))*2.1;
     STICKLINE(GDK>0,ZSR,ZSR+GDK,0,0) ,COLOR5151A2;
     STICKLINE(GDK<=0,ZSR,ZSR+GDK,0,0) ,COLOR74743A;
     STICKLINE(GDK>0 ,ZSR+GDK*0.05,ZSR+GDK*0.15,0,0) ,COLOR0077FF;
     STICKLINE(GDK>0 ,ZSR+GDK*0.2,ZSR+GDK*0.35,0,0) ,COLOR0088FF;
     STICKLINE(GDK>0 ,ZSR+GDK*0.4,ZSR+GDK*0.55,0,0) ,COLOR0099FF;
     STICKLINE(GDK>0 ,ZSR+GDK*0.6,ZSR+GDK*0.75,0,0) ,COLOR00CCFF;
     STICKLINE(GDK>0 ,ZSR+GDK*0.8,ZSR+GDK*0.95,0,0) ,COLOR00DDDD;
     STICKLINE(GDK>0 ,ZSR+GDK*0.86,ZSR+GDK*0.999,0,0) ,COLOR00FFFF;
     STICKLINE(GDK<=0 ,(ZSR+GDK*0.05),(ZSR+GDK*0.15),0,0) ,COLOR006600;
     STICKLINE(GDK<=0 ,(ZSR+GDK*0.2),(ZSR+GDK*0.35),0,0) ,COLOR009900;
     STICKLINE(GDK<=0 ,(ZSR+GDK*0.4),(ZSR+GDK*0.55),0,0) ,COLOR00CC00;
     STICKLINE(GDK<=0 ,(ZSR+GDK*0.6),(ZSR+GDK*0.75),0,0) ,COLOR00FF00;
     STICKLINE(GDK<=0 ,(ZSR+GDK*0.8),(ZSR+GDK*0.95),0,0) ,COLOR55FF00;
     STICKLINE(GDK<=0 ,(ZSR+GDK*0.86),(ZSR+GDK*0.999),0,0) ,COLOR99FF00;
     {DRAWTEXT_FIX(1,0.06,0,0,'所属行业:')COLOR0080FF;
     DRAWTEXT_FIX(1,0.12,0,0,HYBLOCK)COLOR0080FF;
     DRAWTEXT_FIX(1,0.18,0,0,'所属地区:')COLOR00FFFF;
     DRAWTEXT_FIX(1,0.24,0,0,DYBLOCK)COLOR00FFFF;}

    HH:DYNAINFO(5),COLORRED,LINETHICK1;{最高}
    LL:DYNAINFO(6),COLORGREEN,LINETHICK1;{最低}
    中轨:(HH+LL)/2,COLOR999999,LINETHICK1;{中}

    {四线}
    AAA:=DYNAINFO(5);
     BBB:=DYNAINFO(6);
     CCC:=AAA-BBB;
    上顶:BBB+CCC*7/8,COLOR008800,DOTLINE;
    阻力:BBB+CCC*2/3,COLOR777700,DOTLINE;
    支撑:BBB+CCC/3,COLOR777700,DOTLINE;
    下底:BBB+CCC*1/8,COLOR447777,DOTLINE;
     {DRAWNUMBER(BARSTATUS=1,HH*0.9995,HH),COLORRED;}
     {DRAWNUMBER(BARSTATUS=1,LL,LL),COLORGREEN;}
     DRAWNUMBER(BARSTATUS=1,HH*0.9991,HH),COLORRED;
     DRAWNUMBER(BARSTATUS=1,LL*1.0007,LL),COLORGREEN;
     DRAWTEXT(BARSTATUS=1,HH*0.9991,' 最高'),COLORRED;
     DRAWTEXT(BARSTATUS=1,LL*1.0007,' 最低'),COLORGREEN;

    DRAWNUMBER(BARSTATUS=1,中轨,中轨),COLORDDDDDD;
     DRAWNUMBER(BARSTATUS=1,上顶,上顶),COLOR00FFFF;
     DRAWNUMBER(BARSTATUS=1,阻力,阻力),COLORFFFF00;
     DRAWNUMBER(BARSTATUS=1,支撑,支撑),COLORFFFF00;
     DRAWNUMBER(BARSTATUS=1,下底,下底),COLOR00FFFF;
     DRAWTEXT(BARSTATUS=1,上顶,' 上顶'),COLOR00FFFF;
     DRAWTEXT(BARSTATUS=1,阻力,' 阻力'),COLORFFFF00;
     DRAWTEXT(BARSTATUS=1,支撑,' 支撑'),COLORFFFF00;
     DRAWTEXT(BARSTATUS=1,下底,' 下底'),COLOR00FFFF;
     DRAWTEXT(BARSTATUS=1,中轨,' 平衡'),COLORFFFFFF;
     JJ:SUM(C*V,0)/SUM(V,0),COLOR00FFFF;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 小邪分时源码主图贴图 加入收藏