Rss & SiteMap

金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/

专业程序化软件提供商
共2 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:[原创]随机策略

1楼
z7c9 发表于:2010/10/29 20:18:33
runmode:0;

r:=rand(2);

if r=1 and (enterbars=1 or enterbars>=10) then begin
sellshort(1,holding,limitr,close),orderqueue;
buy(1,1,limitr,close),orderqueue;
end;

if r=2 and (enterbars=-1 or enterbars>=10) then begin
sell(1,holding,limitr,close),orderqueue;
buyshort(1,1,limitr,close),orderqueue;
end;

资产:asset,noaxis,coloryellow;
盈亏:(asset-180000)/180000,linethick0;
次数:totaltrade,linethick0;
胜率:percentwin,linethick0;
连亏:maxseqloss,linethick0;
连赢:maxseqwin,linethick0;
2楼
z7c9 发表于:2010/11/5 18:12:29
记住随机入市系统的可靠性大约是38%,它应该达到50%,但是所增加的12%的亏损概率是由于交易成本以及我们有一个停价(虽然是很大的停价)这一事实造成的。
共2 条记录, 每页显示 10 条, 页签: [1]


Powered By Dvbbs Version 8.3.0
Processed in 0.01270 s, 3 queries.