Is it possible to running WebResquest() on two URLs? at same time?How?
I doubt you can do anything at the same time (in MQL). Moreover, the built in webrequest is synchronous, so it stops the script until it receives a response or time out. If you need to trigger two concurrent requests, you have to use wininet with asynchronous request handling. It is not quite straightforward, but it works (and it may be used in indicators without a risk of blocking the thread).
I doubt you can do anything at the same time (in MQL). Moreover, the built in webrequest is synchronous, so it stops the script until it receives a response or time out. If you need to trigger two concurrent requests, you have to use wininet with asynchronous request handling. It is not quite straightforward, but it works (and it may be used in indicators without a risk of blocking the thread).
Is it possible to running WebResquest() on two URLs? at same time?How?
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Is it possible to running WebResquest() on two URLs? at same time?How?