开拓者期货期权程序化系统交易论坛

标题: 求助 :if,for,while等中含有序列函数 [打印本页]

作者: luzhuxiner    时间: 2017-11-16 14:19:14     标题: 求助 :if,for,while等中含有序列函数

编译中提示 PriceHigh=Highest(High,CurrentBar-GetGlobalVar(MaxLots+Num));中错误为:For,While,If,Else中包含序列函数,可能存在潜在的逻辑错误,请确认代码无误,该如何修改?谢谢!
For Num=1 to Maxlots
        {
                    PriceHigh=Highest(High,CurrentBar-GetGlobalVar(MaxLots+Num));
                    ..................
         }
作者: hlp0410    时间: 2017-11-16 14:23:58

http://bbs.tb18.net/thread-51017-1-1.html
参考此贴解决办法




欢迎光临 开拓者期货期权程序化系统交易论坛 (http://bbs.tb18.net/) Powered by Discuz! X2