由于不同个股流通股本不一样,所以不同股票成交量没法比较,
我一直觉得要是成交量纵坐标换成换手率该多好啊!!
然后终于将VOL-TDX 成交量盘中虚拟的代码改动了一番,换成了换手率的成交量
直接看图。是不是很清楚成交量的变动了,更好分析了
源码
赋值
M1 2, 200, 5
M2 2 , 200 ,21
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/CAPITAL/CTIME*100,DRAWNULL),NODRAW;
STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VVOL,0,-1,-1),COLOR00C0C0;
VOLUME:VOL/CAPITAL*100,VOLSTICK;
MAVOL1:MA(VOLUME,M1);
MAVOL2:MA(VOLUME,M2);