Dear MQL4 community, thanks for all the support from everyone out there. I need some help on how to add in some comments into my OrderSend() orders which expired without any trades.
I know how to add in comments for those EA orders which successfully trade, but for some of my orders which passed expiration time without any trading, the only comment added by the server was " expiration [2010.12.27 05:45] "
I have many expired orders which were not traded at all, and all of them had the similar comments " expiration [2010.12.27 xx:xx] ", I would like to add some comments to identify which EA they were from.
The comments which I added inside OrderSend() does not appear if the order expires without any trade execution.
Appreciate if somebody out there may know how to fix this.
Best regards, Chris.
OrderSend(string symbol, int cmd, double volume, double price, int slippage, double stoploss, double takeprofit, "YOUR COMMENT HERE", int magic=0, datetime expiration=0, color arrow_color=CLR_NONE)
Because Comments can change by broker, mostly write something about TP or SL or Expiration in the comment field.
Comments you can not change.
But you can find out while looking in the Order History ... OrderProfit is empty.
Help me "EA not show comment"
Do not double post.
I have removed your other topic that is just a copy of this .