a1:=not(ST) and not(停牌) and not(S) AND CAPITAL CAPI*100 AND DYNAINFO(14)*100
a:= LTFunc4@FORLT2
s1:= LTFunc4@LT_S1
hs:= LTFunc4@LT_HS
ls:= LTFunc4@LT_LS
p1:= LTFunc4@LT_P1
upp:= LTFunc4@LT_UPP
udd:= LTFunc4@LT_UDD
buy1:=(p1=1 and ref(p1,1)=0);
buy2:=(s1=1 and ref(s1,1)=0 and (p1+ref(p1,1)) 1);
a2:=buy1 or buy2;
DK:=EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3);
a3:=DK =MADK and DK REF(DK,1) and DK REF(DK,2);
LX:= LXDDX.DDX
DD:=BIGORDER(1,2) - BIGORDER(2,2);
TX:=IF(DD,DD,LX);
ZD:=((TX * VOL) / CAPITAL) * 100;
a4:=ZD 0.01;
ZBA:=REF(SELFDATA('主买笔数'),1)+REF(SELFDATA('主卖笔数'),1);
ZBB:=SELFDATA('主买笔数')+SELFDATA('主卖笔数');
ZBBUY:=DYNAINFO(23);
ZBSELL:=DYNAINFO(22);
ZBVOL:=ZBBUY-ZBSELL;
LHZB:=(SELFDATA('主买特大')+SELFDATA('主买大单'))-(SELFDATA('主卖特大')+SELFDATA('主卖大单'));
ZB:=IF(ZBA=ZBB,ZBVOL,LHZB)/CAPITAL*100;
a5:=ZB 0.01;
a1 and a2 and a3 and a4 and a5;