Download MetaTrader 5
To add comments, please log in or register
Write articles, help other developers and make money
gavin
369
gavin 2011.10.26 13:41 

Is this possible in mt4? If so can anyone shed some light on how to do it. I have tried with no sucess. thanks.

Simon Gniadkowski
Moderator
17963
Simon Gniadkowski 2011.10.26 13:53  
OrderComment() returns the existing comment on an Order . . . I don't believe you can change the comment added at OrderSend time
gavin
369
gavin 2011.10.26 14:00  
RaptorUK:
OrderComment() returns the existing comment on an Order . . . I don't believe you can change the comment added at OrderSend time


ok thanks/

whroeder1
13640
whroeder1 2011.10.26 14:34  
  1. You can't change the comment
  2. Not a good idea to use them post send anyway as brokers can change comments, including complete replacement.
Vinh Nguyen
5
Vinh Nguyen 2014.05.12 12:21  
That really sucks. I need a place to store order data in string format and the comment field seems to be a good place to use, except a partial close will overwrite my original comment. Any plans to add this feature to MT4?
whroeder1
13640
whroeder1 2014.05.12 12:38  
macronetics: I need a place to store order data in string format
That's called a file.
/
To add comments, please log in or register