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
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
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) ;
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Guys, Is it possible to modify comment of deal which you have placed?