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
参考此贴解决办法
页: [1]
查看完整版本: 求助 :if,for,while等中含有序列函数