Rss & SiteMap

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

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

标题:[交易系统]周期共振系统

1楼
z7c9 发表于:2011/10/23 20:05:40

 

runmode:0;

min5open:=callstock(stklabel,vtopen,2,-1);
min5close:=callstock(stklabel,vtclose,2,-1);

min15open:=callstock(stklabel,vtopen,3,-1);
min15close:=callstock(stklabel,vtclose,3,-1);

min30open:=callstock(stklabel,vtopen,4,-1);
min30close:=callstock(stklabel,vtclose,4,-1);

entrylongcond:=min5close>min5open and min15close>min15open and min30close>min30open;
entryshortcond:=min5close
if holding=0 then begin
if entrylongcond then
buy(1,1,limitr,open);

if entryshortcond then
buyshort(1,1,limitr,open);
end

if holding>0 then begin
if time>=closetime(0) then
sell(1,holding,limitr,close);
end

if holding<0 then begin
if time>=closetime(0) then
sellshort(1,holding,limitr,close);
end

盈亏:asset-500000,noaxis,coloryellow,linethick2;

2楼
a7777 发表于:2013/1/29 21:38:24
图片点击可在新窗口打开查看
3楼
梦想 发表于:2013/2/15 20:39:22
好贴 好贴
4楼
散兵 发表于:2013/2/18 22:42:05
斑竹,有没解释下
5楼
chinacc 发表于:2013/2/28 0:44:57
学习了。
6楼
chinacc 发表于:2013/3/2 10:47:37
图片点击可在新窗口打开查看
7楼
jiangsen 发表于:2013/3/21 18:29:40
8楼
jiangsen 发表于:2013/3/28 15:13:31
不错
9楼
luofeid 发表于:2014/2/17 21:09:45
貌似效果不错  不过有没有未来函数呢?
10楼
szy56801 发表于:2014/3/14 16:46:03
各种未来
共12 条记录, 每页显示 10 条, 页签: [1] [2]


Powered By Dvbbs Version 8.3.0
Processed in 0.02344 s, 2 queries.