ZTB:=IF(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('SST')
OR NAMELIKE('S*ST') OR NAMELIKE('S ST') ,(C>=ZTPRICE(REF(CLOSE,1),0.05) AND C=H),
IF((CODELIKE('688') OR (CODELIKE('300') AND DATE>=1200824)),(C>=ZTPRICE(REF(CLOSE,1),0.2) AND C=H),
(C>=ZTPRICE(REF(CLOSE,1),0.1) AND C=H)));
AA:=BARSSINCEN(ZTB,30);
XG:REF(AA,1);
编写条件:
昨日首次涨停的选股公式
编写方法:
ZTB:=IF(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('SST')
OR NAMELIKE('S*ST') OR NAMELIKE('S ST') ,(C>=ZTPRICE(REF(CLOSE,1),0.05) AND C=H),
IF((CODELIKE('688') OR (CODELIKE('300') AND DATE>=1200824)),(C>=ZTPRICE(REF(CLOSE,1),0.2) AND C=H),
(C>=ZTPRICE(REF(CLOSE,1),0.1) AND C=H)));
AA:=BARSSINCEN(ZTB,30);
XG:REF(AA,1);