Files
mql5-skills/skills/mql5/references/docs/34-standardlibrary/3388-standardlibrary-tradeclasses-ctrade-ctradeorderdelete.md
T
2026-06-23 21:47:51 +08:00

25 lines
554 B
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# OrderDelete
Deletes the pending order.
```
bool  OrderDelete(
   ulong  ticket      // order ticket
   )
```
Parameters
ticket
[in]  Order ticket.
Return Value
true - successful check of the basic structures, otherwise - false.
Note
Successful completion of the OrderDelete(...) method does not always mean successful execution of the trade operation. It is necessary to check the result of trade request (trade server return code) using [ResultRetcode()](/en/docs/standardlibrary/tradeclasses/ctrade/ctraderesultretcode).