Rss & SiteMap

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

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

标题:[交易系统]涨三跌三

1楼
z7c9 发表于:2011/9/20 13:23:05

图片点击可在新窗口打开查看

 

runmode:0;

ds:=ref(all(close<open,3),1);
zs:=ref(all(close>open,3),1);

if holding=0 then begin
 if ds then
  buy(1,1,limitr,open);
end

if holding=0 then begin
 if zs then
  buyshort(1,1,limitr,open);
end

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

if holding<0 then begin
 sellshort(1,holding,limitr,close);
end

盈亏:asset-50000,noaxis,colorred,linethick2;

[此贴子已经被作者于2011-10-3 9:59:44编辑过]
2楼
幸运60 发表于:2011/9/20 21:22:18

楼主解释下?

3楼
evalist 发表于:2011/10/13 13:23:14
三根红线就买多 三根阴线做空···
4楼
a7777 发表于:2013/1/29 21:38:35
图片点击可在新窗口打开查看
5楼
chinacc 发表于:2013/2/28 0:45:39
学习了。
6楼
chinacc 发表于:2013/3/2 10:46:06
谢谢
共6 条记录, 每页显示 10 条, 页签: [1]


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