最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 分时突破副图B,S点位不准,信号太多)修改的方法

    正文概述    2024-04-14 08:21:02  

    九毛八公式指标

    公式模块:

    tt:=BARSCOUNT(C);
    CC:=CLOSE;
    zz:=SUM(AMOUNT,tt)/SUM(vol*100,tt);
    zz1:=BETWEEN(C/zz,1.05,0.95);
    均线:IF(zz1=0,MA(C,TT),zz),COLOR00FFFF,LINETHICK0;
    PARTLINE(均线,均线>ref(均线,1),rgb(250,0,0),均线<=ref(均线,1),rgb(0,250,0)),linethick2;
    上均:均线 + AVEDEV(C,tt)*2,COLOR00FF00;
    下均:均线 - AVEDEV(C,tt)*2,COLORFF6600;
    时长:=if(HOUR>=13 AND HOUR<15 ,1,0);
    涨幅:=(close/DYNAINFO(3))>=1.03;
    跌幅:=(close/DYNAINFO(3))<=0.97;
    涨跌幅:=涨幅 OR 跌幅;
    yy:=SMA(VOL,30,1);
    放量:=(yy-LLV(Llv(yy,1),30))/(HHV(Hhv(yy,1),30)-LLV(Llv(yy,1),30))>0;
    横盘:=((HHV(CLOSE,TT)-LLV(CLOSE,TT))/CLOSE)<=0.05;
    横涨:=涨跌幅=0 and 横盘 and 时长 and 放量 and crOSS(CC,上均)and DYNAINFO(22)<DYNAINFO(23) ;
    横跌:=涨跌幅=0 and 横盘 and 时长 and 放量 and CROSS(下均,CC) ;
    PP:= FILTER(横涨,100) ;
    UU:= FILTER(横跌,50) ;
    DRAWTEXT(PP,上均,'★上突'),colorff00ff;
    DRAWTEXT(UU,下均,'★下破'),COLOR00FFFF;
    VERTLINE( PP,3),COLORWHITE,LINETHICK2;
    VERTLINE( UU,3),COLOR00FF00,LINETHICK2;
    gqc:=dYNAINFO(3);{昨收}
    个股涨幅:=DYNAINFO(7)/gqc-1;
    上证昨收:=hhv(STKINDI('sh000001','001.rc#day'),0);
    深证昨收:=hhv(STKINDI('399001','001.rc#day'),0);
    上证最新:=STKINDI('1A0001','001.c1#min1');
    深证最新:=STKINDI('399001','001.c1#min1');
    最新行情:=if(STRCMP(MARKETLABEL,'SH')=0,上证最新,深证最新);
    大盘昨收:=if(STRCMP(MARKETLABEL,'SH')=0,上证昨收,深证昨收);
    大盘涨幅:=最新行情/大盘昨收;
    虚拟大盘:=gqc*大盘涨幅;
    求助老师,把莱昔新编分时均线指标公式(源码、主图、贴图)改通达信,谢谢
    ========================
    分时突破点位不准,请老师帮忙改一改
    BGTYU:=IF(DATE<=1150530,1,0);
    GHYJKU:=BETWEEN((CLOSE*BGTYU)/(SUM(AMOUNT,BARSCOUNT((CLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((CLOSE*BGTYU)))),1.05,0.95);
    VBNH:=IF(GHYJKU=0,MA((CLOSE*BGTYU),BARSCOUNT((CLOSE*BGTYU))),(SUM(AMOUNT,BARSCOUNT((CLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((CLOSE*BGTYU)))));
    底线:1.003,COLORRED,LINETHICK2;
    高线:1.03,COLORRED,LINETHICK3;
    黄色起动线:EMA((CLOSE/VBNH),20),COLORYELLOW,POINTDOT;
    洋红色主力线:EMA((CLOSE/VBNH),60),COLORMAGENTA,LINETHICK2;
    绿色散户线:EMA((CLOSE/VBNH),120),COLORGREEN,LINETHICK2;
    DRAWICON(CROSS(EMA((CLOSE/VBNH),60),EMA((CLOSE/VBNH),120)),EMA((CLOSE/VBNH),60)*1,7);
    DRAWICON(CROSS(EMA((CLOSE/VBNH),120),EMA((CLOSE/VBNH),60)),EMA((CLOSE/VBNH),120)*1,8);
    DRAWICON(CROSS(EMA((CLOSE/VBNH),20),1.02),1.02+0.005,18);
    STICKLINE(CROSS(EMA((CLOSE/VBNH),20),1.02),1.02,1.025,5,0), COLORMAGENTA;
    STICKLINE(EMA(C,10)>EMA(C,60) ,1.03,1.034,2.0,0),COLORRED;
    STICKLINE(EMA(C,10)<EMA(C,60) ,1.03,1.025,2.0,0),COLORGREEN;
    DRAWTEXT(CROSS(EMA((CLOSE/VBNH),20),1.02),1.02,'拉升'),COLORWHITE;
    DRAWTEXT(CROSS(EMA((CLOSE/VBNH),20),1.04),1.04,'可能涨停'),COLORWHITE;

    STICKLINE(EMA((CLOSE/VBNH),120)>1.003 ,1.03,1.039,2.0,0),COLORMAGENTA;
    DRAWTEXT(CROSS(EMA((CLOSE/VBNH),120),1.0029),1.028,'买进'),COLORWHITE;
    DRAWICON(CROSS(EMA((CLOSE/VBNH),120),1.0029),1.0326*1,9);
    DRAWTEXT(CROSS(EMA((CLOSE/VBNH),120),1.0029),1.036,'观察分时量'),COLORWHITE;
    DRAWTEXT(CROSS(EMA((CLOSE/VBNH),120),1.004),1.005,'超强'),COLORWHITE;
    DRAWICON(CROSS(EMA((CLOSE/VBNH),120),1.004),1.003*1,9);


    {}
    TT:=BARSCOUNT(C)+1;
    ZZ:=SUM(AMOUNT,TT)/SUM(VOL*100,TT);
    ZZ1:=BETWEEN(C/ZZ,1.05,0.95);
    均线:IF(ZZ1=0,MA(C,TT),ZZ),COLOR00FFFF,LINETHICK1;
    {IF(均线>REF(均线,1),均线,DRAWNULL),COLORRED;}
    上均:均线+MA(ABS(C-均线),TT)*1.7,COLOR00FF00;
    下均:均线-MA(ABS(C-%&&&&&%),TT)*1.7,COLORFF6600;
    时长:=IF(HOUR>=13 AND HOUR<15 ,1,0);
    涨幅:=(CLOSE/DYNAINFO(3))>=1.03;
    跌幅:=(CLOSE/DYNAINFO(3))<=0.97;
    涨跌幅:=涨幅 OR 跌幅;
    YY:=SMA(VOL,30,1);
    放量:=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(LLV(YY,1),30))>0;
    横盘:=((HHV(CLOSE,TT)-LLV(CLOSE,TT))/CLOSE)<=0.05;
    横涨:=涨跌幅=0 AND 横盘 AND 时长 AND 放量 AND CROSS(C,上均) AND DYNAINFO(22)<DYNAINFO(23);
    横跌:=涨跌幅=0 AND 横盘 AND 时长 AND %&&&&&% AND CROSS(下均,C) ;
    PP:=FILTER(横涨,80);
    UU:=FILTER(横跌,50);
    DRAWTEXT(PP,上均,'★上突'),COLORFF00FF;
    DRAWTEXT(UU,下均,'★下破'),COLOR00FFFF;
    STICKLINE(PP,CONST(HHV(H,0)),CONST(LLV(L,0)),0,0),COLORWHITE;
    STICKLINE(UU,CONST(HHV(H,0)),CONST(LLV(L,0)),0,0),COLOR00FF00;
    {STICKLINE(PP,上均,下均,0,0),COLORWHITE;}
    {STICKLINE(UU,上均,上均,0,0),COLOR00FF00;};


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 分时突破副图B,S点位不准,信号太多)修改的方法 加入收藏