My brokers test server went down this morning, and I didn't notice until much later. How would I create a function to notify me when the server is down? The EA loop is only triggered when there is an incoming tick, but there are no ticks when the server is down. How do other people handle this situation?
- Questions from Beginners MQL5 MT5 MetaTrader 5
- IsConnected()
- "no connection" even my network is strong.
use a scirpt https://www.mql5.com/ru/code/9101
Is it possible to have multiple scripts running simultaneously? - On the same chart, no
Can EAs check if a script is running - Yes
and turn on/off scripts? - No
Thanks!, You're welcome ;)
the code is still MQL
zzuegg:
[...]
and turn on/off scripts? - No
Y not ? API !
maybe use the IsConnected() function? I hope it works.
https://docs.mql4.com/check/IsConnected
Regards,
NIERO
vgoklani:
"Set a GlobalVariable in the init() of the script.
Check the global inside the EA"
Thanks, I should have thought of that myself! :)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register