⑴ 请教高手通达信的虚拟成交量在选股公式中该怎么表达求源码。。
虚拟量:=IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,MAX(VOL,DYNAINFO(17)*REF(MA(VOL,5),1)),0);
STICKLINE(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,VOL,MAX(VOL,DYNAINFO(17)*REF(MA(VOL,5),1)),4,-21),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
VOLL:IF(虚拟量>0,虚拟量,VOLUME);
上面是指标源码
选股公式里:
虚拟量1:=IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,MAX(VOL,DYNAINFO(17)*REF(MA(VOL,5),1)),0);
VOLUME:=VOL;
虚拟量:IF(虚拟量>0,虚拟量1,VOLUME);
⑵ 通达信公式成交量(盘中虚拟)怎样变成换手柱虚拟
通达信15、30、60分钟和日线虚拟成交量指标,非原创。
V1:=PERIOD;
V2:=IF(V1=1,5,IF(V1=2,15,IF(V1=3,30,IF(V1=4,60,IF(V1=5,240,DRAWNULL)))));
V3:=MOD(FROMOPEN,V2);
V4:=IF(V3=0,V2,V3);
VVOL:IF(CURRBARSCOUNT=1,V*V2/V4,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1,VVOL,0,-1,-1),COLORFF0099;
VOLUME:VOL,VOLSTICK;
⑶ 怎么将通达信虚拟成交量的公式放入到自己成交量的公式中
你好!你的虚拟成交量的公式不全,暂时用我这个试试:
VVOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-3,-1),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
万股当天:VOL/100,COLORWHITE,NODRAW;
五十天:MA(VOL,50)/100,COLORWHITE,NODRAW;
STICKLINE(REF(CLOSE,1)<=CLOSE,0,VOL,1,0),COLOR0000FF;
STICKLINE(REF(CLOSE,1)>CLOSE,0,VOL,1,0),COLORFFFF00;
希望能够帮助您。顺祝马年投资顺利!
⑷ 请高手编写通达信当天虚拟成交量低于10000手作为选股公式谢谢
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:=VOL*TOTAL/CTIME;
XG:VVOL<10000;