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


金字塔客服中心 - 专业程序化交易软件提供商金字塔软件公式模型编写问题提交 → 有信号,不交易

   

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


  共有6157人关注过本帖树形打印复制链接

主题:有信号,不交易

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


加好友 发短信
等级:罗宾汉 帖子:46311 积分:50819 威望:0 精华:2 注册:2011/3/23 8:50:25
  发帖心情 Post By:2016/3/17 17:03:35    Post IP:58.246.57.26[只看该作者]

是的,这就是你要的结果,必须是开仓信号转移到下一根k线


金字塔—专业程序化交易量化投资平台

客户服务部

----------------------------------------------------------- 欢迎您参加我公司的技术培训,具体培训需求请发邮件到service@weistock.com

您的宝贵建议或者投诉,请发往邮箱:weiwei@weistock.com

 回到顶部
帅哥哟,离线,有人找我吗?
Mikewang
  32楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:论坛游民 帖子:122 积分:0 威望:0 精华:0 注册:2015/12/9 12:32:38
  发帖心情 Post By:2016/3/17 17:21:31    Post IP:101.90.254.247[只看该作者]

如果不能接受开仓信号转移到下一根k线的话,有没有其他办法?

 回到顶部
帅哥哟,离线,有人找我吗?
jinzhe
  33楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:罗宾汉 帖子:46311 积分:50819 威望:0 精华:2 注册:2011/3/23 8:50:25
  发帖心情 Post By:2016/3/17 17:22:11    Post IP:58.246.57.26[只看该作者]

没有了,在固定轮询模式下实现走完k线就是这样的结果


金字塔—专业程序化交易量化投资平台

客户服务部

----------------------------------------------------------- 欢迎您参加我公司的技术培训,具体培训需求请发邮件到service@weistock.com

您的宝贵建议或者投诉,请发往邮箱:weiwei@weistock.com

 回到顶部
帅哥哟,离线,有人找我吗?
Mikewang
  34楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:论坛游民 帖子:122 积分:0 威望:0 精华:0 注册:2015/12/9 12:32:38
  发帖心情 Post By:2016/4/5 15:22:02    Post IP:140.206.255.82[只看该作者]

您好   请问老师在运行金字塔程序的同时,1)是否可以同时在金字塔软件上直接干预进行开平仓?
2)是否可以同时开启其他交易软件,以便于及时干预进行开平仓?谢谢

 回到顶部
帅哥哟,离线,有人找我吗?
jinzhe
  35楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:罗宾汉 帖子:46311 积分:50819 威望:0 精华:2 注册:2011/3/23 8:50:25
  发帖心情 Post By:2016/4/5 15:29:05    Post IP:58.246.57.26[只看该作者]

1直接干预手工交易吗?可以,但是手工下的单子不会被程序检测

2、可以的



金字塔—专业程序化交易量化投资平台

客户服务部

----------------------------------------------------------- 欢迎您参加我公司的技术培训,具体培训需求请发邮件到service@weistock.com

您的宝贵建议或者投诉,请发往邮箱:weiwei@weistock.com

 回到顶部
帅哥哟,离线,有人找我吗?
Mikewang
  36楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:论坛游民 帖子:122 积分:0 威望:0 精华:0 注册:2015/12/9 12:32:38
  发帖心情 Post By:2016/4/5 15:43:16    Post IP:140.206.255.82[只看该作者]

是在问运行金字塔程序的同时,是否可以在金字塔软件上直接手工干预进行开平仓及同时运行其他交易软件,以便于及时干预进行开平仓?谢谢

 回到顶部
帅哥哟,离线,有人找我吗?
jinzhe
  37楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:罗宾汉 帖子:46311 积分:50819 威望:0 精华:2 注册:2011/3/23 8:50:25
  发帖心情 Post By:2016/4/5 15:44:36    Post IP:58.246.57.26[只看该作者]

可以的,但是手工做的开平仓无法被程序所检测到


金字塔—专业程序化交易量化投资平台

客户服务部

----------------------------------------------------------- 欢迎您参加我公司的技术培训,具体培训需求请发邮件到service@weistock.com

您的宝贵建议或者投诉,请发往邮箱:weiwei@weistock.com

 回到顶部
帅哥哟,离线,有人找我吗?
Mikewang
  38楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:论坛游民 帖子:122 积分:0 威望:0 精华:0 注册:2015/12/9 12:32:38
  发帖心情 Post By:2016/11/30 17:46:23    Post IP:101.90.127.106[只看该作者]

问题是
1、当程序应该平多开空时,却出现不平掉原有多单,就开空单,即平仓不执行,而开仓正常。
2、当程序应该平空开多时,却出现不平掉原有空单,就开多单,即平仓不执行,而开仓正常。
现在有关程序是:
sellshort(CROSS(H1,H2),0,marketr),orderqueue;

buy(CROSS(H1,H2) and holding=0,1,thisclose),orderqueue;

sell(CROSS(H2,H1) ,0,marketr),orderqueue;

buyshort(CROSS(H2,H1) and holding=0,1,thisclose),orderqueue;

多止损:sell(rounds(C,3)<rounds(ENTERPRICE,3)-15*MINDIFF,holding,marketr),orderqueue;

空止损:sellshort(rounds(C,3)>rounds(ENTERPRICE,3)+15*MINDIFF,holding,marketr),orderqueue;

if rounds(hhv(h,enterbars+1),3)>=rounds(enterprice,3)+9*mindiff and rounds(hhv(h,enterbars+1),3)<=rounds(enterprice,3)+10*mindiff  and  (rounds(h,3)>=rounds(enterprice,3)+7*mindiff) and (rounds(l,3)<=rounds(enterprice,3)+7*mindiff) and enterbars>0 then 多止盈4:sell(1,0, limitr,enterprice+7*mindiff),orderqueue;

if rounds(hhv(h,enterbars+1),3)>=rounds(enterprice,3)+11*mindiff and rounds(hhv(h,enterbars+1),3)<=rounds(enterprice,3)+12*mindiff  and  (rounds(h,3)>=rounds(enterprice,3)+9*mindiff) and (rounds(l,3)<=rounds(enterprice,3)+9*mindiff) and enterbars>0 then 多止盈5:sell(1,0, limitr,enterprice+9*mindiff),orderqueue;

if rounds(hhv(h,enterbars+1),3)>=rounds(enterprice,3)+13*mindiff and rounds(hhv(h,enterbars+1),3)<=rounds(enterprice,3)+14*mindiff  and  (rounds(h,3)>=rounds(enterprice,3)+11*mindiff) and (rounds(l,3)<=rounds(enterprice,3)+11*mindiff) and enterbars>0 then 多止盈6:sell(1,0, limitr,enterprice+11*mindiff),orderqueue;

if rounds(llv(l,enterbars+1),3)<=rounds(enterprice,3)-9*mindiff and rounds(llv(l,enterbars+1),3)>=rounds(enterprice,3)-10*mindiff  and  (rounds(h,3)>=rounds(enterprice,3)-7*mindiff) and (rounds(l,3)<=rounds(enterprice,3)-7*mindiff) and enterbars>0 then 空止盈4:sellshort(1,0, limitr,enterprice-7*mindiff),orderqueue;

if rounds(llv(l,enterbars+1),3)<=rounds(enterprice,3)-11*mindiff and rounds(llv(l,enterbars+1),3)>=rounds(enterprice,3)-12*mindiff  and  (rounds(h,3)>=rounds(enterprice,3)-9*mindiff) and (rounds(l,3)<=rounds(enterprice,3)-9*mindiff) and enterbars>0  then 空止盈5:sellshort(1,0, limitr,enterprice-9*mindiff),orderqueue;

if rounds(llv(l,enterbars+1),3)<=rounds(enterprice,3)-13*mindiff and rounds(llv(l,enterbars+1),3)>=rounds(enterprice,3)-14*mindiff  and  (rounds(h,3)>=rounds(enterprice,3)-11*mindiff) and (rounds(l,3)<=rounds(enterprice,3)-11*mindiff) and enterbars>0 then 空止盈6:sellshort(1,0, limitr,enterprice-11*mindiff),orderqueue;

if rounds(hhv(h,enterbars+1),3)>=rounds(enterprice,3)+15*mindiff and rounds(close,3)<=rounds(hhv(h,enterbars+1),3)-3*mindiff and enterbars>0 then 移动平多:sell(1,0,market),orderqueue;

if rounds(llv(l,enterbars+1),3)<=rounds(enterprice,3)-15*mindiff and rounds(close,3)>=rounds(llv(l,enterbars+1),3)+3*mindiff and enterbars>0 then 移动平空:sellshort(1,0,market),orderqueue;


 回到顶部
帅哥哟,离线,有人找我吗?
jinzhe
  39楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:罗宾汉 帖子:46311 积分:50819 威望:0 精华:2 注册:2011/3/23 8:50:25
  发帖心情 Post By:2016/12/1 8:53:19    Post IP:116.231.212.45[只看该作者]

信号是不是平空开多的?


金字塔—专业程序化交易量化投资平台

客户服务部

----------------------------------------------------------- 欢迎您参加我公司的技术培训,具体培训需求请发邮件到service@weistock.com

您的宝贵建议或者投诉,请发往邮箱:weiwei@weistock.com

 回到顶部
帅哥哟,离线,有人找我吗?
Mikewang
  40楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:论坛游民 帖子:122 积分:0 威望:0 精华:0 注册:2015/12/9 12:32:38
  发帖心情 Post By:2016/12/1 9:18:12    Post IP:101.90.252.208[只看该作者]

是的,例如平空并开多,或者平多并开空。错误的问题在于目前只开不平。

 回到顶部
总数 44 上一页 1 2 3 4 5 下一页