系统有bug
这个穿为什么又是可以上传 有时没有信号红框里面是按照系统上穿信号执行的另外两个箭头 本来按照信号应该上穿 没有执行信号Params Numeric n1(1);Vars Series<Numeric> ma1; Series<Numeric> cc;Events OnBar(ArrayRef<Integer> indexs) { ma1 = Average(CLose,n1); PlotNumeric("ma1",ma1); If(TrueDate(0)<>TrueDate(1)){ CC = Close;} PlotNumeric("CC", CC); If( marketposition<>1 && CrossOver(ma1,CC)) { Buy(0,Close); } If(marketposition<>-1 && CrossUnder(ma1,CC) ) { SellShort(0,Close); } 简语言版本执行信号是正常的