2019114828917745.png
H1:=DYNAINFO(7)>5 AND DYNAINFO(7)<20;{股价取5至20元}
H2:= CAPITAL/10000000<3; {流通盘3亿}
停牌:=DYNAINFO(4)=0;
前炮:=(C-REF(C,1))*100/REF(C,1)>7;
后炮:=(C-REF(C,1))*100/REF(C,1)<7;
T1:=V<REF(V,BARSLAST(前炮));
调整天数:=BARSLAST(前炮)<10;
不破前炮开盘:=LLV(C,BARSLAST(前炮))>=REF(O,BARSLAST(前炮));
小实体:=HHV(ABS(C-REF(C,1))/REF(C,1)*100,BARSLAST(前炮))<=6;
回调:=调整天数 AND 不破前炮开盘 AND 小实体;
选股:=后炮 AND REF(回调,1) AND T1;{好股票WWW.GOODGUPIAO.COM}
双响炮:=选股 AND (REF(BARSLAST(选股),1)>3 OR BARSSINCE(选股 )=0) AND H1 AND H2 AND IF(NAMELIKE('ST'),0,1) AND IF(NAMELIKE('*ST'),0,1) AND NOT(停牌);
ENTERLONG:双响炮,COLORRED;
A:=BARSLAST(ENTERLONG );
CC:=REF(C,A);
CC10:=CC*1.1;CC05:=CC*0.95;
KL:=(CROSS(C,CC10) OR CROSS(CC05,C));
PD:=COUNT(KL,A+1)>=1;
PDXH:=CROSS(PD,0.5);
KLL:=A=7 OR PDXH;
PDSC:=COUNT(KLL,A+1)>=1;
EXITLONG:CROSS(PDSC,0.5),COLORGREEN;
|