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