M1:=3;
M2:=5;
MAvol1:MA(VOL,M1);
MAVOL2:MA(VOL,M2);
STICKLINE(VOL>REF(VOL,1) AND C>REF(C,1),0,VOL,2.3,0),colorred;
STICKLINE(VOL>REF(VOL,1) AND C<REF(C,1),0,VOL,2.3,0),colorblue;
STICKLINE(VOL<REF(VOL,1) AND C>REF(C,1),0,VOL,2.3,0),coloryellow;
STICKLINE(VOL<REF(VOL,1) AND C<REF(C,1),0,VOL,2.3,0),colorgray;
STICKLINE(VOL=REF(VOL,1) OR C=REF(C,1),0,VOL,2.3,0),colorwhite;