avoid modifying in comments

 

Hi all, when an order is opened my expert writes a comment in the order.

Can I avoid that the expert modifies the comment when half position is closed at target price?

Thank you!

 
Alberto_jazz:

Hi all, when an order is opened my expert writes a comment in the order.

Can I avoid that the expert modifies the comment when half position is closed at target price?

If your EA is indeed modifying the Comment then yes you can change your code so it no longer does that . . . . I suspect it may be your Broker making the change.
 

I only wrote a comment when orders are opened, so it's not my expert that modifies the comments.

I didn't know could be my broker making the change, is there a possibility to avoid this?

 
Alberto_jazz:

I didn't know could be my broker making the change, is there a possibility to avoid this?

https://www.mql5.com/en/forum/139499

https://www.mql5.com/en/forum/138539

 
Alberto_jazz:

I only wrote a comment when orders are opened, so it's not my expert that modifies the comments.

I didn't know could be my broker making the change, is there a possibility to avoid this?


no the order get new ticketnumber with comment like from #........

first part is closed with comment like to #..........

 
Alberto_jazz:

Hi all, when an order is opened my expert writes a comment in the order.

Can I avoid that the expert modifies the comment when half position is closed at target price?

Comments can NOT be modified by EA/Script at all. Brokers can change comments, including complete replacement.
Reason: