Hello I am trying to add order modify to my EA and when I compile my code it does not give any errors. However on live/demo terminal modify order does not function at all. I am attaching my sample code for any one likes to help. Thanks in advance.
Files:
M_V2.mq5
39 kb
- Constant variables
- Exporting Functions
- Managing Pending Orders - Trade - MetaTrader 5 for iPhone
https://www.mql5.com/en/docs/constants/structures/mqltraderequest
If you scroll down to the bottom of the page there are the examples.

Documentation on MQL5: Constants, Enumerations and Structures / Data Structures / Trade Request Structure
- www.mql5.com
Interaction between the client terminal and a trade server for executing the order placing operation is performed by using trade requests. The trade request is represented by the special predefined structure of MqlTradeRequest type, which contain all the fields necessary to perform trade deals. The request processing result is represented by...

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register