Download MetaTrader 5

Trying to add ordercomment() to a trade after partial close??

To add comments, please log in or register
gavin
390
gavin  

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
18004
Simon Gniadkowski  
OrderComment() returns the existing comment on an Order . . . I don't believe you can change the comment added at OrderSend time
gavin
390
gavin  
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
14785
whroeder1  
  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  
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
14785
whroeder1  
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