MQL4 Reference
Trading functions
OrderOpenPrice
Returns open price for the currently selected order.
Order must be first selected by the OrderSelect() function.
Sample:
if(OrderSelect(10, SELECT_BY_POS)==true)
Print("open price for the order 10 ",OrderOpenPrice());
else
Print("OrderSelect returned the error of ",GetLastError());
|
|
|