Keep OrderComment() at Stop Levels

 
Hi, is there a way keep OrderComment() at TP/SL and also when OrderClose partial ticket as it's can be done manually? Thank you in advance.
 
David Diez:
Hi, is there a way keep OrderComment() at TP/SL and also when OrderClose partial ticket as it's can be done manually? Thank you in advance.
you better use arrays, or global variables
 
Noe Combes Bardoll:
you better use arrays, or global variables
I'm not sure if understanding what you mean.
 

We'll assume that [sl] and [tp] comments can't be modified, but what about partial closing?

Both versions of MetaTrader platform allow setting custom comment for partial ticket closing.

Perhaps we'll have to request adding this feature to OrderClose function to the MetaQuotes team.

Frankly dissapointed and wanna cry.

 
  1. David Diez:  We'll assume that [sl] and [tp] comments can't be modified,

    Those modifications come from your broker. Not all brokers add those.

  2. David Diez: Both versions of MetaTrader platform allow setting custom comment for partial ticket closing.
    Really? Where in the OrderClose function do you see a comment?
              OrderClose - Trade Functions - MQL4 Reference

  3. You are being argumentative, just like you previously did. Added to my do not help list.
              Trying to get first order value from the loop - Indexes - MQL4 and MetaTrader 4 - MQL4 programming forum - Page 2
Reason: