|
马上注册,享用更多功能,让你轻松玩转本论坛。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
本帖最后由 Huss_HU 于 2024-11-4 14:20 编辑
虚拟成交量往往可以给我们在盘中作为参考的一项重要的指标,但是往往在开盘初期“这个虚拟成交量都失真太严重,就失去了参考价值。
我对系统的虚拟成交量做了些许的改动,
我按照时间段来进行分割。
开盘15分钟内,15--60分钟内,等等.......
不知道大家是否认同?
{定义虚拟成交量}
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+3)/(CTIME+3),DRAWNULL),NODRAW;
STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1 AND FROMOPEN<=15),(VVOL/3),0,-1,-1),COLOR00C0C0;
STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1 AND FROMOPEN>15 AND FROMOPEN<=60),(VVOL*2/3),0,-1,-1),COLOR00C0C0;
STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1 AND FROMOPEN>60 AND FROMOPEN<=90),(VVOL*4/5),0,-1,-1),COLOR00C0C0;
STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1 AND FROMOPEN>90 AND FROMOPEN<=120),(VVOL*5/6),0,-1,-1),COLOR00C0C0;
STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1 AND FROMOPEN>120 AND FROMOPEN<=180),(VVOL*8/9),0,-1,-1),COLOR00C0C0;
STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1 AND FROMOPEN>180 AND FROMOPEN<=240),(VVOL*9/10),0,-1,-1),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
量柱比:V/REF(V,1),NODRAW,COLORYELLOW;
|
|