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

    正文概述    2024-04-13 17:07:09  

    N:=10;P:=4;S:=1;
    {N(10),P(4),S(1);}
    MA5:=MA(C,5);
    MA10:=MA(C,10);
    MA20:=MA(C,20);
    MA30:=MA(C,30);
    DTPL:=MA10>MA20 AND MA20>MA30 AND MA20>REF(MA20,1) AND MA30>REF(MA30,1);
    DTSJ:=BArslAST(crOSS(DTPL,0.1));
    XME:=DTSJ*DTPL>0;
    MZH:=(MA(C,20)+MA(C,30))/2;
    斜面:IF(XME=1,MZH,DRAWNULL),COLOR00FFFF,LINETHICK4,CROSSDOT;
    {IF(XME=1,MZH*0.985,DRAWNULL),COLORFF00FF,LINETHICK4,CROSSDOT;}
    ZF:=(C/REF(C,1)-1)*100;
    WBTG:=COUNT(C>MA10 AND MA10>REF(MA10,1),3)=3;
    LXXZ:=COUNT(Abs(ZF)=N-2;
    {- }
    TGE:=(LXXZ AND WBTG AND 斜面 AND COUNT(ZF>5,3)=0)*1;
    推高:IF(TGE=1,MZH*1.024,DRAWNULL),COLORFFBB88,LINETHICK4,CIRCLEDOT;
    BCXM:=COUNT(斜面,5)=5;
    SL:=V SLE:=((COUNT(SL,5)>=3 OR COUNT(SL,6)>=4) AND SL AND V 缩量:IF(SLE=1,MZH*0.984,DRAWNULL),COLORF09000,LINETHICK4,CROSSDOT;
    YXE:=推高 AND BCXM AND 缩量;
    优选:(YXE>0,L*0.98,DRAWNULL),COLORFF00FF,LINETHICK4,CROSSDOT;
    {以下设置主图显示方式}
    缩量斜面:IF(XME&&SLE,MZH,DRAWNULL),COLOR00FF00,LINETHICK4,CROSSDOT;
    M5:IF(S=1,MA5,DRAWNULL),COLORFFFFFF;
    M10:IF(S=1,MA10,DRAWNULL),COLORYELLOW;
    M20:IF(S=1,MA20,DRAWNULL),COLORMAGENTA;
    M30:IF(S=1,MA30,DRAWNULL),COLORGREEN;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信斜面推高指标公式 加入收藏