To reply to your topic question : no you can't.
Anyway, you have to search others ways, if you have such issue, there is probably at least 1 problem somewhere. You have to find and resolve this problem. How much time take 1 pass ? Is this problem arise when running optimization on you computer or in the Cloud, or both ? Is there any output in the logs (please post it).
There is a contradiction between "the final version is now too heavy" and "i have made my code very simple".
Many thanks "angevoyageur" for your reply ..
How much time take 1 pass ?
from 5 to 7 minutes from 2000 to end of 2012
Is this problem arise when running optimization on you computer or in the Cloud, or both ? Is there any output in the logs (please post it).
in using cloud yes, 2013.10.02 14:19:09 MQL5 Cloud Europe 2 genetic pass (0, 337) tested with error "no memory in OnTick function (cannot get 5088 Kb, used 0 Mb)" in 16 ms (PR 161)
in any other case no , there is no error messages
There is a contradiction between "the final version is now too heavy" and "i have made my code very simple".
what i mean by Final Version is after all the requirements of the problem are all added(all the needed features are present)
This error "no memory in OnTick function" has already been reported, but unfortunately not the solution (as far as I know). Can you post your code, eventually by pm, so I can investigate ?
Since you seem to have coded everything yourself with a very heavy result and no indicators, you might want to go for OPENCL
How to Install and Use OpenCL for Calculations
It's always a nuisance to recode, but (apart from the reported issue) I think it might be a more permanent solution
it seems like i need to recheck again my code with you .. but, as i told you, i'm waiting permission to share it
Since you seem to have coded everything yourself with a very heavy result and no indicators, you might want to go for OPENCL
How to Install and Use OpenCL for Calculations
It's always a nuisance to recode, but (apart from the reported issue) I think it might be a more permanent solution
there is some thing i don't know if it can be possible or not in metatrader.. but i need it badly
i know that each single run can be processed by single core .. i need this single run to be processed by the 8 processors (or more that i have) in both cases simple test and optimization process. and also if possible in cloud issues .. i think this will be faster in my case ..
the problem is because I've been working on an expert for along time .. and the final version is now too heavy .. takes long time in single test from 2000 to end of 2012
this is not actually my problem .. the problem appears in optimization process (from 2008 to end of 2012) if i have say 4000 different test case .. only 100 (for example) that appear and then looks like it can't handle any more test cases .. still running but with zero progress
Note: i have made my code very simple .. the expert doesn't use any indicator, no arrays are global .. the local arrays in functions are of size 4 max
so what do you think?
![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
i know that each single run can be processed by single core .. i need this single run to be processed by the 8 processors (or more that i have) in both cases simple test and optimization process. and also if possible in cloud issues .. i think this will be faster in my case ..
the problem is because I've been working on an expert for along time .. and the final version is now too heavy .. takes long time in single test from 2000 to end of 2012
this is not actually my problem .. the problem appears in optimization process (from 2008 to end of 2012) if i have say 4000 different test case .. only 100 (for example) that appear and then looks like it can't handle any more test cases .. still running but with zero progress
Note: i have made my code very simple .. the expert doesn't use any indicator, no arrays are global .. the local arrays in functions are of size 4 max
so what do you think?