跳至内容

OrderOpenPrice

OrderOpenPrice

返回当前选中订单的开盘价。

double  OrderOpenPrice();

返回值

当前选中订单的开盘价。

注意

该订单必须先通过 OrderSelect() 函数选中。

示例:

if(OrderSelect(10, SELECT_BY_POS)==true)
    Print("open price for the order 10 ",OrderOpenPrice());
  else
    Print("OrderSelect returned the error of ",GetLastError());
最后更新于