主题244
精华0
阅读权限25
注册时间2015-3-31
在线时间0 小时
最后登录2017-1-4
美元0
爱心果1825
贡献0
- 积分
- 2612
巡抚
- 听众
- 6
|
30爱心果
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);
VOLUME:=VOL;
MAVOL1:=MA(VOLUME,M1);
MAVOL2:=MA(VOLUME,M2);
HCR2:请问如何输出今天的通达信成交量或以往的vol
|
最佳答案
查看完整内容
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(MTIME1),VOL*TOTAL/CTIME,DRAWNULL);
VOLUME:VOL;
MAVOL1:MA(VOLUME,M1);
MAVOL2:MA(VOLUME,M2);
|