Rss & SiteMap

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

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

标题:[求助]求证

1楼
zk7777777 发表于:2012/5/30 18:21:56

c1:=条件1
c2:=条件2
c3:=条件3
c4:=条件4
c5:=条件5
c6:=条件6

 if c1 and ref(count(c1,30)=0,1) and ref(count(c1,100)=1,1) then
 begin
 
Sellshort(holding<0,holding,market);
 

Buy(holding=0,market);    请问这2条是反手的意思吗?
 

End


//开多时止盈
if holding>0 and c6  then
begin

Sell(1,0,market),orderqueue;

end

 

if c2 and ref(count(c2,30)=0,1) and ref(count(c2,100)=1,1) then
 
 begin
Sell(holding>0,holding,market); 
 buyshort(holding=0,market);
 
end
//开空时止盈 
if
 
holding<0 and enterprice>c and c5 then
begin

Sellshort(holding<0,holding,market),orderqueue;蓝色部分有用吗?

 end

 

2楼
rushtaotao 发表于:2012/5/31 8:47:08
Sellshort(holding<0,holding,market);
 

Buy(holding=0,market);    请问这2条是反手的意思吗?  

 

 

平空开多(算是反手吧)

 

 

orderqueue;蓝色部分有用吗?

 

顺序委托下单指令(具体可查询函数说明)


3楼
jinzhe 发表于:2012/5/31 8:51:41

1.先平后开是反手

2.只有一句下单语句的话,顺序下单没作用

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


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