通达信成交量万能自动画线副图源码

2015-10-31 22:44:00来源:本站整理浏览:343

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

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);



 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式