序列变量得函数bug(致命)
函数写法如下:Params Series<Numeric> open_price(1); Numeric length(10); Vars Numeric i; Begin For i = 0 to length - 1 { Print("i:" + Text(i) + ",open:"+Text(open_price[i])); } return 0; End调用位置如下: If(Data[i].CurrentBar == 1136) { Data[i].f_debug(Data[i].Open, 3); }输出结果如下,无法在自定义函数中回溯序列值