Call Metatrader MQL4/MQL5 function from imported DLL

Michal Z m u d a picture Michal Z m u d a · Dec 15, 2012 · Viewed 8.1k times · Source

I would like to call MQL4 or MQL5 function from my own imported DLL in Metatrader.

Is it possible?

Answer

Master.Aurora picture Master.Aurora · Dec 19, 2012

Forest,

As far as i have experienced during the past 2 years working with MetaTrader, there is no real way to call MQL functions from an external DLL. But there are some custom built APIs that closely resemble to what you want to achieve:

MT4 API

MetaTrader™ Java / .Net API

These APIs do somewhat allow you to use MQL functionality out-of-the-box