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)));
AA:=BARSLAST(ZT);
XG:C>REF(H,AA) AND BARSLASTCOUNT(C<O)=BETWEEN(BARSCOUNT(C),5,8) AND AA<=9;
编写条件:
涨停后回调5至8天,收盘价大于涨停那天最低价的选股公式。
编写方法:
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)));
AA:=BARSLAST(ZT);
XG:C>REF(H,AA) AND BARSLASTCOUNT(C<O)=BETWEEN(BARSCOUNT(C),5,8) AND AA<=9;