最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 主图添加成交量公式能否加虚拟和均量线

    正文概述    2024-04-14 09:04:27  

    九毛八公式指标

    请老师帮助一个主图添加成交量的公式能否加入虚拟成交量和5.10.20均量线.显示在主图中。非常感谢!!!!! {主图成交量} MAXV:=CONST(HHV(VOL,21)); MAXS:=CONST(HHV(HIGH,21)); BS:=MAXV/MAXS; VOLUME:=VOL/BS*0.10; ORIGIN:=CONST(LLV(LOW,0))-CONST(0.5*HHV(VOLUME,0)),; STICKLINE(CLOSE>=OPEN,ORIGIN,ORIGIN+VOLUME,0.2,0),COLORRED; STICKLINE(CLOSE

    公式模块:

    TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1)))));

    MTIME:=MOD(FROMOPEN,TOTAL); CTIME:=IF(MTIME<0.5,TOTAL,MTIME); Vvol:=IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL); MAXV:=CONST(HHV(VOL,21)); MAXS:=CONST(HHV(HIGH,21)); BS:=MAXV/MAXS; VOLUME:=VOL/BS*0.10; ORIGIN:=CONST(LLV(LOW,0))-CONST(0.5*HHV(VOLUME,0)),; STICKLINE(CLOSE>=OPEN,ORIGIN,ORIGIN+VOLUME,0.2,0),COLORRED; STICKLINE(CLOSE<OPEN,ORIGIN,ORIGIN+VOLUME,0.2,0),COLORGREEN; STICKLINE(CURRBARSCOUNT=1 && (SETCODE=0 || SETCODE=1),VVOL/BS*0.10+ORIGIN,ORIGIN+VOLUME,0.2,-1),COLOR00C0C0; NOTEXT1:MA(VOLUME,5)+ORIGIN; NOTEXT2:MA(VOLUME,10)+ORIGIN; NOTEXT3:MA(VOLUME,20)+ORIGIN;

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 主图添加成交量公式能否加虚拟和均量线 加入收藏