
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
I've been shyly suggesting for a month that we should make a wiki-tutorial on mql5, filled by the community. This would solve the problems with the mega-tutorial. Authors could even be rewarded with credits for especially visited articles.
The wiki engine is free and available.
// If Metaquotes won't do it, someone else could do it on an external site. I, for one, am considering it.
For external sites, there's a problem - we have copyright on our material. And when creating an outside wiki, almost 100% of the text will be copypaste of our materials.
One could argue that public wikis are a utopia. The idea of public wikis has been buried in practice for a long time. Look how much effort we put into the development of our communities and documentation. It's a lot of money and daily work.
The solution to the issue lies in the area of managed content creation with mandatory delivery to each user's terminal. This increases the efficiency of mass familiarisation from a negligible 0.00x% to a very realistic 3-5%.
We increase the volume and connectivity of MQL5 materials on a daily basis. The documentation project(MQL5 language, help, multi-language) takes a very large share in our work.
For external sites there is a problem - we have copyright on our materials. And when creating an external wiki, almost 100% of the text will be copypasted from our materials.
It can be argued that public wikis are a utopia. The idea of public wikis has been buried in practice for a long time. Look how much effort we put into the development of our communities and documentation. It's a lot of money and daily work.
The solution to the issue lies in the area of managed content creation with mandatory delivery to each user's terminal. This increases the efficiency of mass familiarisation from a negligible 0.00x% to a very realistic 3-5%.
We increase the volume and connectivity of MQL5 materials on a daily basis. The documentation project(MQL5 language, help, multi-language) takes a very large share in our work.
What if we revive contests under the tutorial. After all, newcomers are asking for a textbook.
Make a multi-stage contest, participants register, submit a textbook plan, 50% are eliminated, the rest are paid $20 each, go to the second stage, etc.
Until the end of the marathon will reach the end of the few but with the best works. Set real terms of creation with half a year, break it into stages and everything will work out.
That's a very interesting and useful article on general C++ and .NET interop.
The most simple strategy to implement is "2.4. C++/Cli wrapper class", because you can use .NET API in C++/cli without any hassle, so the only glue code is a small and straightforward class that holds "gcroot".
This approach was chosen as a ground for implementation of http://www.nquotes.net - a library which allows MQL programming in C#.
Although the first version only supports MQL4, but will definitely be ported to MQL5 in future versions.
Great article, very, very handy. But...
I have a slight bug with Visual Studio. If I create a new project using the template and build it, VS has no problem. I can then save the new project (including built dll) to disk, in a solution folder. The dll runs fine. However, if I go back into the saved project in VS, it complains about project "RGiescke.DllExport.targets" not being found or being on disk, although the file is there.
I guess its a problem with the project file.....
Very good tutorial, I like this.
big Thanks.
Hi Investeo,
Thanks for this article it was very useful, though seems that i faced to some issue trying to use template from RGiesecke.
When i created and built a DLL i use DLL Export Viewer to check names of the exported functions to be able to find and call them via GetProcAddress. Unfortunately DLL itself is loading fine within LoadLibrary function but GetProcAddress returns error 127 - Function not found. At the same time DLL Export Viewer shows that neither of my functions were exported ...
Could you please suggest what can be wrong with my code?
And then in Win 32 Console application i am doing the following :
Thanks, Art
By the way, MetaTrader 5 has been able to natively import functions from DLLs written in .NET for several builds now
We have specially added such support and now there is no need to use workarounds.
I can't find information how to make .Net function impromptu. Who can, please share a link or a simple example.
Switch on "Show all file types" in the editor navigator, grab your DLL with a mouse and throw it into the MQL5 window of the programme.
You will most likely be surprised by the result.
Switch on "Show all file types" in the editor navigator, grab your DLL with a mouse and throw it into the MQL5 window of the programme.
You will probably be surprised by the result.
cool.
If I could insert all functions from the DLL at once.
Switch on "Show all file types" in the editor navigator, grab your DLL with a mouse and throw it into the MQL5 window of the programme.
You will probably be surprised by the result.
P.S.
Win8 Enterprise 64
MetaEditor build 842
.Net lib has one function: