Any suggestions would be high appreciated.
Thanks,
Suresh.
All Trading functions are there:
- OrderClose
- OrderCloseBy
- OrderClosePrice
- OrderCloseTime
- OrderComment
- OrderCommission
- OrderDelete
- OrderExpiration
- OrderLots
- OrderMagicNumber
- OrderModify
- OrderOpenPrice
- OrderOpenTime
- OrderPrint
- OrderProfit
- OrderSelect
- OrderSend
- OrdersHistoryTotal
- OrderStopLoss
- OrdersTotal
- OrderSwap
- OrderSymbol
- OrderTakeProfit
- OrderTicket
- OrderType

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 need suggestions on getting the ticket number of partially closed orders. For example, I have 2 lots of some symbol and the ticket number is X. Now if I close 1 lot of this order using
OrderClose(X, 1, .... ).
Now, 1 lot is being closed and the remaining 1 lot is reopened as a new order by the server with a new ticket number. Is there a way to get this ticket number or ask the server to use the old ticket number.
Any suggestion is appreciated.
Thanks,
Suresh.