Download MetaTrader 5

EA stops to run.

To add comments, please log in or register
Frenchytrader
408
Frenchytrader  
Hi,


I have noticed that I have an old EA that sometimes stops to run.

I mean I have to click compile button again so EA refreshes and restarts to run.

After days it will kinda freeze again for sure.



What can I do?



Should I replace void_Start() by void OnTick() ???



Please help.
Keith Watford
Moderator
10651
Keith Watford  
If your EA stops then it may have a critical error. Look in the Experts log and you may find a clue where you need to fix the code.
Carl Schreiber
7295
Carl Schreiber  
Hot candidates for such things are errors of array out of range or zero devide!

As Keith said the Expert log will tell you!
Frenchytrader
408
Frenchytrader  
When EA freezes again, I will check the log.



thx
To add comments, please log in or register