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
AA2:=VOL
STICKLINE(AA,0,V,1,0),COLORYELLOW;
STICKLINE(AA1,0,V,1,0),COLORGREEN;
STICKLINE(AA2,0,V,1,0),COLORMAGENTA;
TJ1:=COUNT(V>REF(V,1)*1.9,4)=1;
TJ2:=COUNT(VREF(C,1),3)=3 ;
TJ3:=TJ1 AND TJ2;
STICKLINE(TJ3,0,V,2,0),COLORRED;
MV1:MA(V,5);
MV2:MA(V,10);
MV3:MA(V,60),LINETHICK2;
DRAWICON(crOSS(MV2,MV3),V,1);
DRAWICON(CROSS(MV2,MV3),V*0.78,1);
DRAWICON(CROSS(MV2,MV3),V*0.58,1);
SFG5:=CROSS(MV1,MV2);
SFG1:=MV1>=MV3;
SFG2:=MV2>=MV3;
SFG3:=SFG1 AND SFG2;
DRAWICON(SFG5 AND SFG3 ,V,38) ;
DRAWICON(SFG5 AND SFG3,V* 0.68,38) ;
DRAWICON(SFG5 AND SFG3,V*0.48,38) ;