Rss & SiteMap

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

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

标题:求助·空单怎么不开···

1楼
jetzhu 发表于:2012/9/24 15:06:29

variable:a=0;
variable:b=0;
if date=b+1 then sell(1,100%,market);

if a2 then  begin
buyshort(1,1,market);
b:=date;
end


if date=a+1 then sell(1,100%,market);
if a1 then begin
buy(1,1,market);
a:=date;
end

2楼
jetzhu 发表于:2012/9/24 15:17:56
搞错,空单不是不开,是不平仓··
3楼
jinzhe 发表于:2012/9/24 15:19:05
你写了两个sell,没写sellshort
共3 条记录, 每页显示 10 条, 页签: [1]


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