VOLUME:VOL,VOLSTICK;
E:=COUNT(OPEN>REF(HIGH,3),3)=3;
A:=CLOSE>REF(CLOSE,1);
XG:=E AND A;
STICKLINE(XG,0,VOL,0.5,30),COLORC080FF;
AA:=OPEN>REF(HIGH,1);
D:=CLOSE>REF(CLOSE,1);
XG1:=AA AND D;
STICKLINE(XG1,0,VOL,0.5,30),COLORFF00FF;
B:=REF(H,1)<L,REF(H,1);
STICKLINE(B,0,VOL,0.5,30),COLORYELLOW;