What kind of code could cause this? (backtest)
I tried to run it in the debug mode (ctrl+F5) to nail down the exactly line that generates this, but when it happens the debbuger also stops.
I tried to run it in the debug mode (ctrl+F5) to pin nail the exactly line that generates this, but when it happens the debbuger also stops.
Sleep() inside ?
No, no sleep.
Sorry if I don't give much information, but it's a huge code and I get no ideia what could generate this error.
The problem is erratic, I'm just restarting the same test over and over sometimes it happens in one point, sometimes in another, sometimes does not happen at all.
All with the same EA, same strategy tester and all...
It's inside. Try commenting one by one called made from, you'll find what's happening there.