Still my question is how can we exchange data from the dll to metatrader. If for example a function in the dll should return several values, how is this done?
Also how can my dll call functions in metatreader? For example my dll decides that an order shall be closed, how can it call the metatreader function "orderClose"? Does it exist an API for metatrader?
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi!
A very good description and video for how to write a dll for metatrader is described here:
http://www.mistigrifx.com/tools/writing-basic-mt4-dll
Still my question is how can we exchange data from the dll to metatrader. If for example a function in the dll should return several values, how is this done?
Also how can my dll call functions in metatreader? For example my dll decides that an order shall be closed, how can it call the metatreader function "orderClose"? Does it exist an API for metatrader?