critical runtime error 503
-
i do get this error 503 saying critical error ontick function sometimes when using an ea on mt5...
any idea where this comes from or how to solve this issue?
-
I don't know what this error is. In the documentation of MQL5 there is no error with this number. Google finds this topic: http://fxdreema.com/forum/topic/4712/how-to-fix-critical-runtime-error-503-in-ontick-function But tcanuto somehow decided his problem with this error in the first message.
I put your project to test (on EURUSD) and I have no errors, but I removed block 15 because I don't have the indicator used in it. Do you have the error without this "tdi" indicator?
-
@fxdreema
it does appear with other mt5 eas as well and there are also some other functions not working proberly i think (some time filters, show strange options and the oninit doesnt work as expected)..
i attach a picture of the time filters... -
I received critical error 502 in OnTick function when I moved a block ("Position closed") from the OnTrade area to the OnTick area. Maybe it's something like that in your similar case too?
-
Can someone make a shared copy for me to investigate
