Places the pending order with set parameters.
[in] Name of trade instrument.
[in] Type of order trade operation (value of ENUM_ORDER_TYPE enumeration).
[in] Requested order volume.
[in] Price at which the StopLimit order will be placed.
[in] Price at which the order must be executed.
[in] Price at which the Stop Loss will trigger.
[in] Price at which the Take Profit will trigger.
[in] Order type by execution (value of ENUM_ORDER_TYPE_TIME enumeration).
[in] Expiration date of pending order.
[in] Order comment.
true - in case of successful check of the basic structures, otherwise - false.
Successful completion of the OrderSend(...) method does not always mean successful execution of the trade operation. It's necessary to check the result of trade request (trade server return code) using ResultRetcode() and value, returned by ResultOrder().