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.
Can't modify comments
Metaquotes language: OrderComment() is not able to be modified - Futures Trading - Expert Advisors and Automated Trading - MQL5 programming forum
Not a good idea to use comments, brokers can change comments, including complete replacement.
Metaquotes language: OrderComment() is not able to be modified - Futures Trading - Expert Advisors and Automated Trading - MQL5 programming forum
Not a good idea to use comments, brokers can change comments, including complete replacement.
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
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.
Noe Combes Bardoll:
you better use arrays, or global variables
I'm not sure if understanding what you mean.
you better use arrays, or global variables
William Roeder:
Can't modify comments
Metaquotes language: OrderComment() is not able to be modified - Futures Trading - Expert Advisors and Automated Trading - MQL5 programming forum
Not a good idea to use comments, brokers can change comments, including complete replacement.
Can't modify comments
Metaquotes language: OrderComment() is not able to be modified - Futures Trading - Expert Advisors and Automated Trading - MQL5 programming forum
Not a good idea to use comments, brokers can change comments, including complete replacement.
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.
- 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.
- 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 - 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
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register