Discussing the article: "MetaTrader tick info access from MetaTrader services to python application using sockets"
MetaQuotes:
Interesting work. Is it possible to create in this way a risk management server for a network of terminals listening to it?
Published article Transferring tick data from MetaTrader to Python via sockets using MQL5 services:
Author: lazymesh
Good and useful article, congratulations.
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
Check out the new article: MetaTrader tick info access from MetaTrader services to python application using sockets.
This article focuses on utilizing MetaTrader’s 5 services program to send tick info such as bid, ask and time to a python server and the python server will broadcast the info to all the client sockets which are connected to the server. This is more clear in the following figure.
As you can see from the figure, the MetaTrader service program is connected to a python server listening on port 9070. All the tick data of the charts that are open in MetaTrader 5 terminal, will be sent to the python server at port 9070. The Python server then analyzes the data received from MetaTrader 5, does the necessary analysis on the data and distributes or better say broadcasts the tick info to the connected clients. The clients can then use the received data to perform necessary tasks or apply algorithms to achieve the desired result, which can be transmitted back to the MetaTrader services program for further processing.
Author: lazymesh