
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
And I'm running terribly slow.
look at the code of the dll-adapter. the network is read and reinitialised each time it is accessed! a lot of room for optimisations
Yes. And some optimisations can be done by means of the terminal and MQL, if the trading strategy allows it.
For example, for the strategy described in the article, it does not matter at all whether to call the network on every tick or only at the beginning of a bar. Because in its case, the network inputs (and therefore the price forecast) change only when the bar changes.
This strategy can be run in the tester in the "Open prices only" mode. You can also build a filter directly into the Expert Advisor so that the network is used only when a new bar appears.
Yes. And some optimisation can be done by means of the terminal and MQL, if the trading strategy allows it.
For example, the strategy described in the article, it does not matter whether the network is called on every tick, or only at the beginning of the bar. Because in her case the mains input (and hence the price forecast) changed only by changing the bar.
The tester can be a strategy to drive in the "Only the opening price." And, you can embed directly in the EA filter to the network is used only when a new bar.
But why its so slow that I can't finish a one month testing ! any Ideas.
Thanks for the cool article! Everything is described well and understandable.
But I have a question: will the adapter file for DDL neural network and MT EA communication work on MetaTrader 4?
Thank you to the author!
Alexey
Thanks for the cool article! Everything is described well and understandable.
But I have a question: will the adapter file for DDL neural network and MT EA communication work on MetaTrader 4?
Thank you to the author!
Thank you.
For MT4 the adapter should probably be simplified a bit: in MT4, I think, strings in DLL are not transmitted in unicode, but ordinary ones, so you don't need to recode them inside DLL. Everything else should work.
Thanks.
For MT4 the adapter should probably be simplified a bit: in MT4, I think, strings in DLL are not passed in unicode, but ordinary ones, so you don't need to recode them inside DLL. Everything else should work.
Could you tell me what the problem might be?
I can't create dll. It says: .dll creation failed. I have read in the same programme what can be the reasons of failure. I understood only that visual c++ 6 may be incorrectly configured. Has anyone encountered such a problem with NeuroSolutions? What can I try to change first of all? Should Visual C++ 6 be installed in the Standard installation variant? Do I need to configure it in some way? I have a licensed win 7 64 bit. visual C++ 6 is installed as standard, I tried it, it starts.
When it comes to custom solution wizard, it asks whether to convert the active project or the saved one into a dll. i choose the active one. it offers to save it first, i save it to a separate folder, then i try to create a dll, but it fails. should i save the dll to the folder of the saved project or to any folder?
Regards,
Alexey
alexeymosc:
Can't create dll. It says: .dll creation failed. I have read in the same programme what can be the reasons for failure. all I understood is that visual c++ 6 may be incorrectly configured. Has anyone encountered such a problem with NeuroSolutions? What can I try to change first of all? Should Visual C++ 6 be installed in the Standard installation variant? Do I have a licensed win 7 64 bit. Visual C++ 6 is installed as standard, I tried it, it starts.
I generated DLL on win XP 32 bit. Everything worked there without any settings.
You can also try VC++ of some more recent version. They will surely be better friends with modern operating systems (if this is the problem).
And if you know VC++, I recommend you to look into the build.bat file (it appears in the folder where the DLL should appear). It contains everything you need for "manual" compilation, with the possibility to see all the errors that occur and experiment with the settings.
By the way, using the information from build.bat, you can even try to manually compile the DLL using VC++ Express versions (they are not officially supported by NeuroSolutions).
alexeymosc:
When it comes to custom solution wizard, it asks whether to convert to dll the active project or the saved one. i choose the active one. it asks me to save it first, i save it to a separate folder, then i try to create the dll, but it fails. should i save the dll to the folder of the saved project or to any folder?The article shows that a separate folder is created for DLLs. I also successfully generated DLL in the folder with the project. I.e. you can save it to any folder.
I generated the DLL on win XP 32 bit. Everything worked there without any settings.
You can also try VC++ of some more recent version. They will surely be better friends with modern operating systems (if this is the problem).
And if you know VC++, I recommend you to look into the build.bat file (it appears in the folder where the DLL should appear). It contains everything you need for "manual" compilation, with the possibility to see all the errors that occur and experiment with the settings.
By the way, using information from build.bat, you can even try to compile DLL manually using VC++ Express versions (they are not officially supported by NeuroSolutions).
The article shows that a separate folder is created for the DLL. I also successfully generated DLL in the project folder. I.e. it can be in any folder.
Thank you!
I will try a more recent version of VC++ (by the way, when I installed version 6, I got a window that this version has known compatibility problems with vin 7).
Also, I remembered that I didn't restart my computer after installing VC. Maybe, trivially, that was the reason.
I'll do some magic :)
Thanks a lot for your help! Overall, the idea of the article is very cool. If you want to make several networks for different tools and update them (retrain them) regularly, automatic dll generation looks much more attractive than manual dll creation or writing a network in MQL.