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


金字塔客服中心 - 专业程序化交易软件提供商金字塔软件公式模型编写问题提交 → 请老师帮我把这个文华策略改成金字塔策略。谢谢!

   

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


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

主题:请老师帮我把这个文华策略改成金字塔策略。谢谢!

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


加好友 发短信
等级:论坛游侠 帖子:523 积分:291 威望:0 精华:0 注册:2011/9/22 23:05:59
  发帖心情 Post By:2015/7/24 9:31:08    Post IP:218.91.123.64[只看该作者]

老师帮我看下这个咋不下单?
图片点击可在新窗口打开查看此主题相关图片如下:截图04.jpg
图片点击可在新窗口打开查看


A1:=REF(MAX(O,C),1);//实体上点位
A2:=REF(MIN(O,C),1);//实体下点位
 
if TIME<151300 and H>REF(H,1) and C<REF(C,1) and (timetot0(dynainfo(207))>=time0-1  or not(islastbar)) then buyshort(holding=0,1,thisclose);
if TIME<151300 and L<REF(L,1) and C>REF(C,1) and (timetot0(dynainfo(207))>=time0-1  or not(islastbar)) then buy(holding=0,1,thisclose);

if (L<REF(A2,enterbars)) and enterbars>0 then sell(1,0,thisclose);
if (H>REF(A1,enterbars)) and enterbars>0  then sellshort(1,0,thisclose);
if (L<HHV(H,enterbars+1)-20) and enterbars>0 then sell(1,0,thisclose);
if (H>LLV(L,enterbars+1)+20) and enterbars>0 then sellshort(1,0,thisclose);

if time>=151300 then begin
 sell(1,0,thisclose);
 sellshort(1,0,thisclose);
end
 

 回到顶部
总数 95 1 2 3 4 5 6 7 8 9 10 下一页