wnm
z:SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)
,colorwhite;
a:=hhv(z,10);
b:=llv(z,10);
a1:=hhvBARS(z,10)=0;
b1:=llvbars(z,10)=0;
stickline(a,a,ref(a,1),4,1),colorred;
stickline(b,b,ref(b,1),4,1),color00ff00;
DRAWTEXT(a1,z,'S'),coloryellow;
DRAWTEXT(b1,z,'B'),colorffffff;