信号量太大,只能作为粗选中的粗选。
试了几种方法想减少信号量都不理想,凑合着用吧,以后有机会再优化!
指标含义:
见底回升第一波后没有大幅拉升就下跌
副图指标的数值是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
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
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;