Avoid editing of Comment

 

Hi, is there a way to avoid that the field OrderComment() is modified from the platform?

Thank you!

 
Alberto_jazz:

Hi, is there a way to avoid that the field OrderComment() is modified from the platform?

Thank you!

The OrderComment() field can be set at the opening of the order, and cannot be modified after (I just do not know how it could be using MQL4 or the MT4 platform). So set it to space when you are opening an order instead of the value you don't want to see. 

Reason: