YAV:=IF(C>REF(C,1),vol,DRAWNULL);
YIV:=IF(C<REF(C,1),VOL,DRAWNULL);
YAVS:=SUM(YAV,5)/5;
YIVS:=SUM(YIV,5)/5;
JL:YAVS-YIVS,COLORSTICK;
ZL:REF(JL,1);
DRAWTEXT(FILTER(JL=HHV(JL,80),20) AND C>MA(C,20),JL,'买'),COLORYELLOW;
STICKLINE(FILTER(JL=HHV(JL,80),20) AND C>MA(C,20),0,JL,1,1) COLORRED;
STICKLINE(FILTER(JL=HHV(JL,80),20) AND C>MA(C,20),0,JL*0.5,1,O) COLORGREEN;