ZT:=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)));
XG:COUNT(ZT AND CROSS(C,MA(C,10)),5)=1;
编写条件:
5日内有涨停突破10日均线的选股公式。
编写方法:
ZT:=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)));
XG:COUNT(ZT AND CROSS(C,MA(C,10)),5)=1;