Error code=4806
-
I built an EA, during backtestings it works fine - but when I put it live it appear this error: Error code=4806
-
@didble-trader said in Error code=4806:
Error code=4806
is not that something related to custom indicator?
-
We discussed this and it appears that the problem is that because he loads the same indicator with different settings like in something like 100 blocks, this takes long time. For some reason MQL5 loads indicators slowly. And in the EAs I programmed MQL5 to load them on demand, which is not the official way of doing that. So I have a "while" loop that waits for indicator to load for 500 ms and then throw that error. So I changed that time to 5 seconds. Unfortunately I still don't know how to make MQL5 to load indicators more quickly.