Working with sockets in MQL5 – library MetaTrader 5

Scheme of the interaction with MetaTrader 5 client terminal
This example will show you how to implement the realtime ticks transfer from MetaTrader 5 client terminal to external server application. The TCP protocol is used, it allows to transfer the data not only locally, but globally all over the Internet. The Winsock2 library (ws2_32.dll) is used for working with sockets. The direct calls of … Read more