a0:=sum(v,0)/barpos;
a1:=v/a0;
a2:=a1/ref(a1,1);
a3:=1.3*a2*a1;
stickline(c>0,h,l,8,0),colorblack,LAYER7;
stickline(c>=o,l,h,0.1,0),Color6500dd;
stickline(c>= o and a2>1,o,c,a3,0),Color6500dd;
stickline(c>= o and a2<=1,o,c,a3,1),Color6500dd;
stickline(c< o,l,h,0.1,0),Color65dd00;
stickline(c< o and a2>1,o,c,a3,0),Color65dd00;
stickline(c< o and a2<=1,o,c,a3,1),Color65dd00;