N:=IF(BARSCOUNT(C)>=8,8,BARSCOUNT(C));AMOV:=*(C+L+H)/3;MN:=SUM(AMOV,N)/SUM(,N);NOTEXT1:IF(C>=MN,MN,DRAWNULL),LINETHICK3,COLORYELLOW;NOTEXT2:IF(C
=48,48,BARSCOUNT(C));ZAMOV:=VOL*(C+L+H)/3;ZMN:=SUM(ZAMOV,ZN)/SUM(VOL,ZN);ZNOTEXT1:IF(C>=ZMN,ZMN,DRAWNULL),LINETHICK3,COLORYELLOW;ZNOTEXT2:IF(C<ZMN,ZMN,DRAWNULL),LINETHICK3,COLORGRAY;