Download MetaTrader 5

MQl Editor

To add comments, please log in or register
Articles can help you to solidify your knowledge. Come and read them!
saqib Abbasi
44
saqib Abbasi 2014.12.24 12:52 

how to integrade mql to c#

 

if i write program in mql editor,the how to integrate  into C#

Alain Verleyen
Moderator
30723
Alain Verleyen 2014.12.24 14:09  
saqib-abbasi:

how to integrade mql to c#

 

if i write program in mql editor,the how to integrate  into C#

You can't integrate mql into C#. What you can do is integrate a DLL written in C# in a mql program.

https://www.mql5.com/en/articles/249

Exposing C# code to MQL5 using unmanaged exports
Exposing C# code to MQL5 using unmanaged exports
  • 2011.02.09
  • investeo
  • www.mql5.com
In this article I presented different methods of interaction between MQL5 code and managed C# code. I also provided several examples on how to marshal MQL5 structures against C# and how to invoke exported DLL functions in MQL5 scripts. I believe that the provided examples may serve as a basis for future research in writing DLLs in managed code. This article also open doors for MetaTrader to use many libraries that are already implemented in C#.
To add comments, please log in or register