设为首页收藏本站

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

公式通不过?什么原因? [复制链接]

Rank: 1

精华
0
UID
240899
积分
43
帖子
19
主题
12
阅读权限
10
注册时间
2016-9-23
最后登录
2017-10-7
跳转到指定楼层
1#
发表于 2016-12-5 10:21:03 |显示全部楼层 |倒序浏览
为什么公式总是通不过呢?
Vars
    NumericSeries myprice;
         NumericSeries myprice1;
          NumericSeries myprice2;
NumericSeries line;
Begin
    If(time==0.145950)
      myprice=Close;
   If(time==0.092000)
      myprice1=open;
         If(time==0.093010)
      myprice2=open;

   If(time==0.093010 )
    if(closeD(1)>openD(1))
     {
      
     If( myprice1> myprice&&myprice2>myprice1)
      sellshort(1,myprice2);
     }
   
   If(time==0.100000)
     buytocover(1,open-MinMove*PriceScale);

Rank: 1

精华
0
UID
240899
积分
43
帖子
19
主题
12
阅读权限
10
注册时间
2016-9-23
最后登录
2017-10-7
2#
发表于 2016-12-5 12:44:28 |显示全部楼层
小米 发表于 2016-12-5 11:14
提示是啥?
没有end呢


加了END了,提示最终目标文件编译错误
附件: 你需要登录才可以下载或查看附件。没有帐号?注册

使用道具 举报

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

bottom

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

GMT+8, 2024-5-6 17:03

Powered by Discuz! X2 LicensedChrome插件扩展

© 2011-2012 交易开拓者 Inc.

回顶部