Search code examples
javascriptnode.jsmetatrader4metatrader5

Building Electron MEAN stack APP which gets data from local MetaTrader 4 Terminal


I'm building desktop MEAN ( MongoDB Express Angular NodeJS ) stack app, but I need to have an access to real time ( update on detected change ) currency exchange rates. In Excel, I can get a rate from MT4 easily with just 1 line code inside a cell, if MT4.exe is runing.

What I want is to somehow access the data with javascript, for example the EUR/USD rate.

Is it possible or does it need any 3rd party libraries?


Solution

  • Take a look at:

    From the docs: "This demonstrates how you can communicate between a Node.js server and a MT4 client application quickly. There are no delays and the connection/calculations are done on the same tick."