using only 1 core during portfoliobacktest

Questions about MultiCharts and user contributed studies.
User avatar
siscop
Posts: 197
Joined: 09 Jan 2011
Has thanked: 34 times
Been thanked: 29 times

using only 1 core during portfoliobacktest

Postby siscop » 30 Jan 2013

During optimizing in the Portfoliobacktester it often just uses only 1 core instead of all 4.
I didn’t change the priority or anything else on the task manager. It seem like that it sometimes uses 4 and sometimes just 1 – nothing in between that.
Is this a known bug/feature?
Attachments
1core.jpg
(176.87 KiB) Downloaded 341 times

Dru
Posts: 107
Joined: 28 Aug 2007
Has thanked: 4 times
Been thanked: 171 times

Re: using only 1 core during portfoliobacktest

Postby Dru » 30 Jan 2013

During optimizing in the Portfoliobacktester it often just uses only 1 core instead of all 4.
I didn’t change the priority or anything else on the task manager. It seem like that it sometimes uses 4 and sometimes just 1 – nothing in between that.
Is this a known bug/feature?
1) If your strategy uses definedllfunc/external/external method then I can tell with 90% probability - this is the reason of the problem. To avoid it check out ThreadSafe

2) Check the registry: If you have the key HKEY_CURRENT_USER\Software\TS Support\Power Language\StudyRunner\NumberOfThreadsOnOptimization then delete it or set it's value to zero (0)


Return to “MultiCharts”