Connectivity

Gary Niemand:

Hi,

How can I tell in my EA if I am still connected to the trade server?

Check the boolean IsConnected()
Stuart Browne:
Check the boolean IsConnected()

Thanx for the prompt response!

Exactly what I was looking for.

Gary Niemand:

Thanx for the prompt response!

Exactly what I was looking for.

No worries Garry ;-)

Sorry, one more question... I have put that in my EA(in the ontick function), and it works fine when its connected.

When there is no connection then I guess the onTick wont be receiving any ticks... :)

Where would be the best place to have a check like that??

OnTimer??

Gary Niemand:

OnTimer??

Bingo :)
Cool Bananas!