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

    正文概述    2024-04-14 15:14:38  

    {涨跌测量}
    TIAOJIAN:=C=LLV(C,60) AND (C-HHV(C,15))/HHV(C,15)<0.10;
    XA:=BACKSET(CROSS(0.5,TIAOJIAN),2);
    DA:=BACKSET(CROSS(XA,0.5) OR (REF(TIAOJIAN,2)=1 AND REF(TIAOJIAN,1)=0 AND TIAOJIAN=1),1);
    DAYS:=BARSLAST(DA);
    涨幅:100*(C-REF(C,DAYS))/REF(C,DAYS),NODRAW;
    低价:IF(CURRBARSCOUNT<=10 ,REF(C,DAYS),DRAWNULL),COLORBLUE;
    DRAWTEXT(ISLASTBAR,REF(C,DAYS),'0﹪'),COLORBLUE;
    涨10﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*1.1 ,REF(C,DAYS)*1.1,DRAWNULL);
    DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*1.1,REF(C,DAYS)*1.1,'10﹪'),COLORWHITE;
    涨20﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*1.2 ,REF(C,DAYS)*1.2,DRAWNULL),COLORRED;
    DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*1.2,REF(C,DAYS)*1.2,'20﹪'),COLORRED;
    涨30﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*1.3 ,REF(C,DAYS)*1.3,DRAWNULL),COLORYELLOW;
    DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*1.3,REF(C,DAYS)*1.3,'30﹪');
    涨40﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*1.4 ,REF(C,DAYS)*1.4,DRAWNULL),COLORMAGENTA;
    DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*1.4,REF(C,DAYS)*1.4,'40﹪'),COLORMAGENTA;
    涨50﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*1.5 ,REF(C,DAYS)*1.5,DRAWNULL),COLORCYAN;
    DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*1.5,REF(C,DAYS)*1.5,'50﹪'),COLORCYAN;
    涨60﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*1.6 ,REF(C,DAYS)*1.6,DRAWNULL),COLORGREEN;
    DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*1.6,REF(C,DAYS)*1.6,'60﹪'),COLORGREEN;
    涨70﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*1.7 ,REF(C,DAYS)*1.7,DRAWNULL),COLORGRAY;
    DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*1.7,REF(C,DAYS)*1.7,'70﹪'),COLORGRAY;
    涨80﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*1.8 ,REF(C,DAYS)*1.8,DRAWNULL),COLORLIBLUE;
    DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*1.8,REF(C,DAYS)*1.8,'80﹪'),COLORLIBLUE;
    涨90﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*1.9 ,REF(C,DAYS)*1.9,DRAWNULL),COLORLIRED;
    DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*1.9,REF(C,DAYS)*1.9,'90﹪'),COLORLIRED;
    涨100﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*2.0 ,REF(C,DAYS)*2.0,DRAWNULL),COLORLICYAN;
    DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*2.0,REF(C,DAYS)*2.0,'100﹪'),COLORLICYAN;
    涨150﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*2.5 ,REF(C,DAYS)*2.5,DRAWNULL),COLORBROWN;
    DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*2.5,REF(C,DAYS)*2.5,'150﹪'),COLORBROWN;
    涨200﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*3.0 ,REF(C,DAYS)*3.0,DRAWNULL),COLORLIMAGENTA;
    DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*3.0,REF(C,DAYS)*3.0,'200﹪'),COLORLIMAGENTA;
    涨250﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*3.5 ,REF(C,DAYS)*3.5,DRAWNULL),;
    DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*3.5,REF(C,DAYS)*3.5,'250﹪');
    涨300﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*4.0 ,REF(C,DAYS)*4.0,DRAWNULL);
    DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*4.0,REF(C,DAYS)*4.0,'300﹪');


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 叠加主图的涨幅测量 加入收藏