Handling Buy and Sell errors?
-
Buy and Sell blocks have success and error outputs. How do you use the error outputs?
How does the EA figure out what the error was.
Are there error handling blocks somewhere?Does anyone have examples of using the error outputs from Buy and Sell?
Thanks!
-
it's somewhere in the code. I don't remember all the cases where the error outputs are called, but in fatal error - when it is not possible to try again. If it is possible to try again, I think that 10 attempts are made. Find that function CheckForTradingError() in the code, hopefully you will understand something from it.