当前位置:→ 公式网 > 大智慧公式 > 正文 ℃ 公式解密、改选股等业务 联系点击查看详情...
以下是大智慧庄股横盘启动通用版源码(无源码的请下载附件导入)
仅是对这波行情的小结
未来一段时间用到最多的可能是洗盘类指标,有空会做几个
{公式在线提供:www.gszx.com.cn}
(10T/5%-2010.1.1-2012.3.16)测试结果
测试股票数:2340
共发出指示:1360 成功指示:672 失败指示:607 未完成指示:81
平均成功率:52.54%, 成功率达到50%的股票有:19.9%
利润1总平均:6.63% 最大平均利润1:滨海能源 57.03% 最小平均利润1:长春经开 0.00%
利润2总平均:-0.94% 最大平均利润2:卫星石化 37.04% 最小平均利润2:宝德股份 -28.91%
{ZH庄股横盘启动-大智慧飞狐通用版}
E3:=SLOPE((C+O),3)/MA((C+O),3)*100;
E5:=SLOPE((C+O),5)/MA((C+O),5)*100;
E20:=SLOPE((C+O),20)/MA((C+O),20)*100;
CM80:=EMA(COST(80),8);
A0:=WINNER(C*1.1)-WINNER(C*0.9);
A2:=((CLOSE-LOW)/(HIGH-LOW)+(CLOSE-HIGH)/(HIGH-LOW))*VOL;
A3:=SUM(A2,10)/10000;
DP:=MA("SH000001$CLOSE",13)/REF(MA("SH000001$CLOSE",13),1)>1;
B0:=HHV(COUNT(A0>0.5,20)=20,2) AND COUNT(DP,10)>=10 AND HHV(A3>0,3) AND C>CM80;
B1:=(CROSS(E3,E20) OR CROSS(E5,E20)) AND E20>=0.3 AND COUNT(E20>0,10)>=10 AND C/REF(C,1)<=1.08;
B3:=CAPITAL/100/10000<=10 AND STRFIND(STKNAME,'S',1)=0;
CROSS(B0 AND B1 AND B3,0.5);
{ZH庄股横盘启动-通达信版}
E3:=SLOPE((C+O),3)/MA((C+O),3)*100;
E5:=SLOPE((C+O),5)/MA((C+O),5)*100;
E20:=SLOPE((C+O),20)/MA((C+O),20)*100;
CM80:=EMA(COST(80),8);
A0:=WINNER(C*1.1)-WINNER(C*0.9);
A2:=((CLOSE-LOW)/(HIGH-LOW)+(CLOSE-HIGH)/(HIGH-LOW))*VOL;
A3:=SUM(A2,10)/10000;
DP:=MA("SH000001$CLOSE",13)/REF(MA("SH000001$CLOSE",13),1)>1;
B0:=HHV(COUNT(A0>0.5,20)=20,2) AND COUNT(DP,10)>=10 AND HHV(A3>0,3) AND C>CM80;
B1:=(CROSS(E3,E20) OR CROSS(E5,E20)) AND E20>=0.3 AND COUNT(E20>0,10)>=10 AND C/REF(C,1)<=1.08;
B3:=CAPITAL/100/10000<=10 AND (NAMELIKE('S') OR NAMELIKE('*S'))=0;
CROSS(B0 AND B1 AND B3,0.5);