Thank you ,the message says the indicator runs for 9669 ms .
and also ,the Mql4 has other problem .still remained after several upgrades.
1/I set a loop to close an order for 100 times ,in the loop ,if orderclose function return a none zero value ,the ea will break the loop,but sometime after the order was closed ,
terminal will show message like this "unkow ticket xxxxxx for orderclose function".
2/I set order close condition like this ,if an order has a profit exceed 0 after it was opened 3 hours later . but sometimes ,it was not closed ,even has possive profit and opened for a week .
There is something wrong with your code.
No point in trying to guess what is wrong, so you will need to show the code if you want help
To add comments, please log in or register