![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
here's all the text from the debug.
First, you don't need to run the library, just do a Build.
Second, you probably did not specify in the project properties where to save the DLL. If you don't want to specify the path, you will have to copy the library from the project folder to the terminal_dir\experts\libraries folder every time.
First, you don't need to run the library, just do a Build.
Second, you probably did not specify in the project properties where to save the DLL. If you don't want to specify the path, you will have to copy the library from the project folder to the terminal_dir\experts\libraries folder every time.
It worked. Pressed F7 in Visual, found a new ExpertSample.dll, and replaced it in the terminal_dir\experts\libraries folder.
And then, all you have to do is create an interface thread and you're almost done.
"Button creation code" is not written by anyone. You need to be proficient in Wtl / Mfc.
And then, all you have to do is create an interface thread and you're almost done.
can you explain a bit more for those who don't know what Wtl / Mfc.... is
can you explain a bit more for those who don't know what Wtl / Mfc.... is
Yeah, sure. https://ru.wikipedia.org/wiki/WTL
It's simple enough, but if no one shows you...
then it's not certain that anything will work.
The easiest way is to make an EXE file with all graphics, and its communication with the Expert Advisor can be arranged through a bundle or a dll.
The dll is easy to work with but you can add Garfy interface there, for example through the dll builder in Delphi. There are several articles on the web on creating dlls with window controls. But, imho, it is simpler to create a walkthrough and link it with an expert using the mechanism of interprogram interaction.
Now can someone tell me how to write code for creating a button in a DLL?
"Button creation code" is not written by anyone. You need to be proficient in Wtl / Mfc.
And then, all you have to do is create an interface thread and you're almost done.
E ... I'm interested in how to begin to write a dll. advise where to get help, what to read, first I would like to write a simple advisor with dll-ki connection, which will create a window with two buttons BAY and sell. ie trade in one click. thank you for any help ...
In short, without the hassle of one script BUY, the other SELL, all the parameters for opening a lot in a special window in a separate insider (SL NP Lot) 2 times click on the script - and regardless of the tick it works. you can even have one script, and the insider check box to trade operation (and pending, and to close, too)
Z.U. I built such a complex in my spare time