BarExistStatus求助

第一次用BarExistStatus函数,所以在晚上看一下没有夜盘商品的BarExistStatus值,发现所有的值都是1,请教老师们哪里出现了问题,谢谢!ParamsVars Numeric temp1;Events OnBar(ArrayRef<Integer> indexs) { temp1 = BarExistStatus(); Commentary("temp1:>>"+Text(temp1)); }

您需要叠加一个夜盘品种,才能看出来差别。单品种运行,因为它的最后一根bar确实是有交易的,所以BarExistStatus也是等于1

回复:收到,谢谢,我试一下~~~

回复:还是一样啊,怎么解决呢