N:=IF(BARSCOUNT(C)>=48,48,BARSCOUNT(C));AMOV:=*(C+L+H)/3;MN:=SUM(AMOV,N)/SUM(,N);NOTEXT1:IF(C>=MN,MN,DRAWNULL),LINETHICK3,COLORYELLOW;NOTEXT2:IF(C
=8,8,BARSCOUNT(C));AMOV2:=VOL*(C+L+H)/3;MN1:=SUM(AMOV,N1)/SUM(VOL,N1);NOTEXT3:IF(C>=MN1,MN1,DRAWNULL),LINETHICK2,COLORYELLOW;NOTEXT4:IF(C<MN1,MN1,DRAWNULL),LINETHICK2,COLORGRAY;