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,
I have an EA that is set to check on a hundred of symbols but the problem is that it seems the more symbols I set the EA to work on, the more the processor is being eaten up. To the point that the processor has barely any % left in the task manager and it frozes the computer if I put it to work on more than 150 symbols or even less sometimes. I don't understand what's causing the processor leak.
My EA works this way:
Or working from a symbol list:
This being in an OnTimer event which trigger every 5 secondes.
I have tried to figure out what's the problem in every way you could think of .. I have a script that add 1 day history before each symbol calculation stuff but it isn't the problem as if I remove it it end up the same. I have also tried changing the 'Max bars in chart' parameter.
I think it's a matter of the HCC files and HC files in cache because if I remove the EA the processus use of the MT5 instance doesn't reduce at all and have to start it back to get it back at 5-6% of processor use.
Though it's not about memory ram as it states in the documentation, it's the processor usage being eating up ..
Any ideas what's causing this processor leak? ......
Also, is it possible to manually remove a symbol history currently in cache so I might figure out if that's the problem.