设为首页收藏本站

 找回密码
 注册
查看: 841|回复: 0
打印 上一主题 下一主题

dual thrust 策略源码有问题求指点 [复制链接]

Rank: 1

精华
0
UID
205944
积分
22
帖子
13
主题
1
阅读权限
10
注册时间
2015-3-26
最后登录
2021-4-5
1#
发表于 2019-7-24 17:49:39 |显示全部楼层
If( High >= BuyPosition)
                       {
                              Buy(lost,Max(Open,SellPosition)+i_offset);  // Buy(lost,Max(Open,SellPosition)+i_offset);[1]
                                  Return;
                    }  
                     If( Low <= SellPosition )
                                {
                                 SellShort(lost,Min(Open,SellPosition)-i_offset);  //SellShort(lost,Min(Open,SellPosition)-i_offset);[1]
                                Return;
                                }  
               
          }当价格突破BuyPosition 你能买到open或者sellposition吗?

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

bottom

静态版|手机版|联系我们|交易开拓者 ( 粤ICP备07044698   

GMT+8, 2024-5-3 00:22

Powered by Discuz! X2 LicensedChrome插件扩展

© 2011-2012 交易开拓者 Inc.

回顶部