以文本方式查看主题

-  金字塔客服中心 - 专业程序化交易软件提供商  (http://weistock.com/bbs/index.asp)
--  交易策略发布专区  (http://weistock.com/bbs/list.asp?boardid=10)
----  [原创]高手请飘过,给大家分享一个简单的股指模型,未加密  (http://weistock.com/bbs/dispbbs.asp?boardid=10&id=12064)

--  作者:yh_tl
--  发布时间:2012/5/31 22:19:50
--  [原创]高手请飘过,给大家分享一个简单的股指模型,未加密

限时提供一个日内5分钟股指模型给兄弟们参考,源码未加密,模型的优点是交易数极少,胜率较高,但回撤较大,利润较低,这个需要大家自己去完善了,真正很好的模型我相信也没有人愿意拿出来分享的。高手请飘过,因为高手闭着眼睛都能想出好多7,8百以上或更多利润的好模型。这个主要是给那些还在苦恼中的兄弟们一个帮助和参考,算是我在论坛学习的一个回报吧

 

http://115.com/file/dpt2jfbb#5M-WR相关.rar

 

 


图片点击可在新窗口打开查看此主题相关图片如下:未命名.png
图片点击可在新窗口打开查看

源码如下:

input:n1(32,6,50,1);

W1:=-100*(HHV(H,N1)-C)/(HHV(H,N1)-LLV(L,N1))+50;
T1:=TIME>093000 AND TIME<143500;
T2:=TIME>150500;

if W1>45 AND REF(ANY(W1>45,9),1) then begin
 sellshort(holding<0, 0, thisclose);
 buy(holding=0 AND T1, 1, thisclose);
 end

if HHV(H,5)>1.0094*C OR T2 then sell(holding>0, 0, thisclose);

if W1<-45 AND REF(ANY(W1<-45,9),1) then begin
 sell(holding>0, 0, thisclose);
 buyshort(holding=0 AND T1, 1, thisclose);
 end

if C>1.0094*LLV(L,5) OR T2 then sellshort(holding<0, 0, thisclose);


--  作者:王锋
--  发布时间:2012/5/31 23:46:56
--  

贴一下源码:

 

input:n1(32,6,50,1);

W1:=-100*(HHV(H,N1)-C)/(HHV(H,N1)-LLV(L,N1))+50;
T1:=TIME>093000 AND TIME<143500;
T2:=TIME>150500;

if W1>45 AND REF(ANY(W1>45,9),1) then begin
 sellshort(holding<0, 0, thisclose);
 buy(holding=0 AND T1, 1, thisclose);
 end

if HHV(H,5)>1.0094*C OR T2 then sell(holding>0, 0, thisclose);

if W1<-45 AND REF(ANY(W1<-45,9),1) then begin
 sell(holding>0, 0, thisclose);
 buyshort(holding=0 AND T1, 1, thisclose);
 end

if C>1.0094*LLV(L,5) OR T2 then sellshort(holding<0, 0, thisclose);


--  作者:ph87
--  发布时间:2012/6/1 20:59:48
--  
多谢分享。
--  作者:myhcow
--  发布时间:2012/6/1 21:12:04
--  
系统信号诊断分析报告

有兴趣的人可以研究下

--  作者:xian_0_9
--  发布时间:2012/6/3 19:40:03
--  
图片点击可在新窗口打开查看
--  作者:kingmoonwang
--  发布时间:2012/6/5 22:52:25
--  
能讲下原理么
--  作者:zsjwhy
--  发布时间:2012/6/8 21:56:32
--  
多谢分享。
--  作者:cong
--  发布时间:2012/6/12 9:06:18
--  

请问1.0094怎么出来的?


--  作者:lovecwx
--  发布时间:2012/8/17 23:16:57
--  
多谢分享,收益算到只有280多。
--  作者:yh_tl
--  发布时间:2012/9/19 12:17:02
--  
以下是引用cong在2012-6-12 9:06:18的发言:

请问1.0094怎么出来的?

优化来的:)