老师们,同时有多单和空单 open这样写可以指定是多单的开仓价嘛?谢谢啦
for (int i = OrdersTotal() - 1; i >= 0; i--) {if (OrderSelect(i, SELECT_BY_POS, MODE_TRADES) == true) {
if (OrderSymbol() == Symbol() && OrderType() == orderType) {
double open = OrderOpenPrice();
if (orderType == OP_BUY) {
if (Ask < (open - nsSlPoint * Point))
{:1_186:} 谢谢 {:1_186:} {:1_181:} {:1_181:} 谢谢 {:1_181:} {:1_181:} 谢谢