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.
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...
- Don't resurrect seven year old threads.
- brokers can change comments, including complete replacement.
- Use Magic number in OrderSelect loop. order accounting - MQL4 forum

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
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