VAR1:=(vol/(((HIGH-LOW)*2)-Abs((CLOSE-OPEN))));
VAR2:=IF((C>O),(VAR1*(H-LOW)),IF((C<O),(VAR1*((H-O)+(C-LOW))),(VOL/2)));
VAR3:=IF((C>O),(0-(VAR1*((H-C)+(O-LOW)))),IF((C<O),(0-(VAR1*(H-LOW))),(0-(VOL/2))));
VAR4:=(VAR2+VAR3);
VAR5:=(H-LOW);
VAR6:=ABS((O-C));
VAR7:=(H-IF((C>O),C,O));
VAR8:=(IF((C>O),O,C)-LOW);
VAR9:=((VAR6/VAR5)*VOL);
VAR10:=((VAR7/VAR5)*VOL);
VAR11:=((VAR8/VAR5)*VOL);
VAR12:=IF(((VOL/CAPITAL)>0.001),1,EXP(ABS(LOG(((VOL/CAPITAL)*100)))));
STICKLINE((VOL>0),VOL,0,4,1),COLORFFFFFF;
STICKLINE((VAR4>0),0,VAR4,4,0),COLOR0000FF;
STICKLINE((VAR4<0),0,VAR4,2,0),LINETHICK3,COLOR33FF33;
STICKLINE((C>MA(C,30)),0,VOL,4,1),COLOR0000FF;
STICKLINE((C<MA(C,30)),0,VOL,4,1),COLOR00FF00;
STICKLINE((VAR3>0),VAR3,0,4,0),COLORFF3399;
STICKLINE((((VAR9>=VAR10) AND (VAR9>=VAR11)) AND (C>O)),0,VAR9,4,0),COLOR00FFFF;
STICKLINE((((VAR9>=VAR10) AND (VAR9>=VAR11)) AND (C<O)),0,VAR9,4,0),COLORFF0000;
STICKLINE(((VAR11>VAR9) AND (VAR11>VAR10)),0,VAR11,4,0),COLORFFFFFF;
STICKLINE(((VAR10>VAR9) AND (VAR10>VAR11)),0,VAR10,4,0),COLORFF00FF;
STICKLINE(((VAR12>2) AND (VOL<(MA(VOL,5)/2))),0,VOL,3,0);
MA1:MA(VOL,5),COLORWHITE;
MA2:MA(VOL,10),COLORYELLOW;