Download MetaTrader 5
To add comments, please log in or register
Sign up for MQL5.community to leave your comments!
Selvan
53
Selvan 2016.03.13 20:44 

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

Vasyl Nosal
18346
Vasyl Nosal 2016.03.13 21:17  
rewrite code
Carl Schreiber
6122
Carl Schreiber 2016.03.13 22:05  
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.
whroeder1
13933
whroeder1 2016.03.14 12:16  
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,

  1. Your indicator is broken. Fix it.
  2. There are no mind readers here, we can't see your broken code.
/
To add comments, please log in or register