MQl Editor

 

how to integrade mql to c#

 

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

 
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#.
Reason: