ZD1:=STRCAT('风格:',FGBLOCK); ZD2:=STRCAT(ZD1,'概念:'); ZD3:=STRCAT(ZD2,FGBLOCK); FX1:=FINDSTR(ZD3,'风险提示'); FX2:=FINDSTR(ZD3,'减持'); FX3:=NAMELIKE('ST') OR NAMELIKE('*ST'); FX4:=REF(H,1)=REF(O,1) AND REF(O,1)=REF(C,1); FX5:=FINDSTR(ZD2,'连续亏损'); FX6:=FX1 OR FX2 OR FX3 OR FX4 OR FX5; ZT:=IF(CODELIKE(3) OR (CODELIKE(4) AND DATE>=1200824),CLOSE>=ZTPRICE(REF(CLOSE,1),0.2) AND CLOSE=HIGH,CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND CLOSE=HIGH); YZB:=ZT AND H>=L AND O=H AND C=H; TY8:=C<80 AND C>3 AND FINANCE(40)>1000000000 AND AMO>50000000; TY9:=C/REF(C,1)<1.089 AND (H-C)-(O-L)>0 AND (H-C)/(C-O)<1 AND V>REF(V,1)*1.2 ; TY10:= C/REF(LLV(L,60),1)<1.25; TY11:= C/REF(C,1)>1.069; HMQBA:=IF((C-REF(C,1))*100/REF(C,1)>=5-0.01*100/REF(C,1),1,0);
黑马起爆:BARSSINCEN(HMQBA,4)=0 AND NOT(FX6) AND TY11 AND NOT(YZB) AND TY8 AND TY10 AND NOT(TY9);
ZD1:=STRCAT('风格:',FGBLOCK);
ZD2:=STRCAT(ZD1,'概念:');
ZD3:=STRCAT(ZD2,FGBLOCK);
FX1:=FINDSTR(ZD3,'风险提示');
FX2:=FINDSTR(ZD3,'减持');
FX3:=NAMELIKE('ST') OR NAMELIKE('*ST');
FX4:=REF(H,1)=REF(O,1) AND REF(O,1)=REF(C,1);
FX5:=FINDSTR(ZD2,'连续亏损');
FX6:=FX1 OR FX2 OR FX3 OR FX4 OR FX5;
ZT:=IF(CODELIKE(3) OR (CODELIKE(4) AND DATE>=1200824),CLOSE>=ZTPRICE(REF(CLOSE,1),0.2) AND CLOSE=HIGH,CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND CLOSE=HIGH);
YZB:=ZT AND H>=L AND O=H AND C=H;
TY8:=C<80 AND C>3 AND FINANCE(40)>1000000000 AND AMO>50000000;
TY9:=C/REF(C,1)<1.089 AND (H-C)-(O-L)>0 AND (H-C)/(C-O)<1 AND V>REF(V,1)*1.2 ;
TY10:= C/REF(LLV(L,60),1)<1.25;
TY11:= C/REF(C,1)>1.069;
HMQBA:=IF((C-REF(C,1))*100/REF(C,1)>=5-0.01*100/REF(C,1),1,0);
黑马起爆:BARSSINCEN(HMQBA,4)=0 AND NOT(FX6) AND TY11 AND NOT(YZB) AND TY8 AND TY10 AND NOT(TY9);