N:=IF(BARSCOUNT(C)>=48,48,BARSCOUNT(C));
AMOV:=VOL*(C+L+H)/3;
MN:=SUM(AMOV,N)/SUM(VOL,N);
NOTEXT01:IF(C>=MN,MN,DRAWNULL),LINETHICK3,COLORRED;
NOTEXT02:IF(C<MN,MN,DRAWNULL),LINETHICK3,COLORGREEN;
{短线决策 深红深绿};
N1:=IF(BARSCOUNT(C)>=8,8,BARSCOUNT(C));
AMOV1:=VOL*(C+L+H)/3;
MN1:=SUM(AMOV,N1)/SUM(VOL,N1);
NOTEXT001:IF(C>=MN1,MN1,DRAWNULL),LINETHICK3,,COLOR002D88;
NOTEXT112:IF(C<MN1,MN1,DRAWNULL),LINETHICK3,COLOR397300;