Places the pending order with set parameters.
[in] Name of trade instrument.
[in] Type of order trade operation from 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 from ENUM_ORDER_TYPE_TIME enumeration.
[in] Expiration date of pending order.
[in] Order comment.
true - 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 is necessary to check the result of a trade request (trade server return code) using ResultRetcode() and value returned by ResultOrder().