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,V/REF(V,1)*TOTAL/CTIME,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 && (SETCODE=0 || SETCODE=1),VVOL,0,-1,-1),COLOR00C0C0;
量比:=V/REF(V,1),COLORYELLOW;
量比UME:量比,STICK,COLORYELLOW;
量比2:=V/REF(V,2),COLORRED;
量比UME2:量比2,STICK,COLORRED;
S:2.38,COLORGREEN;