停牌:=DYNAINFO(4)=0;
DD1:=REF(C,10)/REF(C,9)>=1.05 AND REF(C,9)<REF(O,9);
DD2:=REF(C,10)/REF(C,8)>=1.05 AND REF(C,9)<REF(O,9) AND REF(C,8)<REF(O,8) AND REF(C,9)>REF(C,8);
DD:=DD1 OR DD2;
ZB1:=HHV(H,8)/REF(H,9)<1.04 AND LLV(L,8)/REF(L,9)>0.96;
ZB2:=HHV(H,8)/REF(H,9)<1.04 AND LLV(L,7)/REF(L,8)>0.96;
ZB:=ZB1 OR ZB2;
XCZB:=DD AND ZB AND NOT (停牌) ;
COUNT(XCZB,2);