Scripts are not multithreaded, therefor it used one core.
trevor88:
If you want your code to be multi-threaded then code it multi-threaded, don't hope it will be done automatically that doesn't exist.
Hello There,
I loaded a heavy Script that took more than 15 minutes to complete, and in the meantime I noticed the CPU usage by MetaTrader was only 10%
So cleary the program is not using all the available cores in my pc.
To understand better, this time I ran an expert on the strategy tester and, on the agents tab, I saw that only 1 core was working, while all the others remain "ready".
Is there a way to change the core usage?
I found nothing online, pls help me...
Thank you.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello There,
I loaded a heavy Script that took more than 15 minutes to complete, and in the meantime I noticed the CPU usage by MetaTrader was only 10%
So cleary the program is not using all the available cores in my pc.
To understand better, this time I ran an expert on the strategy tester and, on the agents tab, I saw that only 1 core was working, while all the others remain "ready".
Is there a way to change the core usage?
I found nothing online, pls help me...
Thank you.