M10:=MA(,12);M30:=MA(,30);M60:=MA(VOL,60);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 TOTAL,MTIME);VVOL:=IF(CURRBARSCOUNT CTIME,DRAWNULL),NODRAW;STICKLINE(CURRBARSCOUNT=1 SETCODE=0 SETCODE=1),VVOL,0,1.5,0),COLORYELLOW;STICKLINE(C>O,VOL,0,1.5,1),COLORRED;STICKLINE(C
=M60 AND M10>M30 AND VOL>M30,0,VOL*0.318,1.5,1),COLORCYAN;STICKLINE(M