Topic: "Critical runtime error 502 ..." mt5 tester
I want to run optimization tests with mt5 only open prices. I get this error with different strategies, but with some strategies everything is OK. Also with some strategies tester does not launch at all. It points to the same code line. So where is a problem? Is it my local mt5? Or I need to fix something in mq5 file? To add more, it seems if I uncheck some parameter optimization boxes and leave only TP and SL error disappear.
2017.11.20 13:05:46.676 Core 01 pass 1846 tested with error "critical runtime error 502 in OnInit function (array out of range, module Experts\2 EUR USD 60 (1).ex5, file 2 EUR USD 60 (1).mq5, line 1999, col 24)" in 0:00:00.094
If you wonder why the hell I want to optimize with mt5, the answer is: I need to have thousands of test with different parameters. Wanna check some stuff like parameter sweep and parameter permutation test to fight data mining bias. If you know how to run thousands of test with different parameters automated way with FSB please share