Hello i got the next code:
int Ticket = OrderTicket();
Comment("Beneficios ", Beneficios);
for trying to close an existing order, the code belongs to a function which is called just in case OrdersTotal > 0 and i have a filter which just allow 1 order at the same time.
Thats closing perfectly on strategy tester but once i test on trading demo account, having activate live trading: Tool > Options > Expert advisor tab > Allows automated trading. Not closing :S any ideas?
To add comments, please log in or register