The MetaTrader 4 Strategy Tester only runs in a single core. I have complained about this a long time ago yet Metaquotes still have not cared.
I now avoid MetaTrader for backtesting & optimization and use JForex instead in order to make full utilization of my i7-870 CPU with 8 virtual cores.
ty for these post im also rly pissed of that, running my pc 5 days for 1 year backtest optimation ^^^
just usage one cpu with 99% of 5 cpus ... fucking 20 % cpu usage pls fix that shit
My guess - it might be wrong - your EA is badly coded?
What about:
OnTick(){
...
if (!IsOptimization()) { .../* skipp the needless (visual?) stuff */ }
..
}
?
ty for these post im also rly pissed of that, running my pc 5 days for 1 year backtest optimation ^^^
just usage one cpu with 99% of 5 cpus ... fucking 20 % cpu usage pls fix that shit
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi, I see a potential for getting higher optimizing speed...Running MT4 optimizer I've never seen more than 14% CPU usage.
Inside the box is XP running on a i7-950 @ 3G, so this is a pretty powerful PC, 3G RAM. I see almost no HDD activity so RAM and pagefile is probably OK.
Have tried to use a single core, or all 8 in paralell, also adjusted affinity... still on 13-14%
For other programs I may see like 90% CPUusage, so I doubt there are any I/O bottlenecks.
It might be possible to get a 6-fold increase in MT4 CPU usage ( to 85%), and a correspondingly faster optimization... Any ideas ?