I am facing the problem of settings file, because in my robot the number of control parameters is hundreds and the standard interface does not suit me.
I saw the first solution as a separate configurator programme that works with the settings file. Your article gives the second solution, but unfortunately your method involves importing a dll, which makes it impossible to work on a server where importing dlls is currently prohibited. The problem can be solved by creating two versions: desktop and server using conditional compilation, but this solution is similar to using a separate programme.
It would be great to solve the issue by means of MQL5 to somehow bypass the import ban, at least at the initialisation stage.
It would be great to solve the issue by means of MQL5 to somehow bypass the import ban, at least at the initialisation stage.
This is a diametrically different topic. Therefore, this question is not for me. There are many articles about creating graph interfaces by MQL. Read them.
Andrey Kotrin:
I saw the first solution as a separate configurator programme that works with the settings file. Your article gives the second solution, but, unfortunately, your method involves importing dll, which makes it impossible to work on a server where importing dll is currently prohibited.
Well, the problem is not the dlls, but their prohibition.
Hello, I'm from the English forum, Great article, thank you very much, Could you please tell me how to add these shapes to a diagram using a diagram descriptor (maybe using WinAPI SetParent ()), I'm having problems with this Thanks again.
[I used google translator to translate, sorry if there are any mistakes].
pipspider: how to do it for MT4, especially for event handling system?
MT4 can only connect native dlls, you can't connect libraries written in C# to MT4, or write C++ wrapper to call C# libraries or here is an article with examples that work under MT4 https://www.mql5.com/en/articles/249.
PS: in theory for these purposes there is C++/CLI - I tried to understand it, but the syntax is very specific and there are not many materials in the network, I found it easier to make calls to C# libraries from MT4 using the materials of the article.
Долгое время я искал простое решение, которое позволило бы мне использовать в MQL5 управляемые (managed) DLL, написанные на C#. После чтения множества статей, когда я уже был готов реализовать обертку (wrapper) для управляемой DLL на С++ , я наткнулся на блестящее решение, сэкономившее мне много часов работы. Предлагаемое решение является...
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.
Please insert the code correctly:
Very interesting article! Thank you!
I am facing the problem of settings file, because in my robot the number of control parameters is hundreds and the standard interface does not suit me.
I saw the first solution as a separate configurator programme that works with the settings file. Your article gives the second solution, but unfortunately your method involves importing a dll, which makes it impossible to work on a server where importing dlls is currently prohibited. The problem can be solved by creating two versions: desktop and server using conditional compilation, but this solution is similar to using a separate programme.
It would be great to solve the issue by means of MQL5 to somehow bypass the import ban, at least at the initialisation stage.
It would be great to solve the issue by means of MQL5 to somehow bypass the import ban, at least at the initialisation stage.
This is a diametrically different topic. Therefore, this question is not for me. There are many articles about creating graph interfaces by MQL. Read them.
I saw the first solution as a separate configurator programme that works with the settings file. Your article gives the second solution, but, unfortunately, your method involves importing dll, which makes it impossible to work on a server where importing dll is currently prohibited.
Well, the problem is not the dlls, but their prohibition.
Great article, thank you very much,
Could you please tell me how to add these shapes to a diagram using a diagram descriptor (maybe using WinAPI SetParent ()), I'm having problems with this
Thanks again.
Hi, I'm from Brazil.
I'm trying to do this for a bit and I'm not sure what to do.
Form1 f1 = new Form1(); f1.ShowDialog();With this code my mql project stops until I close Form1, how can I keep mql5 running and just handle some events?
Hi, I'm from Brazil.
I'm trying to do this for a bit and I'm not sure what to do.
With this code my mql project stops until I close Form1, how can I keep mql5 running and just handle some events?
https://www.mql5.com/ru/forum/303283#comment_10600035
how to do it for MT4, especially for event handling system?
MT4 can only connect native dlls, you can't connect libraries written in C# to MT4, or write C++ wrapper to call C# libraries or here is an article with examples that work under MT4 https://www.mql5.com/en/articles/249.
PS: in theory for these purposes there is C++/CLI - I tried to understand it, but the syntax is very specific and there are not many materials in the network, I found it easier to make calls to C# libraries from MT4 using the materials of the article.
Thanks, Vasilliy
NOTE: In order to to get TradePanel.dll, at Visual Studio's Property Window, you need to right click at TradePanel.sln > Build.
Hi,
Can this be used with WPF application as well or just window form ?
Thanks