hello, how do i close specific order using OrderClose(). i did get the value of the OrderTicket() but i cannot close it. i think i have problem on my code
Karl Robeck:
hello, how do i close specific order using OrderClose(). i did get the value of the OrderTicket() but i cannot close the specific order. i think i have problem on my code
hello, how do i close specific order using OrderClose(). i did get the value of the OrderTicket() but i cannot close the specific order. i think i have problem on my code
if(OrderSelect(TicketOrder,SELECT_BY_POS,MODE_TRADES))
Should be
if(OrderSelect(TicketOrder,SELECT_BY_TICKET))
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