最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 大智慧好用的成交量指标

    正文概述    2024-04-12 23:07:10  

    M1:=5;M2:=35;M3:=135;

    VOL,VOLSTICK,PRECIS0;

    {预测当日量}
    YCV:=0;
    IF DATE=CURRENTDATE THEN BEGIN
    TIMES:=IF(TIMETOT0(CURRENTTIME)>=9.5*3600 AND TIMETOT0(CURRENTTIME)<=11.5*3600,TIMETOT0(CURRENTTIME)-9.5*3600,IF(TIMETOT0(CURRENTTIME)>=13*3600 AND TIMETOT0(CURRENTTIME)<15*3600,TIMETOT0(CURRENTTIME)-11*3600,4*3600));
    YCV:=IF(DATATYPE=8 AND BARSTATUS=2 AND TIMES<300,VOL*4*3600/TIMES*(0.7+TIMES/1000),IF(DATATYPE=8 AND BARSTATUS=2,VOL*4*3600/TIMES,0));
    END;
    测:IF(YCV=0,VOL,YCV),LINETHICK0,PRECIS0;
    STICKLINE(BARSTATUS=2,VOL,测,6,1),COLORYELLOW;

    {异动提示}
    V1:MA(Vol,M1),colorwhite,PRECIS0;
    V2:MA(Vol,M2),colorRED,PRECIS0;
    V3:MA(Vol,M3),colorGREEN,PRECIS0;
    地量:VOL HHVOL:=HHVALL(VOL);
    DRAWLINE(HHVOL=VOL,HHVOL*1.1,HHVOL<>VOL,HHVOL*1.1,11),COLOR888888;
    DRAWLINE(HHVOL=VOL,HHVOL*1.2,HHVOL<>VOL,HHVOL*1.2,11),COLOR888888;
    DRAWICON(地量>0,HHVOL*1.08,11);
    出击:STICKLINE(CROSS(V1,V3) OR ((V2 > V3) AND CROSS(V1,V2)),HHvol*1.1,HHVOL*1.2,8,0),COLORred;
    启动:STICKLINE(V1>REF(V1,1) AND (CROSS(VOL,V1) AND (REF(VOL,1)

    {画成交量柱}
    VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
    主动买盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE 主动卖盘:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE 买卖盘比:-(主动买盘/主动卖盘),COLORYELLOW,PRECIS2;
    STICKLINE(主动买盘>0,0,主动买盘,1,0),COLORRED;
    STICKLINE(主动卖盘<0,VOL,主动买盘,1,0),COLOR00FF00;
    换手:=VOL/CAPITAL*100;
    STICKLINE(换手>0 ,0, 主动买盘,6,0),COLOR9900AA;
    STICKLINE(换手>0,VOL, 主动买盘, 6,1) ,COLOR00f5ae;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 大智慧好用的成交量指标 加入收藏