股票论坛

标题: 求助,关于通达信指标公式的问题 [打印本页]

作者: 夜谈天方    时间: 2016-12-20 17:15
标题: 求助,关于通达信指标公式的问题
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

作者: 陪练专家    时间: 2016-12-20 17:15
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);




欢迎光临 股票论坛 (http://100000w.com/) Powered by Discuz! X3.2