Which MQL5 feature would you like to see improved or added most?
- MQL program execution environment
- How to Create an Expert Advisor or an Indicator - Algorithmic Trading, Trading Robots
- Resources
The "multi-core for backtesting" claim doesn't quite fit as an improvement, because a single pass can't be parallelized across cores due to the sequential dependency of ticks.
Multi-core is particularly useful for optimization, and that already exists. That's why I don't think that point in the survey is very accurate.
[A] single pass can't be parallelized across cores due to the sequential dependency of ticks.
Not to be obtuse but when you say ticks, do you mean only ticks?
I mean... Would it be possible to enable parallelization across cores for OHLC data without blowing up the rest of the MT5 Tester?
The real issue isn't ticks vs OHLC, but the fact that a backtest is stateful: each step depends on the previous one, including the EA's internal state, positions, and events. Because of that sequential dependency, you can't split a single pass across multiple cores without very heavy state replication and synchronization. With optimization it's different, because each run starts clean and doesn't depend on the others, so parallelism actually works there.
The "ticks" part was just an example, since most of us try to get as much realism as possible in backtesting.
The real issue isn't ticks vs OHLC, but the fact that a backtest is stateful: each step depends on the previous one, including the EA's internal state, positions, and events. Because of that sequential dependency, you can't split a single pass across multiple cores without very heavy state replication and synchronization. With optimization it's different, because each run starts clean and doesn't depend on the others, so parallelism actually works there.