N:=21;
M:=5;
TH:=SUM(IF(CLOSE>REF(CLOSE,1),vol,0),N);
TL:=SUM(IF(CLOSE
TQ:=SUM(IF(CLOSE=REF(CLOSE,1),VOL,0),N);
VAR0:=100*(TH*2+TQ)/(TL*2+TQ);
VAR1:=MA(VAR0,M),COLOR00FFFF,LINETHICK2;
W:=crOSS(VAR0,VAR1);
WL1:=VAR1<100;
WLT1:=W AND WL1;
TJ1:=FILTER(WLT1,5);
全仓:TJ1;