板后5天內(nèi)有炸板 或者炸板后5天內(nèi)有漲停 (炸板或者漲停板必須有一天是放量的,量能為前一日的3.1倍) ZT:=IF(NAMELIKE('ST') OR NAMELIKE('*ST'),ZTPRICE(REF(C,1),0.05),
IF(CODELIKE('688') OR (CODELIKE('300') AND DATE>=1200824),ZTPRICE(REF(C,1),0.2), ZTPRICE(REF(C,1),0.1))); T:=BARSLAST(H>=ZT AND C<H); XG1:=T<=5 AND C>=ZT AND SUM(C>=ZT,T)=1 AND (REF(V>3.1*REF(V,1),T) OR V>3.1*REF(V,1)); D:=BARSLAST(C>=ZT); XG2:=D<=5 AND H>=ZT AND C<H AND (REF(V>3.1*REF(V,1),T) OR V>3.1*REF(V,1)); XG1 OR XG2; |
|