K:=FILTER(C REF(H,1) AND C MA(C,5) AND MA(C,5) =REF(MA(C,5),1),0);
P:=FILTER( C MA(C,5) AND MA(C,5) =REF(MA(C,5),1),0);
K1:=FILTER( C MA(C,5) AND MA(C,5) =REF(MA(C,5),1),0);
P1:=FILTER( MA(C,5) =REF(MA(C,5),1),0);
开空:=K1 OR P1;
平空:=K OR P;
DRAWTEXT(开空,H,'开空')COLOR00FF00;
DRAWICON(开空,H,2);
DRAWTEXT(平空,H,'平空')COLOR00FF00;
DRAWICON(平空,H,1);
AUTOFILTER;