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


金字塔客服中心 - 专业程序化交易软件提供商金字塔软件金字塔软件问题提交 → 测试明细无法与图表交易信号--对应上

   

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


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

主题:测试明细无法与图表交易信号--对应上

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


加好友 发短信
等级:新手上路 帖子:3 积分:20 威望:0 精华:0 注册:2011/9/15 11:38:54
测试明细无法与图表交易信号--对应上  发帖心情 Post By:2011/9/15 11:46:30 [只看该作者]

交易模型如下:

 

runmode:0;

variable:stopprice=0;

DD:=ref(c,1);
EE:=ma(c,60);
ff:=hhv(h,4);

if holding=0 then begin

if c<ee && dd>ee then

buyshort(1,4, thisclose);

stopprice:=ff;

end

 

if holding<0 then begin

if  c<ee && dd>ee then

buyshort(1,2,thisclose);

end

if  (holding<-2 && enterprice-c>100) or (holding=-2 && enterprice-c>200) then
sellshort(1,0.5*holding,thisclose);


if holding<0 then begin


if enterprice-c>150 then
stopprice:=stopprice-75;
if c>stopprice then
sellshort(1,holding,thisclose);

end

 

可用白糖1201品种的15分钟周期查看,可以从2011年8月1日起开始评测,发现图表交易信号根本无法与测评明细一一对应上,

 

希望金字塔公司迅速修改这个Bug,谢谢!


 回到顶部