关于画线打断代码问题
Params Numeric t1(30); Vars Series<Numeric> my_h; Series<Numeric> my_l; Series<Numeric> tem_h; Series<Numeric> tem_l; Plot plt; Events OnBar(ArrayRef<Integer> indexs) { tem_h = Highest(H[1],t1); tem_l = lowest(L[1],t1); if( BarsSinceToday == t1 ) { my_h = tem_h; my_l = tem_l; } if(BarsSinceToday >= t1) { PlotNumeric ("my_h", my_h); PlotNumeric ("my_l", my_l); } //// 画线打断 else if(BarsSinceToday < t1) { plt.setOption("my_h", "line-break", true); plt.setOption("my_l", "line-break", true); } }如上代码只要添加画线打断部分就会出现如下图错误提示,不能绘出所需画线,不知问题所在,求助解决。