暴涨点选股公式

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

{规定周暖气带}
ZSP:=C#WEEK;
TJ:=IF(ZSP!=REF(ZSP,1),1,0);
N2:=SUMBARS(TJ,2);
N3:=SUMBARS(TJ,3);
N5:=SUMBARS(TJ,5);
N7:=SUMBARS(TJ,7);
N20:=SUMBARS(TJ,20);
N60:=SUMBARS(TJ,60);
ZSPP:=IF(ZSP!=REF(ZSP,1),ZSP,0);
周20:=SUM(ZSPP,N20)/20;
周60:=SUM(ZSPP,N60)/60;

SL:=EVERY(VSLJJ:=BARSLAST(SL);
YL:=V>MA(V,135)*3&&V=HHV(V,90);
ZJYD:=CROSS(COUNT(YL,SLJJ),0.5);
ZJYDJJ:=BARSLAST(ZJYD);
{规定周见底}
ZGD:=H#WEEK=HHV(H#WEEK,N7);
ZGDJJ:=BARSLAST(ZGD);
ZMC:=CROSS(COUNT(C#WEEK<=REF(L#WEEK,ZGDJJ#WEEK),ZGDJJ#WEEK),0.5) OR
(ZGD&&C#WEEKZMCJJ:=BARSLAST(ZMC);
ZDD:=L#WEEK=LLV(L#WEEK,ZMCJJ#WEEK)&&L#WEEKZDDJJ:=BARSLAST(ZDD);
ZMR1:=CROSS(COUNT(C#WEEK>REF(H#WEEK,ZDDJJ#WEEK),ZDDJJ#WEEK),0.5){低点回升} OR
(ZDD&&((REF(ZDD,WEEKDAY)&&C#WEEK>REF(H#WEEK,WEEKDAY)) OR
(REF(ZDD,N2)&&C#WEEK>REF(H#WEEK,N2)))){阳包阴};
ZZD:=L#WEEK=LLV(L#WEEK,N7);
ZZDJJ:=BARSLAST(ZZD);
ZMR2:=CROSS(COUNT(C#WEEK>REF(H#WEEK,ZZDJJ#WEEK),ZZDJJ#WEEK),0.5){低点回升} OR
(ZZD&&C#WEEK>REF(H#WEEK,WEEKDAY)){阳包阴};
ZHS:=ZMR1 OR ZMR2;
ZDT:=周20>周60;{周多}
ZJD:=ZDT&&ZHS;
{设置均线}
MA5:=MA(C,5); MA10:=MA(C,10);
MA20:=MA(C,20); MA60:=MA(C,60);
BOLL1:="BOLL-M".BOLL;
{均线规定}
ZNS:=周20>周60&&EVERY(周20>=REF(周20,WEEKDAY),N3)&&EVERY(周60>=REF(周60,WEEKDAY),N5);{周牛}
RDT:=MA20>MA60&&(MA20>REF(MA20,1) OR MA60>REF(MA60,1));{日多}
RNS:=MA20>MA60&&EVERY(MA20>=REF(MA20,1),3)&&EVERY(MA60>=REF(MA60,1),5);{日牛}
RBNS:=BOLL1>MA60&&EVERY(BOLL1>=REF(BOLL1,1),3)&&EVERY(MA60>=REF(MA60,1),5);{日BOLL牛}
RKT:=MA20REF(MA20,1) OR MA60>REF(MA60,1));{日空}
{均线位置}
RGZ:=MA20>=周20&&MA20>=周60&&MA60>=周20&&MA60>=周60;{日20高周}
RDZ:=MA20>周60 OR MA60>周60;{日纠缠周,横盘状态}
{涨停及量规定}
ZT:=(C-REF(C,1))*100/REF(C,1)>=(10-1/REF(C,1))&&C=H;{涨停}
GT:=V=HHV(V,5)&&(C/REF(C,1)>1.05 OR REF(ZT,1));
FL:=V>MA(V,135)&&V>REF(V,1)&>{放量}
BL:=V>MA(V,135)&&V>REF(V,1)*2&>{倍量}
BL2:=V>MA(V,135)*2&&V>REF(V,1)*2&>{2倍量}
BL3:=((V>MA(V,135)*3&&V>REF(V,1)*2) OR
(V>MA(V,135)*2&&V>REF(V,1)*3))&>{3倍量}

{均线组合}
RNGZN:=ZNS&&(RNS OR RBNS)&&RGZ;{日牛>周牛}
RDGZN:=ZNS&&RDT&&RGZ;{日多>周牛}

RKGZN:=ZNS&&RKT&&RGZ;{日空>周牛}
RNGZD:=ZDT&&(RNS OR RBNS)&&RGZ;{日牛>周多}
RDGZD:=ZDT&&RDT&&RGZ;{日多>周多}
RKGZD:=ZDT&&RKT&&RGZ;{日空>周多}

RNJZN:=ZNS&&(RNS OR RBNS)&&RDZ;{日牛≈周牛}
RDJZN:=ZNS&&RDT&&RDZ;{日多≈周牛}
RKJZN:=ZNS&&RKT&&RDZ;{日空≈周牛}
RNJZD:=ZDT&&(RNS OR RBNS)&&RDZ;{日牛≈周多}
RDJZD:=ZDT&&RDT&&RDZ;{日多≈周多}
RKJZD:=ZDT&&RKT&&RDZ;{日空≈周多}
{均量组合}
NSQS:=(RNGZN OR RDGZN)&&((ZT&&FL) OR BL);
DTQS:=(RKGZN OR RNGZD OR RDGZD OR RKGZD)&&((ZT&&FL) OR BL2);
HPQS:=(RNJZN OR RDJZN OR RKJZN OR RDJZD OR RKJZD)&&((ZT&&BL) OR BL3);
QS:=NSQS OR DTQS OR HPQS;
{收盘

价突破}
C1:=C>MAX(MAX(MA20,MA60),MAX(周20,周60));
C2:=C1&&C>MAX(MA5,MA10);
{5穿20}
JC52:=BARSLAST(CROSS(MA5,MA20));
ZF1:=REF(HHV(C,5)/LLV(C,5)<1.2,1);
ZF2:=EVERY(MA5>MA20,JC52)&&REF(HHV(C,JC52)/LLV(C,JC52)<1.2,1)&&ZF1;
{5穿20前后异动}
JZ0:=MA5JZ0JJ:=BARSLAST(JZ0);
JZ1:=((CROSS(MA5,MA20)&&ZF1) OR (REF(CROSS(MA5,MA20),1)&&ZF1) OR
(CROSS(COUNT(BL,JC52),0.5)&&ZF2) OR (CROSS(COUNT(BL2,JC52),0.5)&&ZF2) OR
(CROSS(COUNT(BL3,JC52),0.5)&&ZF2)OR (CROSS(COUNT(ZT,JC52),0.5)&&ZF2))&&
EXIST(ZJD,15)&&QS&&C1;
JZ1JJ:=BARSLAST(JZ1);
{三阳两阴}
SYLY:=REF(UPNDAY(C,2)&&NDAY(C,O,3),2)&&
DOWNNDAY(C,2)&&(NDAY(O,C,2) OR (REF(CO));
JZ2:=CROSS(COUNT(SYLY,JC52),0.5)&&EXIST(ZJD,15)&&RNS&&ZDT&&C1&&ZF2;
{跳空涨停}
TK:=O>REF(H,1);
JZ4:=EVERY(MA10>MA20,5)&&CROSS(COUNT(TK,JC52),0.5)&&EXIST(ZJD,15)&&QS&&C1&&ZF2;
JZ4JJ:=BARSLAST(JZ4);
{十字后跳空大阳}
DY:=REF(ABS(C-O)/C<0.01&&H/L>ABS(C-O)/C+0.02,1)&&O>REF(H,1)&&
C>O&&C/REF(C,1)>1.05&&C/REF(C,1)<1.093;
JZ5:=CROSS(COUNT(DY,JC52),0.5)&&EXIST(ZJD,15)&&QS&&C1&&ZF2;
JZR:=JZ0 OR JZ1 OR JZ2 OR JZ4 OR JZ5;
{个股高低点}
GD:=H=HHV(H,7);
GDJJ:=BARSLAST(GD);
MC:=CROSS(COUNT(C<=REF(L,GDJJ),GDJJ),0.5) OR (GD&&CMCJJ:=BARSLAST(MC);
DD:=L=LLV(L,MCJJ)&&LDDJJ:=BARSLAST(DD);
MR1:=CROSS(COUNT(C>REF(H,DDJJ),DDJJ),0.5){低点回升} OR
(DD&&((REF(DD,1)&&C>REF(H,1)) OR (REF(DD,2)&&C>REF(H,2)))){阳包阴};
ZD:=L=LLV(L,7);
ZDJJ:=BARSLAST(ZD);
MR2:=CROSS(COUNT(C>=REF(H,ZDJJ),ZDJJ),0.5) OR (ZD&&C>REF(H,1)){阳包阴};
HS:=(MR1 OR MR2);
{BOLL\60线支撑}
ZC:=ZJYDJJ>21&&
EVERY(MA60+0.01>REF(MA60,1),ZJYDJJ)&&EVERY(MA60>REF(MA60,1),5)&&
EVERY(C>REF(L,ZJYDJJ)*0.97,ZJYDJJ)&&
(EXIST(LC>MA60&&C>REF(L,ZJYDJJ)&&HS&&V>REF(V,1)&&RDZ&&ZDT;
{回档}
ECD0:=JZ0JJ>GDJJ&&GDJJ>MCJJ&&CROSS(COUNT(LEVERY(CECD1:=JZ1JJ>GDJJ&&GDJJ>MCJJ&&CROSS(COUNT(LEVERY(CECD4:=JZ4JJ>GDJJ&&GDJJ>MCJJ&&CROSS(COUNT(LEVERY(CECD:=ECD0 OR ECD1 OR ECD4;

NOT(CODELIKE('30')){去除创业板}&&
NOT(FINDSTR(GNBLOCK,'ST'))&&
DYNAINFO(4)>0{去停牌}&&
EXIST((JZR OR ZC OR ECD),2);



相关文档
最新文档