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

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

    M:=20;
    N:=4;
    boll:MA(CLOSE,M);
    UB:BOLL+2*STD(CLOSE,M);
    LB:BOLL-2*STD(CLOSE,M);
    高:=REF(HHV(H,72),5);
    龙门:REFDATE(高,DATE),COLORWHITE,LINETHICK2;
    TM:=1200823;
    涨停:IF(DATE 跌停:IF(DATE 明涨停:IF(DATE 明跌停:IF(DATE ZT:=C>=涨停 AND PERIOD=5 AND H=C;
    ZT1:=H>=涨停 AND PERIOD=5 AND H>C;
    DT:=C<=跌停 AND PERIOD=5 AND L=C;
    DT1:=L<=跌停 AND PERIOD=5 AND L {涨停k线颜色设置}
    STICKLINE(ZT,C,(O+C)/2,3,0),COLOR000099;
    STICKLINE(ZT,C,(O+C)/2,2.2,0),COLOR0000CC;
    STICKLINE(ZT,C,(O+C)/2,1.5,0),COLOR0000FF;
    STICKLINE(ZT,C,(O+C)/2,0.5,0),COLORCC66FF;
    STICKLINE(ZT,O,(O+C)/2,3,0),COLOR999999;
    STICKLINE(ZT,O,(O+C)/2,2.2,0),COLORBBBBBB;
    STICKLINE(ZT,O,(O+C)/2,1.5,0),COLORDDDDDD;
    STICKLINE(ZT,O,(O+C)/2,0.5,0),COLORFFFFFF;
    STICKLINE(DT,O,(O+C)/2,3,0),COLOR999999;
    STICKLINE(DT,O,(O+C)/2,2.2,0),COLORBBBBBB;
    STICKLINE(DT,O,(O+C)/2,1.5,0),COLORDDDDDD;
    STICKLINE(DT,O,(O+C)/2,0.5,0),COLORFFFFFF;
    STICKLINE(DT,C,(O+C)/2,3,0),COLOR009900;
    STICKLINE(DT,C,(O+C)/2,2.2,0),COLOR00BB00;
    STICKLINE(DT,C,(O+C)/2,1.5,0),COLOR00DD00;
    STICKLINE(DT,C,(O+C)/2,0.5,0),COLOR00FF00;
    {曾涨跌停打开K线颜色设置}
    STICKLINE(ZT1,C,(O+C)/2,3,0),COLORFF00FF;
    STICKLINE(ZT1,C,(O+C)/2,2.2,0),COLORFF00FF;
    STICKLINE(ZT1,C,(O+C)/2,1.5,0),COLOR0000FF;
    STICKLINE(ZT1,O,(O+C)/2,3,0),COLOR999999;
    STICKLINE(ZT1,O,(O+C)/2,2.2,0),COLORBBBBBB;
    STICKLINE(ZT1,O,(O+C)/2,1.5,0),COLORDDDDDD;
    STICKLINE(DT1,O,(O+C)/2,3,0),COLOR888888;
    STICKLINE(DT1,O,(O+C)/2,2.2,0),COLORBBBBBB;
    STICKLINE(DT1,O,(O+C)/2,1.5,0),COLORDDDDDD;
    STICKLINE(DT1,C,(O+C)/2,3,0),COLOR009900;
    STICKLINE(DT1,C,(O+C)/2,2.2,0),COLOR00BB00;
    STICKLINE(DT1,C,(O+C)/2,1.5,0),COLOR00DD00;
    STICKLINE(DT1,C,(O+C)/2,0.5,0),COLOR00FF00;
    DRAWTEXT(ZT AND DT1 AND PERIOD=5,L-0.03,'地天板'),COLORCC00CC;{从跌停到涨停}
    DRAWTEXT(DT AND ZT1 AND PERIOD=5,H+0.03,'天地板'),COLOR00CC00;{从涨停到跌停};
    DRAWTEXT(DT1,L-0.09,'撬'),COLORCC00CC;{从涨停到跌停};
    DRAWTEXT(ZT1,H+0.03,'炸'),COLOR00CC00;{从涨停到跌停};
    假阴:=REF(C>=O,1) AND AMOUNT/V/100>REF(C,1) AND C 假阳:=REF(C<=O,1) AND HO;
    STICKLINE(假阴,O,C,0.2,0),COLORRED;{假阴柱};
    STICKLINE(假阳,O,C,0.7,0),COLORLIGREEN;{假阳};
    JJ:=(C+H+L)/3;
    A:=EMA(JJ,10);
    B:=REF(A,1);
    STICKLINE(A>B,A,B,2,0),COLORYELLOW;
    STICKLINE(A 月线:=WMA(C,21);
    月角:=ATAN((月线/REF(月线,1)-1)*100)*180/3.1416,NODRAW;
    A1:=REF(H,N)=HHV(H,2*N+1);
    B1:=FILTER(A1,N);
    C1:=BacKSET(B1,N+1);
    D1:=FILTER(C1,N) AND ZT;
    E1:=BArslAST(D1 );
    STICKLINE(D1,BOLL,UB,2,0),COLORRED;
    GX:=(OLB) OR (OBOLL) OR (OUB);
    缩量:=V<0.8*HHV(V,20);{量小于20天内最高量的0.8倍}
    选股:=crOSS(C,REF(H,E1)) AND GX AND V<=REF(V,E1)*1.2 AND 月角>30,NODRAW;
    STICKLINE(选股,LB,BOLL,0.1,0),COLORGREEN;
    STICKLINE(选股,UB,BOLL,0.1,0),COLORRED;
    市值:(FINANCE(40)/100000000),NODRAW,COLORRED;
    股东占流通比:100*FINVALUE(244)/FINVALUE(239),NODRAW;
    历史衰退系数:100/(100-股东占流通比),NODRAW;
    {板块排名}
    TAX:=HORCALC(HYBLOCK,105,1,DRAWNULL);
    TAA:=STRCAT(HYBLOCK,' 排名 :');
    DRAWTEXT_FIX(ISLASTBAR,0.70,0.005,0,STRCAT(TAA,CON2STR(TAX,0)));


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信跟庄BOLL主图指标公式 加入收藏