最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 买卖四色 买卖分水岭 通达信主图指标 九毛八公式指标网

    正文概述    2024-04-07 11:31:13  

    买卖四色 买卖分水岭 通达信主图指标 源码 贴图

    M20:MA(C,20),COLOR0000FF,DOTLINE;{买卖分水岭}
    {乖离止盈止损}
    乖离20:=ABS((2*C+H+L)/4-M20)/M20;
    乖离DM:=DMA(CLOSE,乖离20);
    止盈:乖离DM*1.06,COLOR00FFFF,LINETHICK1;{20天均线乖离+6%}
    止损:乖离DM*0.94,COLOR00FF00,LINETHICK1;{20天均线乖离-6%}
    DRAWBAND(止盈,RGB(0,0,255),M20,RGB(0,0,255));
    DRAWBAND(M20,RGB(0,0,155),止损,RGB(0,0,155));
    DRAWBAND(止盈,RGB(100,0,100),止盈*1.05,RGB(100,0,100));
    DRAWBAND(止损,RGB(0,80,0),止损*0.95,RGB(0,180,0));
    {成本3}
    Y5:CYC(3),COLORFFFFFF,LINETHICK1;
    DRAWBAND(Y5,RGB(155,100,0),REF(Y5,1),RGB(0,100,0));
    {K线}{www.9m8.cn 九毛八公式指标网}
    STICKLINE(CLOSE OPEN OR CLOSE=OPEN AND CLOSE REF(CLOSE,1),LOW,HIGH,0.0,0),COLORRED;
    STICKLINE(CLOSE OPEN OR CLOSE=OPEN AND CLOSE =REF(CLOSE,1),LOW,HIGH,0.0,0),COLORCYAN;
    STICKLINE(OPEN =CLOSE ,CLOSE ,OPEN,3,0 ),COLOR008800;
    STICKLINE(OPEN =CLOSE ,CLOSE ,OPEN,2,0 ),COLOR00AA00;
    STICKLINE(OPEN =CLOSE ,CLOSE ,OPEN,1,0 ),COLOR00DD00;
    STICKLINE(OPEN =CLOSE ,CLOSE ,OPEN,0,0 ),COLOR00FF00;
    STICKLINE(CLOSE OPEN,CLOSE,OPEN,3,0) ,COLOR000088;
    STICKLINE(CLOSE OPEN,CLOSE,OPEN,2,0) ,COLOR0000AA;
    STICKLINE(CLOSE OPEN,CLOSE,OPEN,1,0) ,COLOR0000DD;
    STICKLINE(CLOSE OPEN,CLOSE,OPEN,0,0) ,COLOR0000FF;
    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 买卖四色 买卖分水岭 通达信主图指标 九毛八公式指标网 加入收藏