最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 大智慧分时高低通道指标公式

    正文概述    2024-04-14 06:45:56  

    DRAWTEXTAbs(680,2,'上涨家数:'+NUMTOSTRN(DYNAINFO(69),0)),COLOR0000FF;
    DRAWTEXTABS(765,2,'下跌家数:'+NUMTOSTRN(DYNAINFO(70),0)),COLOR00FF00;
    DRAWTEXTABS(850,2,'平盘家数:'+NUMTOSTRN(DYNAINFO(71),0)),COLORFFFFFF;
    昨收:=DYNAINFO(3);
    S1:=SMA(c,3,1);
    S2:=sma(c,5,1);
    dk:=10*(S1-S2);
    kk:=IF(DATATYPE=8,0.95,1);
    STICKLINE(dk>0,昨收*kk,昨收*kk+dk,0,1),COLORRED;
    STICKLINE(dk<0,昨收*kk,昨收*kk+dk,0,1),COLORCYAN;
    {- }
    M:=0; N:=30;
    强压力:IF(SUM(C*vol,M)/SUM(VOL,M)>0,IF(SUM(C*VOL,M)/SUM(VOL,M)*(1+(N/1000))>=DYNAINFO(3)*1.1,DYNAINFO(3)*1.1,SUM(C*VOL,M)/SUM(VOL,M)*(1+(N/1000))),IF(C*(1+(N/1000))>=DYNAINFO(3)*1.1,DYNAINFO(3)*1.1,C*(1+(N/1000)))),color00ff00;
    压力线:IF(SUM(C*VOL,M)/SUM(VOL,M)>0,IF(SUM(C*VOL,M)/SUM(VOL,M)*(1+(N/2000))>=DYNAINFO(3)*1.1,DYNAINFO(3)*1.1,SUM(C*VOL,M)/SUM(VOL,M)*(1+(N/2000))),IF(C*(1+(N/2000))>=DYNAINFO(3)*1.1,DYNAINFO(3)*1.1,C*(1+(N/2000)))),colorffcc00;
    平衡线:IF(SUM(C*VOL,M)/SUM(VOL,M)>0,SUM(C*VOL,M)/SUM(VOL,M),C),color00ffff;
    支撑线:IF(SUM(C*VOL,M)/SUM(VOL,M)>0,IF(SUM(C*VOL,M)/SUM(VOL,M)*(1-(N/2000))>=DYNAINFO(3)*1.1,DYNAINFO(3)*1.1,SUM(C*VOL,M)/SUM(VOL,M)*(1-(N/2000))),IF(C*(1-(N/2000))>=DYNAINFO(3)*1.1,DYNAINFO(3)*1.1,C*(1-(N/2000)))),Color66FF99;
    强支撑:IF(SUM(C*VOL,M)/SUM(VOL,M)>0,IF(SUM(C*VOL,M)/SUM(VOL,M)*(1-(N/1000))>=DYNAINFO(3)*1.1,DYNAINFO(3)*1.1,SUM(C*VOL,M)/SUM(VOL,M)*(1-(N/1000))),IF(C*(1-(N/1000))>=DYNAINFO(3)*1.1,DYNAINFO(3)*1.1,C*(1-(N/1000)))),COLOR6666ff;
    PARTLINE(CLOSE,BETWEEN(CLOSE,支撑线,压力线),RGB(255,255,255),BETWEEN(CLOSE,压力线,强压力),RGB(255,0,255),CLOSE>=强压力,RGB(255,0,0)),linethick2;
    PARTLINE(CLOSE,BETWEEN(CLOSE,支撑线,强支撑),RGB(0,255,255),CLOSE<=强支撑,RGB(0,255,0)),linethick2;
    {以下为分时突破}
    XG:=HHV(H,480);
    STICKLINE(FILTER(crOSS(C,REF(XG,1)),10),C*0.99,C,8,0),COLORgreen;
    DRAWTEXT(FILTER(CROSS(C,REF(XG,1)),10),C*0.99,'↖上突'),COLORYELLOW;
    T:=BARSCOUNT(C);
    TP:= FILTER( C>=HHV(H,T) AND V>MA(V,0)*2 AND DYNAINFO(17)>1 AND TIME0>39600,240) ;
    DRAWTEXT(TP,L,'↖突破'),COLORmagenta;
    VERTLINE(tp,1),COLORwhite,LINETHICK2;
    HHV(h,T),DOTLINE,Color00FFFF;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 大智慧分时高低通道指标公式 加入收藏