rewrite code
SELVAN: Memory used by metrader is going on increasing and cpu usage is also going on and on What is the Reason behind it and How to solve it, |
|
Your bar limit is set to unlimited:
You need to set it to 10000 or anything else. Even can select from the list.
It will work.
jaffer wilson: Your bar limit is set to unlimited:
That doesn't fix anything, it will just hide the problem.
Do you really think the OP is still waiting after three (3) years? Don't resurrect old threads without a very good reason.
Carl Schreiber:
If your EA (or script) calls again and again its indicators (iCustom(), iMa(), ...) with different parameter setups. E.g. 20 different setups of one indicator will start this indicator 20 times. And you can't free or remove this indicator or its memory unless the EA is removed.
If your EA (or script) calls again and again its indicators (iCustom(), iMa(), ...) with different parameter setups. E.g. 20 different setups of one indicator will start this indicator 20 times. And you can't free or remove this indicator or its memory unless the EA is removed.
dear Sir,
I use an indicator with different setup in my EA and I call it with iCustom function too much and this problem I have,
what's solution?
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Dear sir,
1) I had created an expert advisor for me, when i run the expert advisors, Memory used by metrader is going on increasing and cpu usage is also going on and on
What is the Reason behind it and How to solve it,
Expecting your replay ,
Thank you sir