Rss & SiteMap

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

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

标题:请教关于反手

1楼
punkcat401 发表于:2013/12/9 9:53:40

多头平仓后,如果满足条件B才反手做空,是这样写吗

 

If 条件A then begin

sell( ),Orderqueue;    

IF 条件B then buyshort( ),Orderqueue;

END 

2楼
jinzhe 发表于:2013/12/9 10:01:09

variable:n=0;

if a and holding>0 then begin

sell;

n:=1;

end

 

if b and holding=0 and n=1 then begin

buyshort;

n:=0;

end

共2 条记录, 每页显示 10 条, 页签: [1]


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