VVOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
AA:=VOL>REF(V,1)*1.9;
AA1:=VOL< REF(LLV(VOL,13),1);
AA2:=VOL< REF(LLV(VOL,55),1);
STICKLINE(AA,0,V,1,0),COLORYELLOW;
STICKLINE(AA1,0,V,1,0),COLORGREEN;
STICKLINE(AA2,0,V,1,0),COLORMAGENTA;
ABC1:=COUNT(V>REF(V,1)*1.9,4)=1;
ABC2:=COUNT(V< REF(V,1) AND L>MIN(L,4) AND L>REF(L,1),3)=3 ;
ABC3:=ABC1 AND ABC2;
STICKLINE(ABC3,0,V,1,0),COLORRED;
MV5:MA(V,100);
MV10:MA(V,100);
MV40:MA(V,100);
DRAWICON(CROSS( MV5, MV10),L*1.002,23);