Why does this initiation fail?

 

When my same EA ran EventSetMillisecondTimer(50) within OnInit() on 4 charts, it returns successful on 1 chart  only, wrong code is " Internal error"(translated to the description) on all other 3 charts.

Why did it happen? How to prevent or fix the issue? Thanks.  

 
  1. How should us users know why an internal error happens? It's internal to the terminal.
  2. How should us users be able to fix the issue? It's internal to the terminal and we don't have the code.
  3. This is a user's forum not Metaquotes.
 
jollydragon:

 

When my same EA ran EventSetMillisecondTimer(50) within OnInit() on 4 charts, it returns successful on 1 chart  only, wrong code is " Internal error"(translated to the description) on all other 3 charts.

Why did it happen? How to prevent or fix the issue? Thanks.  

 

WHRoeder:
  1. How should us users know why an internal error happens? It's internal to the terminal.
  2. How should us users be able to fix the issue? It's internal to the terminal and we don't have the code.
  3. This is a user's forum not Metaquotes.

 

I agree, more likely it is a bug. As a workaround, for the time-being, you may make some copies of the EA with different names and tell us what happens. 

 

best regards 

Reason: