Connection of MATLAB and MetaTrader 4 or 5 via ZeroMQ

MQL5 Integration C++

Spezifikation

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.

Ähnliche Aufträge
Hello how are you doing? Can you help me with a projects connecting trend lines to pivot points on a wave, for trendlines, color detention, and dynamic visualization? I have a project I’d like you to look at. I need a pine script code to capture the different Trendline colors that cross both above and below horizontal lines on the wave indicator
Hi, I want a custom indicator to be coded based on 2 default Indicators. Add alerts for signals and news filter alerts to be sent through metaquotes id, email and phone. Popup alerts for pc/laptop as well. I would like it to have a display panel that logs the trade history and a buy/sell button with risk % based on balance and equity, fixed lots and some other features
Hello I am looking for a developer to help me do modification on my custom ninjatrader 8 strategy and also backtest it in other to work perfectly your expertise is highly needed for this project Kindly reach out to me and let get started on the project Thanks
Hi guys I eould like to know if it‘s possible to draw highs and lows with a horizontal line in the line chart? It should be an indicator with buffers that I can integrate it into an EA. If it‘s possible please explain how you would detect those highs and lows. Thanks in advance
I need an expert in the development of a fully automated trading robot For MetaTrader. The Trading Robot must be "Web based" so it can be accessed or used through a website, You can view a screenshot here; https://www.awesomescreenshot.com/image/48030918?key=79b0ff91455d862746e9b649341f4cdb Why do i need? Simple Enough, This is what i need from my Trading Robot EA. The Trading Robot can only be accessed through a
Metatrader 30+ USD
I would like to calculate the deviations between the companies listed below with Meta Trader. Would you be interested? BETWEEN 01.00 AT NIGHT AND 00.00 OF THE NEXT DAY (FOR HOURS WHEN THE GOLD MARKET IS OPEN) *Instant comparison of prices of the same parities of different companies *Determination of deviation rates in downward or upward movements (average prices, prices below and above the average) *Detection of
Hello I'm in possesion of a straightforward MT% Expert AdvisorThat I want to convert into DXTrade. Are you able to do this conversion? Kindly let me know if the fil atached will be enough
Hello, I need a quote for developing a bot for my renko based trading system on ctrader platform and based on the attached specification your expertise is highly needed for this project Thanks
Hello, please let me know if any of these strategies can be turned into a bot (automation) and run 24/7 on a vps. Also note that they might not use the latest versions of indicators, if this matters, then please check for the latest versions. Thank you! Dan https://1drv.ms/f/s!Alr17W7ddJLYgYgiFKZYluOfokbfQg
Hello! Thanks for reading. I need an EA with an inbuilt/already made strategy that I can use for prop firms. The drawdown should be very low of only 2-4% max and another criteria is that no one else other than you are currently using it and if you happen to use it you must tell me which prop firm you are using it on to avoid us using the same EA on the same prop firm to get the account denied. As you know or may

Projektdetails

Budget
50 - 100 USD
Für die Entwickler
45 - 90 USD
Ausführungsfristen
bis 7 Tag(e)