before use OrderTicket and OrderLots functions You need to select order with function OrderSelect
Thankyou Slawa

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
I am using this for opening an order
I cant close an order and keep getting "invalid ticket for OrderClose function"
I have been using the following to try and close the position :
Am i supposed to be using some type of function first to find the ticket number once the order is successful or am i using the OrderClose totally wrong ?
thanks