Download MetaTrader 5

How to provide a comment to SendOrder with Expert?

To add comments, please log in or register
Having difficulties in understanding the Trading Signals service? Read the article!
tfoller
19
tfoller 2016.09.09 13:10 
I provide my custom comment to SendOrder() function, but when an order appears in Account History, it says in Comment "#12345, Placed by Expert". Do I need to change some other settings to make a custom comment to appear in there?
Keith Watford
Moderator
9619
Keith Watford 2016.09.09 13:34  
I think that what you are describing is what you get if you hover the cursor over the ticket number. To show order comments, right click on the headings and click "Comments"
JC
1456
JC 2016.09.09 13:35  
tfoller:
I provide my custom comment to SendOrder() function, but when an order appears in Account History, it says in Comment "#12345, Placed by Expert". Do I need to change some other settings to make a custom comment to appear in there?

You seem to be describing the hover-over tooltip which is displayed by MT4. That isn't the same as the order comment

You can make the comments visible in the list by right-clicking over it and ticking Comments on the pop-up menu. 

whroeder1
14487
whroeder1 2016.09.09 14:11  
tfoller: I provide my custom comment to SendOrder() function,
brokers can change comments, including complete replacement.
tfoller
19
tfoller 2016.09.09 14:57  

Yes, I was describing the tooltip, sorry for the confusion, when I enable Comment column, it says [tp] or [sl], not my comment still.

Is it the broker changing it?

Fernando Carreiro
2350
Fernando Carreiro 2016.09.09 16:38  
tfoller: Yes, I was describing the tooltip, sorry for the confusion, when I enable Comment column, it says [tp] or [sl], not my comment still. Is it the broker changing it?
Yes, and WHRoeder has already stated that. Please read his post and the links he has provided.
To add comments, please log in or register