编写条件:
10日内出现过涨停和跌停的选股公式。
编写方法:
ZT:=IF(NAMELIKE('ST') OR NAMELIKE('*ST'),C=ZTPRICE(REF(C,1),0.05),
IF(CODELIKE('688') OR (CODELIKE('300') AND DATE>=1200824),C=ZTPRICE(REF(C,1),0.2),
C=ZTPRICE(REF(C,1),0.1)));
DT:=IF(NAMELIKE('ST') OR NAMELIKE('*ST'),C=DTPRICE(REF(C,1),0.05),
IF(CODELIKE('688') OR (CODELIKE('300') AND DATE>=1200824),C=DTPRICE(REF(C,1),0.2),
C=DTPRICE(REF(C,1),0.1)));
EXIST(ZT OR DT,10);