Is it possible to modify the order comment

Back to topics list To post a new topic, please log in or register
avatar
48
TT_FX1 2008.01.23 22:21
 

Hi all

I m new to MQL4, other than using OrderComment() function to read back the comment, is there a way to modify or change the existing order comment ?

Please advice

Thanks


Tom

 
avatar
2644
phy 2008.01.23 22:38 #
 

OrderModify()...

Parameters:

ticket - Unique number of the order ticket.
price - New open price of the pending order.
stoploss - New StopLoss level.
takeprofit - New TakeProfit level.
expiration - Pending order expiration time.
arrow_color - Arrow color for StopLoss/TakeProfit modifications in the chart. If the parameter is missing or has CLR_NONE value, the arrows will not be shown in the chart.


No.

 
avatar
83
BeLikeWater 2015.02.23 19:54 #
 
Definetly should be a way of doing this. During my EA I change the tp of some Open Orders if they find some condition on the market, I dont know how to make my EA recognise that orders in the future...
avatar
12992
WHRoeder 2015.02.23 20:31 #
 
  1. Don't resurrect seven year old threads.
  2. brokers can change comments, including complete replacement.
  3. Use Magic number in OrderSelect loop. order accounting - MQL4 forum
Back to topics list  

To add comments, please log in or register