IsConnected == false

 
I am finding that when IsConnected() == false the Terminal can never recover. I am actually having to shutdown metatrader and restart it, then the connection is reset.


What the correct thing to do when the code gets this error. Should I handle this error by attempting to call init() ?

thanks in advance.  how have you all dealt with this ?
 
What is your terminal build number?
 
Indicators and EAs are started with incoming ticks. Ticks income when terminal is connected.

Use script with endless loop
 
Rosh wrote:
What is your terminal build number?

201
Reason: