最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 把{乖离}改为大智慧指标

    正文概述    2024-04-14 08:22:18  

    九毛八公式指标

    公式模块:

    请老师把{乖离}改为大智慧指标,谢谢!

    bias1:=(C-MA(C,6))/MA(C,6)*100;
    BIAS2:=(C-MA(C,12))/MA(C,12)*100;
    BIAS3:=(C-MA(C,24))/MA(C,24)*100;
    BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
    乖离: MA(BIAS,3),NODRAW;
    STICKLINE(乖离<-6 AND 乖离>=-12,1,0,3,0),COLOR005C00;
    STICKLINE(乖离<-12 AND 乖离>=-18,2,1,3,0),COLOR0099FF;
    STICKLINE(乖离<-18 AND 乖离>=-30,3,2,3,0),COLOR33CCFF;
    STICKLINE(乖离<-30,4,3,3,0),COLORRED;
    DRAWTEXT(乖离<-30,3, 'B'), COLORWHITE;
    DRAWTEXT(乖离<-30 AND ISLASTBAR,1, '长 买'), COLORWHITE;

    BIAS1:=(C-MA(C,6))/MA(C,6)*100;
    BIAS2:=(C-MA(C,12))/MA(C,12)*100;
    BIAS3:=(C-MA(C,24))/MA(C,24)*100;
    BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
    乖离: MA(BIAS,3),LINETHICK0;
    FILLRGN(0.1,0,乖离<-6 AND 乖离>=-12),COLOR33ccff;
    FILLRGN(0.2,0,乖离<-12 AND 乖离>=-18),COLOR3300ff;
    FILLRGN(0.3,0,乖离<-18 AND 乖离>=-30),COLOR00ccff;
    FILLRGN(0.4,0.3,乖离<-30),colorred;
    DRAWTEXT(乖离<-30,0.3, 'B'), colorwhite;
    DRAWTEXT(乖离<-30 AND DISPSTATUS=2,0.1, '长 买'), colorwhite;

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 把{乖离}改为大智慧指标 加入收藏