以下是大智慧飞狐通达信版恶庄洗盘源码说明

大智慧飞狐通达信版恶庄洗盘源码说明

信号量太大,只能作为粗选中的粗选。
试了几种方法想减少信号量都不理想,凑合着用吧,以后有机会再优化!

指标含义:
见底回升第一波后没有大幅拉升就下跌
副图指标的数值是40天的缩量程度
 

{ZH恶庄洗盘-大智慧飞狐版副图}
A0:=(HHV(EMA(V,13),40)-EMA(V,13))/HHV(EMA(V,13),40);
A1:=EMA(WINNER(C)*0.7,5);A2:=EMA(COST(85),8);A3:=EMA(COST(15),8);
A4:=A1>=0.4 AND WINNER(C*1.3)-WINNER(C)<=0.15 AND A2>=REF(A2,1) AND A0<0.1;
A5:=CROSS(COUNT(A4,BARSLAST(C<=A3)+1),0.5);
A6:=HHV(C/REF(C,BARSLAST(A5)),BARSLAST(A5)+1);
B0:=BARSLAST(A4);
B1:=A6<1.15 AND B0>=10 AND B0<=50 AND C<A3 AND MA(C,3)<REF(MA(C,3),1);
B2:=CAPITAL/100/10000<=10 AND DYNAINFO(8)>=100 AND BARPOS>=40 AND STRFIND(STKNAME,’S’,1)=0;
B3:=IF(B1 AND B2,A0*100,0);
恶庄洗盘:B3,COLORWHITE;
STICKLINE(B3>0,B3,0,8,0),COLORWHITE;
STICKLINE(B3>=20,B3,0,8,0),COLORYELLOW;
STICKLINE(B3>=40,B3,0,8,0),COLORRED;

{ZH恶庄洗盘-大智慧飞狐版选股}
A0:=(HHV(EMA(V,13),40)-EMA(V,13))/HHV(EMA(V,13),40);
A1:=EMA(WINNER(C)*0.7,5);A2:=EMA(COST(85),8);A3:=EMA(COST(15),8);
A4:=A1>=0.4 AND WINNER(C*1.3)-WINNER(C)<=0.15 AND A2>=REF(A2,1) AND A0<0.1;
A5:=CROSS(COUNT(A4,BARSLAST(C<=A3)+1),0.5);
A6:=HHV(C/REF(C,BARSLAST(A5)),BARSLAST(A5)+1);
B0:=BARSLAST(A4);
B1:=A6<1.15 AND B0>=10 AND B0<=50 AND C<A3 AND MA(C,3)<REF(MA(C,3),1);
B2:=CAPITAL/100/10000<=10 AND DYNAINFO(8)>=100 AND BARPOS>=40 AND STRFIND(STKNAME,’S’,1)=0;
B3:=IF(B1 AND B2,A0*100,0);
B3>=20;

{ZH恶庄洗盘-通达信版副图}
A0:=(HHV(EMA(V,13),40)-EMA(V,13))/HHV(EMA(V,13),40);
A1:=EMA(WINNER(C)*0.7,5);A2:=EMA(COST(85),8);A3:=EMA(COST(15),8);
A4:=A1>=0.4 AND WINNER(C*1.3)-WINNER(C)<=0.15 AND A2>=REF(A2,1) AND A0<0.1;
A5:=CROSS(COUNT(A4,BARSLAST(C<=A3)+1),0.5);
A6:=HHV(C/REF(C,BARSLAST(A5)),BARSLAST(A5)+1);
B0:=BARSLAST(A4);
B1:=A6<1.15 AND B0>=10 AND B0<=50 AND C<A3 AND MA(C,3)<REF(MA(C,3),1);
ST:=NAMELIKE(‘S’) OR NAMELIKE(‘*S’);
B2:=CAPITAL/100/10000<=10 AND DYNAINFO(8)>=100 AND TOTALBARSCOUNT>=40 AND ST=0;
B3:=IF(B1 AND B2,A0*100,0);
恶庄洗盘:B3,COLORWHITE;
STICKLINE(B3>0,B3,0,3,0),COLORWHITE;
STICKLINE(B3>=20,B3,0,3,0),COLORYELLOW;
STICKLINE(B3>=40,B3,0,3,0),COLORRED;

{ZH恶庄洗盘-通达信选股}
A0:=(HHV(EMA(V,13),40)-EMA(V,13))/HHV(EMA(V,13),40);
A1:=EMA(WINNER(C)*0.7,5);A2:=EMA(COST(85),8);A3:=EMA(COST(15),8);
A4:=A1>=0.4 AND WINNER(C*1.3)-WINNER(C)<=0.15 AND A2>=REF(A2,1) AND A0<0.1;
A5:=CROSS(COUNT(A4,BARSLAST(C<=A3)+1),0.5);
A6:=HHV(C/REF(C,BARSLAST(A5)),BARSLAST(A5)+1);
B0:=BARSLAST(A4);
B1:=A6<1.15 AND B0>=10 AND B0<=50 AND C<A3 AND MA(C,3)<REF(MA(C,3),1);
ST:=NAMELIKE(‘S’) OR NAMELIKE(‘*S’);
B2:=CAPITAL/100/10000<=10 AND DYNAINFO(8)>=100 AND TOTALBARSCOUNT>=40 AND ST=0;
B3:=IF(B1 AND B2,A0*100,0);
B3>=20;

 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。