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:=BARSSINCE(ZT);
REF(CROSS(C,MA(C,120)),AA) AND COUNT(ZT,AA)<=2 AND COUNT(ZT,AA)>0;
编写条件:
涨停板在3板以下并且首板站在30线上的选股公式。
编写方法:
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:=BARSSINCE(ZT);
REF(CROSS(C,MA(C,120)),AA) AND COUNT(ZT,AA)<=2 AND COUNT(ZT,AA)>0;