I would need the help of some experienced coder
It happens sometimes that the MT4 of my broker runs, but their price datafeed gets blocked, sometimes for some seconds, sometimes longer up to 2 or 3 minutes, causing problems to my EA, working on very shorts trades in terms of a couple of seconds each.
I guess that it could be a problem in their MT4 / Bridge / Liquidity Provider connection.
I know that the easiest solution to avoid the problem would be to change the Broker, but I would like to ask if anybody knows a way to code any kind of "signal" to my EA when this happens, allowing the EA to suspend any activity until the flow starts regularly again.
Many thanks for your attention and for any possible suggestion.
It happens sometimes that the MT4 of my broker runs, but their price datafeed gets blocked, sometimes for some seconds, sometimes longer up to 2 or 3 minutes, causing problems to my EA, working on very shorts trades in terms of a couple of seconds each.
I guess that it could be a problem in their MT4 / Bridge / Liquidity Provider connection.
I know that the easiest solution to avoid the problem would be to change the Broker, but I would like to ask if anybody knows a way to code any kind of "signal" to my EA when this happens, allowing the EA to suspend any activity until the flow starts regularly again.
Many thanks for your attention and for any possible suggestion.