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


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

   

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


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

主题:为什么没有一个交易信号

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


加好友 发短信
等级:超级版主 帖子:18691 积分:0 威望:0 精华:0 注册:2013/7/15 9:22:16
为什么没有一个交易信号  发帖心情 Post By:2015/5/12 11:00:46    Post IP:58.246.57.26[只看该作者]

if holding=0 then
   begin
   MyEnterPrice:=open;
   buy(1,1,LIMITR,MyEnterPrice);
   end;

if holding>0 and high>=AVGENTERPRICE+2 then
   begin
   MyExitPrice:=AVGENTERPRICE+2;
   sell(1,0,LIMITR,MyExitPrice);
   end;
  
if holding>0 and low<=MyEnterPrice-5 then
   begin
   LongPrice5:=MyEnterPrice-5;
   buy(1,1,LIMITR,LongPrice5);
   end;
 
  
if holding>0 and low<=MyEnterPrice-10 then
   begin
   LongPrice10:=MyEnterPrice-10;
   buy(1,1,LIMITR,LongPrice10);
   end;

  
if holding>0 and low<=MyEnterPrice-20 then
   begin
   LongPrice20:=MyEnterPrice-20;
   buy(1,1,LIMITR,LongPrice20);
   end;

  
if holding>0 and low<=MyEnterPrice-50 then
   begin
   LongPrice50:=MyEnterPrice-50;
   buy(1,1,LIMITR,LongPrice50);
   end;
  
  
if holding>0 and low<=MyEnterPrice-100 then
   begin
   LongPrice100:=MyEnterPrice-100;
   buy(1,1,LIMITR,LongPrice100);
   end;

if holding>0 and low<=MyEnterPrice-200 then
   begin
   LongPrice200:=MyEnterPrice-200;
   buy(1,1,LIMITR,LongPrice100);
   end;

if holding>0 and low<=MyEnterPrice-500 then
   begin
   LongPrice500:=MyEnterPrice-500;
   buy(1,1,LIMITR,LongPrice500);
   end;


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


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

这些代码看不出问题,请写全部的代码



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

客户服务部

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

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

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


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

你的信号在股指上是这样的,不会“没有一个交易信号”
图片点击可在新窗口打开查看此主题相关图片如下:1.png
图片点击可在新窗口打开查看


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

客户服务部

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

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

 回到顶部