Download MetaTrader 5
To add comments, please log in or register
Launch agents on an idle PC. It is profitable!
parham.trader
193
parham.trader 2014.09.11 06:17 

Hi guys,

Hope you all are doing great,

I want to know whether there is a way to stop a custom indicator from working when the internet connection is offline or not ?

thanking in advance;

Parham 

SYED NAUFAL GADDAFI
1401
SYED NAUFAL GADDAFI 2014.09.11 07:20  
It will stop working when there is no internet connection.
parham.trader
193
parham.trader 2014.09.12 15:44  
deysmacro:
It will stop working when there is no internet connection.

I've written a custom indicator that draw line by changing inputs and even when the internet connection is disconnected it continue its working and does not stop.
SYED NAUFAL GADDAFI
1401
SYED NAUFAL GADDAFI 2014.09.12 18:33  

Never try

IsConnected() 

?

parham.trader
193
parham.trader 2014.09.13 08:10  

It seems to solve my problem!

thank you so much 

/
To add comments, please log in or register