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
I'm consistently receiving error 5273 when invoking SocketRead MQL5 API.
I connect to the server from an MT terminal and would like to check periodically if some data have arrived from the server. Here is my code:
It works just fine when I connect to the very same server and send/receive data if I replace MT5 built-in socket with winsocket. However using winsocket will not allow me to publish the EA on market which is not an option for me.
Sending data works just fine and server receives the data correctly. I also checked that the server sends packets to the connected MT terminal correctly.
Any ideas?