Download MetaTrader 5

Modify comment of deal

To add comments, please log in or register
zifu wang
637
zifu wang  

Guys,  Is it possible to modify comment of deal which you have placed?  

Alexey Petrov
Admin
1238
Alexey Petrov  
If under 'deal' you mean a position, then yes - by performing another deal by the same symbol (increasing position volume or partial closing). In this case the old comment to the position will be replaced by a new comment
Documentation on MQL5: Standard Constants, Enumerations and Structures / Trade Constants / Position Properties
  • www.mql5.com
Standard Constants, Enumerations and Structures / Trade Constants / Position Properties - Documentation on MQL5
zifu wang
637
zifu wang  
alexey_petrov:
If under 'deal' you mean a position, then yes - by performing another deal by the same symbol (increasing position volume or partial closing). In this case the old comment to the position will be replaced by a new comment

Not for position, just for a deal, I wanna replace old comment of the deal with new one. 

Is there any function to perform this job? like this format: 

comment(long deal_number, string new_comment) ;
Alexey Petrov
Admin
1238
Alexey Petrov  
Unfortunately, there is no such function. You can only set a comment while sending an order via OrderSend
zifu wang
637
zifu wang  
alexey_petrov:
Unfortunately, there is no such function. You can only set a comment while sending an order via OrderSend
Can this be escalated as a feature request?
Alexey Petrov
Admin
1238
Alexey Petrov  
kwang1:
Can this be escalated as a feature request?
You can write your suggestion to Service Desk (in your profile) describing in details why this feature should be added.
To add comments, please log in or register