联系方式 Contact

云指标公式网

淘宝:zb-mart.taobao.com

电话:18020657357

微信:18020657357

Q Q:396950280

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

成交量万能自动画线(副图)

2015-10-31 20:05:58点击:
{成交量万能自动画线(副图) }
 
 
DRAWRECTREL(0,3,1000,1,RGB(200,300,500));
DRAWRECTREL(0,225,1000,225,RGB(100,150,180));
DRAWRECTREL(0,500,1000,500,RGB(500,500,500));
DRAWRECTREL(0,755,1000,750,RGB(100,150,180));
DRAWRECTREL(0,998,1000,998,RGB(200,300,500));
DRAWRECTREL(0,866,1000,863,RGB(600,500,100));
 
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);
CTIME:=IF(MTIME<0.5,TOTAL,MTIME);
VVOL:IF((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VOL*TOTAL/CTIME,DRAWNULL),NODRAW;
CCCV:=IF(VVOL>REFDATE(HHV(V,120),DATE)*1.3,REFDATE(HHV(V,120),DATE)*1.3,VVOL);
STICKLINE(CURRBARSCOUNT=1,CCCV,0,5,-1),COLORFFFFCC;
 
VOLUME:VOL,VOLSTICK;
MAVOL1:MA(VOLUME,5);
MAVOL2:MA(VOLUME,10);