股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[大智慧] 庄股横盘启动通用版(源码+图例+说明)


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-21 17:04:43
庄股横盘启动通用版(源码+图例+说明)介绍

庄股横盘启动通用版(源码+图例+说明)

仅是对这波行情的小结
未来一段时间用到最多的可能是洗盘类指标,有空会做几个

(10T/5%-2010.1.1-2012.3.16)测试结果

测试股票数:2340

共发出指示:1360 成功指示:672 失败指示:607 未完成指示:81

平均成功率:52.54%, 成功率达到50%的股票有:19.9%

利润1总平均:6.63% 最大平均利润1:滨海能源 57.03% 最`!C0,`!E73均利润1:长春经开 0.00%

利润2总平均:-0.94% 最大平均利润2:卫星石化 37.04% 最`!C0,`!E73均利润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);
 


 






gd18422

回复

举报

QQ|

GMT+8, 2024-11-17 15:31

快速回复 返回顶部 返回列表