TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);
CTIME:=IF(MTIME<0.5,TOTAL,MTIME);
VVOL:IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 && (SETCODE=0 || SETCODE=1),VVOL,0,-1,-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;
普通通达信没有这种功能,l2数据才有