策略没有开仓指令运行时怎么会产生开仓操作

Vars Global Integer sendCount(0); Events OnBar(ArrayRef<Integer> indexs) { if(sendCount == 0) {//发开仓单 Array<Integer> orders; //指定账户指定合约开多头单 Bool ret = A_Sell(Symbol, A_BuyPosition(0), 0, orders, "", "") and A_BuyToCover(Symbol, A_SellPosition(0), Q_UpperLimit(), orders, "", ""); if(ret) { sendCount = sendCount + 1; } } } 这段代码运行时怎么会产生2次开仓操作

你这个只有a_sell指令,没看到开仓指令