欢迎使用金字塔普通技术服务论坛,您可以在相关区域发表技术支持贴。
我司技术服务人员将优先处理 VIP客服论坛 服务贴,普通区问题处理速度慢,请耐心等待。谢谢您对我们的支持与理解。


金字塔客服中心 - 专业程序化交易软件提供商金字塔软件公式模型编写问题提交 → [求助]求证

   

欢迎使用金字塔普通技术服务论坛,您可以在相关区域发表技术支持贴。
我司技术服务人员将优先处理 VIP客服论坛 服务贴,普通区问题处理速度慢,请耐心等待。谢谢您对我们的支持与理解。    


  共有4358人关注过本帖平板打印复制链接

主题:[求助]求证

帅哥哟,离线,有人找我吗?
zk7777777
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:新手上路 帖子:46 积分:655 威望:0 精华:0 注册:2012/5/15 20:57:57
[求助]求证  发帖心情 Post By:2012/5/30 18:21:56    Post IP:122.95.70.74[只看该作者]

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

 


 回到顶部