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

    正文概述    2024-04-14 17:05:04  

    MID2 := MA(CLOSE,21),COLORWHITE;
    UPPER2:=MID2 + 1.96*STD(CLOSE,21),COLORYELLOW;
    LOWER2:=MID2 - 1.96*STD(CLOSE,21),COLORYELLOW;
    UP2:=MID2 + 2.56*STD(CLOSE,21),COLORFF00FF;
    LOOW2:=MID2 - 2.56*STD(CLOSE,21),COLORFF00FF;
    {上升趋势}
    STICKLINE(C>=MID2,MID2,UP2,2,0),COLOR330066;
    {下降趋势}
    STICKLINE(C MID:MID2,COLORWHITE;
    UPPER:UPPER2,COLORYELLOW;
    UP:UP2,COLORFF00FF;
    LOWER:LOWER2,COLORYELLOW;
    LOOW:LOOW2,COLORFF00FF;
    开口:=UP-LOOW;
    相离:=C-MID;
    DRAWTEXT(C>=MID AND REF(开口,1)=HHV(开口,20),UPPER,'减仓'),COLOR00FF00;
    DRAWTEXT(C>=MID AND REF(相离,1)=LLV(相离,5),MID,'加仓');
    股价多头:=C>MA(C,5) AND MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,20);
    DRAWTEXT(FILTER(股价多头,20),LOOW*0.95,'开始建仓'),COLORRED;
    DRAWICON(FILTER(股价多头,20),LOWER,1),COLORRED;
    DRAWTEXT(crOSS(MID,C),UP,'空仓观望'),COLORYELLOW;
    DRAWICON(CROSS(MID,C),UPPER,2),COLORYELLOW;
    {k线}
    {STICKLINE((CLOSE > OPEN),CLOSE,OPEN,5.2,0),COLOR070084;}
    STICKLINE((CLOSE > OPEN),CLOSE,OPEN,4,1),COLOR0000A3;
    STICKLINE((CLOSE > OPEN),CLOSE,OPEN,3.5,0),COLOR000033;
    STICKLINE((CLOSE > OPEN),CLOSE,OPEN,3,0),COLOR000066;
    STICKLINE((CLOSE > OPEN),CLOSE,OPEN,2.0,0),COLOR000099;
    STICKLINE((CLOSE > OPEN),CLOSE,OPEN,1.5,0),COLOR0000CC;
    STICKLINE((CLOSE > OPEN),CLOSE,OPEN,1.0,0),COLOR0000FF;
    STICKLINE((CLOSE > OPEN),CLOSE,OPEN,0.5,0),COLORCC66FF;
    STICKLINE((CLOSE > OPEN),OPEN,LOW,0.3,0),COLORRED;
    STICKLINE((CLOSE > OPEN),CLOSE,HIGH,0.3,0),COLORRED;


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