-1

I'm looking for a way to automatically run a script on MatLab which outputs price data from MetaTrader 5. Can anybody provide me a link to someone who has done this before or the best way to go about doing it?

I've researched online and could not find any useful article to deal with this matter.

BWinter
  • 33
  • 7

2 Answers2

0

I've been downloading live Metatrader data, charting it with Matplotlib and developing indicators in Python. There is a user group with links to the code you need to acces the metatrader feed

There's a thread on it here: https://www.mql5.com/en/forum/306742

  • Hi Thank you very much for your reply. You don't happen to know a similar thread for MatLab specifically? – BWinter Jun 01 '19 at 14:51
0

There are several ways to make an interaction between Matlab and Metatrader. The newest way is using Matlab COM services. It can be done either directly or indirectly. The indirect way is possible through the Excel DDE server. I've done it recently using Matlab "actxserver" for the Excel application. The data is first sent from Metatrader to Excel and then read by Matlab through the COM server. Exporting data from MetaTrader to Excel through the DDE server is explained here: Export data from MT5 to Excel. Exporting data from Excel to Matlab through COM server is also explained here: Export data from Excel to Matlab. These days I'm trying to make a complete direct interaction between MT5 and Matlab. You can contact me for further information if needed.

Me So
  • 1