Download MetaTrader 5

How to add a string to the opened order when closing.

To add comments, please log in or register
Jaroslav Buchtík
38
Jaroslav Buchtík  

I have some EA. In this EA  is several different conditions to open and few different conditions for close trade.

Each condition for open has a different string for Comment in order.  ... This I can.

======= 

And now ... When EA close the opened order on the basis one of the specific conditions - I nedd add supplement the already specified Comment about.

Examples

Like the attached [sl] and [tp] when StopLoss or TakeProfit

or       example "SLP v12B [sl]  ...close by StopLoss  

or my example "SLP v12B [chop]" ... close in trend

or my example "SLP v12B [tr]" ... close in chop

or my example "SLP v12B [diff]"  ... close in jump

 

Thank you for your interest in my problem

Alain Verleyen
Moderator
32429
Alain Verleyen  

You cannot modify the "Comment" field of an already open order.

Jaroslav Buchtík
38
Jaroslav Buchtík  
Alain Verleyen:

You cannot modify the "Comment" field of an already open order.

An SL a TP ??  How ??    This add server ?
Osama Shaban
1522
Osama Shaban  

You can't ... but you may ask at Freelancers section to do some changes to your EA by

creasing a file and send text to it according to each order closing case at the closing operation.

It is possible this way but you will make things complicated :(

Jaroslav Buchtík
38
Jaroslav Buchtík  
Thanks, I try question in recommended section
To add comments, please log in or register