Connection of MATLAB and MetaTrader 4 or 5 via ZeroMQ

MQL5 Integration C++

Specification

After some days of research, I've come to the conclusion that the probably best and fastest communication protocol between MT4/5 and MATLAB, is by ZeroMQ. After testing its development on Python by Darwinex (https://github.com/darwinex/DarwinexLabs/tree/master/tools/dwx_zeromq_connector), it seems to be even more reliable and functional that MQL5's official py wrapper itself. This is because of its asynchronous PUB/SUB messaging pipeline: the ability for MQL5 (server) to send and force market tick appending on a DataFrame (for example) without Python (client) explicitly requesting for it. On the other hand, it also has a Push/Pull channel by which Python (client) can send commands (buy/stop/limit, sell/stop/limit, request market/trade/account data, modify/close order, etc) to MQL5 (server) and expect the latter to respond if necessary.

I've got my strategies and mathematical tools installed in MATLAB. My experience in MATLAB is solid but doesn't go beyond some toolboxes, GUIs and application-specific functions. I do not have knowledge about C++ compiling, Java class usage and sockets. So...

I need a function/class library with pretty much the same capabilities and syntax of the aforementioned Pythonic one created by Darwinex. The more similar, the better. It should be preferably be able to synchronize with the MQL expert advisor created by Darwinex too. It should have a "Connector" class which links to the MetaTrader expert advisor. The "Connector" should have the following methods:

  • "Subscribe to data": Ask for MQL EA to start sending (PUBlishing) tick data from a certain quote, so that it gets automatically logged onto a timetable or array. "Unsuscribe to data" too.
  • "Get market data": Request MQL EA for a certain quote's market history data between a start date and an end date, in a defined timeframe.
  • "Trade": Send trading orders, buy/sell, market/stop/limit, being able to specify lot size, magic number, slippage, stop loss, take profit (and stop/limit price when applicable).
  • "Modify": Modify order's stop loss, take profit (and stop/limit price when applicable).
  • "Close": Close positions by ticket number, either partially or totally. Also cancel pending orders. 
  • "Get account data": Request summary of account details... At least: balance, equity, margin, margin level, leverage.
  • "Get open positions" and "Get pending orders".
  • "Disconnect": Total shutdown of communication lines when necessary.
  • Data flow speed is essential. 

The most that can be done from Matlab without depending from stuff in other languages, the best. I know this work has been done in the past with imports from Java classes (https://la.mathworks.com/matlabcentral/answers/269061-how-do-i-integrate-zeromq-library-with-matlab-i-want-my-matlab-program-to-be-a-subscriber-of-zeromq) or from MEX compilers (https://github.com/fagg/matlab-zmqhttps://github.com/smcgill3/zeromq-matlab) but I just can't make them work, and I don't think that they could have the simplicity of syntax that I need.

Similar orders
Looking to for EA that can pass PROP FIRM consistently. Looking to buy source code! (personal job) I WANT TO HAVE IT PASS ALL PROP FIRMS ESPECIALLY FTMO PLEASE DO NOT WASTE MY TIME PLEASE MESSAGE ME ONLY IF YOU HAVE PROOF IT WORKS IN PROP FIRMS I WILL SIMPLY REJECT YOU IF YOU DO NOT HAVE PROOF YOU ARE PASSING PROP FIRMS AND RECIEVING PAYOUTS
Hi there Here is a video of the logic: its based on market structure and swings using validated highs and lows based on candle closure. Just in case you would like to take a look at the code/indicator here is the link: https://youtu.be/igj0OaQoM7o?si=7nigL8OU2Nt1Zxkx Let me know if you can help
Create MT5 deriv EA 30 - 35 USD
Hello . Am in need of a developer that can Create deriv EA .I need to create a Deriv Bot with Martingale 1 min candles 30 martingale plus I can change the amount of martigale with the option of 1 min up or down . Kindly bid and let discuss about the project
"Hello, I'm looking for a developer who can connect tradingview signal to cTrader. If you have experience with API integration and are familiar with both cTrader and TradingView, please reach out. This project involves connecting the two platforms to enable detect signals and trigger cTrader . Looking forward to collaborating with someone who can help me with the project Thanks
MT4 TRADE COPIER EA 30 - 35 USD
Hello , how are you doing? Am in need of MT4 developer that can help me to develop trade copier EA for MT4 account Kindly bid for the project if it is what you can do for me thanks
Nt8 30+ USD
I trade in NT8 and would like to code an Elliott wave measurment tool, which is very easy because I have the major Script for that.We need only to add some aspects into it. If you are interested,if you can do this do well to bid on it
I need you to convert this tradingview indicator (PineScript) to MT5. The indicator need to work in any time frame and as the proposed script. It need to plot the ATR bands (as you can see in the attached image) and work as the proposed routine of ATR bands, when price close above or below the bands, the bars will change color (as you can see in the script and the image attached). Instead of sending alerts of buying
"Seeking an adept developer to help realize my custom NT8 strategy. Your expertise is integral to achieving success in this project. Are you interested in teaming up for a productive collaboration? Let's discuss the details together. Thank you!"
"Looking for a proficient developer to bring my custom NT8 strategy to life. Your expertise is pivotal for the project's success. Interested in joining forces for a fruitful collaboration? Let's delve into the specifics together. Appreciate it!"
"Seeking a skilled developer to code my custom NT8 strategy. Your expertise is crucial for this project's success. If interested, let's discuss further details and ensure a mutually beneficial collaboration. Thank you!"

Project information

Budget
50 - 100 USD
For the developer
45 - 90 USD
Deadline
to 7 day(s)