飞狐虚拟量源码:
实际量:vol,VOLSTICK;
交易分钟数:=if(CURRENTTIME>93000 and CURRENTTIME<150000,if(CURRENTTIME<113000,(TIMETOT0(CURRENTTIME)-34200)/60,if(CURRENTTIME>130000,(TIMETOT0(CURRENTTIME)-39600)/60,120)),240);
日期差:=DATEDIFF(DATE,CURRENTDATE);
虚拟量:IF(BARSTATUS=2,VOL*240/OPENMINUTES(CURRENTTIME),VOL),COLORYELLOW,LINETHICK0;STICKLINE(BARSTATUS=2,vol,虚拟量,6,0),COLOR00FFFF;
大智慧虚拟量源码:
vol,VOLSTICK;
STICKLINE(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,DYNAINFO(17)*REF(MA(VOL,5),1),vol,8,0),COLOR00ffff;
通达信虚拟量,不带均量线的,跟自带的一样,源码:
成交量:VOL,VOLSTICK;
虚拟量:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,虚拟量,VOL,-1,-1)COLOR00C0C0;