N1:=IF(BARSCOUNT(C)>=8,8,BARSCOUNT(C));
AMOV1:=vol*(C+L+H)/3;
短线:=SUM(AMOV1,N1)/SUM(VOL,N1);
NOTEXT1:=IF(C>=短线,短线,DRAWNULL);
NOTEXT2:=IF(C<短线,短线,DRAWNULL);
N2:=IF(BARSCOUNT(C)>=48,48,BARSCOUNT(C));
AMOV2:=VOL*(C+L+H)/3;
中线:=SUM(AMOV2,N2)/SUM(VOL,N2);
NOTEXT3:=IF(C>=中线,中线,DRAWNULL);
NOTEXT4:=IF(C<中线,中线,DRAWNULL);
JC:=crOSS(短线,中线);
钱袋:JC;