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

    正文概述    2024-04-13 16:59:46  

    N1:=5;N2:=10;N3:=20;
    MA1:=MA(C,N1);
    MA2:=MA(C,N2);
    MA3:=MA(C,N3);
    MA30:=MA(C,30);
    GX:=MAX(MA1,MAX(MA2,MA3));
    DX:=MIN(MA1,MIN(MA2,MA3));
    QSXS:=DX>MA30 AND MA30>REF(MA30,1);
    均线粘合:IF(Abs(GX/DX-1)*100<=3,1,0),COLORFFFFFF,POINTDOT,LINETHICK0;
    FL:=V>REF(V,1) OR V>MA(V,5);
    SZ:=(crOSS(C,MA(C,3)) OR CROSS(C,MA(C,5))) AND C>=O;
    放量上涨:IF(FL AND SZ,1,0),COLOR00FFFF,POINTDOT,LINETHICK0;
    果断出击:FILTER(COUNT(均线粘合,2) AND COUNT(放量上涨,2) AND C>O AND QSXS,2)*100,COLOR00FF00;
    {以下设置副图显示方式}
    {- }
    STICKLINE(均线粘合,0,10,4,0),COLOR00FF00;
    STICKLINE(均线粘合,0,-10,4,0),COLORFF00FF;
    STICKLINE(放量上涨,0,50,0.1,0),COLOR00FFFF;
    {以下设置果断出击后的涨幅跟踪,不需要的可以删除}
    MRSJ:=BArslAST(果断出击);
    涨:(C/REF(C,MRSJ)-1)*100*(MRSJ<=20),COLOR8800FF;
    ZZ:=MRSJ<20 AND CROSS(H,REF(C,MRSJ)*1.09999);
    知足:=ZZ AND COUNT(ZZ,MRSJ)=1;
    DB:=MRSJ<20 AND CROSS(H,REF(C,MRSJ)*1.05);
    达标:=DB AND COUNT(DB,MRSJ)=1;
    STICKLINE(知足,0,50,4,0),COLOR0000FF;
    DRAWTEXT(知足,80,'+10%'),COLORFFFFFF;
    STICKLINE(达标,0,30,4,0),COLORFFFFFF;
    DRAWTEXT(达标,50,'+5%'),COLOR00FFFF;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信粘合出击指标公式 加入收藏