Probably you need something like this client-server socket binding between MQL5 and Python. Then you can adapt your EA code to send orders via the sockets to Python and then transfer the trades further via your broker's Python API.

MetaTrader 5 and Python integration: receiving and sending data
- www.mql5.com
Comprehensive data processing requires extensive tools and is often beyond the sandbox of one single application. Specialized programming languages are used for processing and analyzing data, statistics and machine learning. One of the leading programming languages for data processing is Python. The article provides a description of how to connect MetaTrader 5 and Python using sockets, as well as how to receive quotes via the terminal API.
EgemenAlpay: They do not support MetaTrader inherrently but they provide a pretty good API gateway
Too bad, we can't help you. There is no published MTx API. The terminal can't read their charts.

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
Hi,
we are using MT4, and want to work with a new broker. They do not support MetaTrader inherrently but they provide a pretty good API gateway on Pyton and have a good client. We want to run our EA's on that broker. Can we use MT4 or MT5 as a client and connect MT client to that broker? May be wit a custom API? Or are there already exiting client software that connect MT4 or 5 to API's of brokers?
Thank you for your comments.