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);
虚拟成交量:IF((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VOL*TOTAL/CTIME,DRAWNULL),COLORFFFF00,NODRAW;
ZX:STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),虚拟成交量,0,-1,-1),COLOR00C0C0;
成交量:VOL,VOLSTICK;
V5:MA(V,5),COLORWHITE;
V35:MA(V,35),COLORGREEN;
V135:MA(V,135),COLORFF00FF;
XG:=CROSS(V5,V35) AND V>V5 AND V>V135*2;
牛股启动:=FILTER(XG,20) AND C>MA(C,20),LINETHICK3,COLORRED;
DRAWTEXT(牛股启动,V*1.11,' 牛股启动'), COLORYELLOW;