
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
Hey
I was wondering whether you could help me a bit with the Mt5 and Matlab interaction. I've done the tutorials you've suggested. The only problem is that the script is successfully loaded and successfully removed in the logs, but does not display any of the stuff that I want to print. What am i doing wrong?
Thanks so much for you help
I just went through this tutorial but using the new VC 14 (2015) ... first I got the messsage in the journal : "cannot load dll" without a reason, but then I figured out, that the solution adjustments built a win32 dll... in the solution explorer, right clight on the solution ,klick on configuratuion manager.
there the platform can changed to x64. after rebuild the new generated dll could be loaded and I was able to call my demo function..
yay.. thanks for this article !
Filip
Is it possible to make a video of it how you build everything, because i think i make something wrong. I always get an error, and i am not sure if i am doing everything right. thanks in advance!
What's the problem? ...you definitely need to create a 64 bit DLL for MT5.
There are no problems with the current version Visual Studio 15.
Unfortunately, the articles are often just "translated" from very old articles. ....Who still uses VC 2005/8 ? :-)
nice code ,very useful!
Brother!
Hi,
I've tried this sample, but I had some problem.
I've used VS2017 and VS2017 and I got error in both.
"Cannot load '.........\MQL5DLLSample.dll' [4250]"
I think the 4250 is a Windows error code:
"ERROR_NOT_APPCONTAINER4250 (0x109A)This operation is only valid in the context of an app container."
So I set in the linker option of the project (command line): /APPCONTAINER:NO
But nothing has changed.
Any idea?
Thanks
Nice article.
But one question : How can I call a MQ5 function from DLL ?
How can I call a MQ5 function from DLL ? Besides, I created a thread via CreateThread and run a window in DLL , it runs ok but when unload MQ5, dll window can be closed but MT4 crush...
What should I do next ?
Thanks in advance.
Hi
I had this bug
I solved it changing this to 64 bits
Hi,
Thanks for your great job!
As I am a beginner in this field, I will be very happy if you tell me does this DLL help me or not?
What I wanna do is, exporting data (online) from MT5 to my C++ app, do some analysis on it, then send the result as buy/sell commands to MT5 from my app. May you guide me how can I reach to this goal?