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

    正文概述    2024-04-07 07:34:37  

    P:=2;M1:=24;M2:=80;M3:=160;
    {BBI:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLOR00FF00;{多空线}}
    MID中轨:=MA(CLOSE,M1);
    MA80:MA(CLOSE,M2);
    MA160:MA(CLOSE,M3);
    VART1:=POW((C-MID中轨),2);
    VART2:=MA(VART1,M1);
    VART3:=SQRT(VART2);
    UPPER:=MID中轨+P*VART3;
    LOWER:=MID中轨-P*VART3;
    BOLL:=REF(MID中轨,1);
    UPPEB上轨:REF(UPPER,1),COLOR333333,LINETHICK2;
    LOWEB下轨:REF(LOWER,1),COLOR333333,LINETHICK2;
    {变色中轨}
    AA:=MID中轨;
    BB:AA REF(AA,1),LINETHICK0;
    MID中轨,COLORFFFFFF,DOTLINE;
    IF(BB,MID中轨,DRAWNULL),COLORRED,DOTLINE;
    STICKLINE(CLOSE =OPEN AND CLOSE =MID中轨,OPEN,CLOSE,2,0),COLOR000077;
    STICKLINE(CLOSE =OPEN AND CLOSE =MID中轨,H,L,0,0),COLOR000077;
    STICKLINE(OPEN CLOSE AND CLOSE =MID中轨,OPEN,CLOSE,2,0),COLOR777700;
    STICKLINE(OPEN CLOSE AND CLOSE =MID中轨,H,L,0,0),COLOR777700;
    STICKLINE(CROSS(CLOSE,MID中轨),CLOSE,OPEN,0.5,0),COLOR0080FF;




    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信布林均线主图指标公式 加入收藏