Discussion of article "Using MetaTrader 5 Indicators with ENCOG Machine Learning Framework for Timeseries Prediction" - page 2

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
Yes...now its working..
I had to copy the "the Cloo.dll, encog-core-cs.dll and log4net.dll" on the root folder of where Metatrader was installed ...where the "Terminal64.exe" is. ;-)But the indicator is not drawing, though when using the print function, it returns the value. (I am still working on it to figure out why its not drawing !)
Found the solution, it needs some time to calculate and draw, figured it out when I notice the heavy use of my Cpu.
Regards,
After compiling and running NinjaIndicators, the following error pops up:
In the source code I fixed only the line public const String DIRECTORY = "d:{\Fx_dev\Program Files\\MetaTrader 5\MQL5\\\Files\\"; mt5export.csv is generated by the script and is in the specified folder. How to make it work?
Edit: the same thing happens when using the original exe from the article.
Thanks for this code.
I have a problem a the end of the execution. I otain this error in the log :
2011.05.06 14:49:05 Core 1 2010.11.05 21:56:08 Unhandled exception 0xE0434F4D
2011.05.06 14:49:05 Core 1 2010.11.05 21:56:08 C:\Program Files\MetaTrader 5\Tester\Agent-127.0.0.1-3000\MQL5\Files\step5_network.eg
The dll's are correctly placed and I don't see what i missed.
Anyone can help me ?
WOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO. The question is still relevant. The same situation when using the original NinjaIndicators.exe without recompilation.
SUS: why are you posting an article with non-working code????
WOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO. The question is still relevant. The same situation when using the original NinjaIndicators.exe without recompilation.
SUS: why are you posting an article with non-working code????
There is no need to build NinjaIndicators, it is not used anywhere, it is removed from the article.
As a result of building the EncogNNNTrainDLL project, the EncogNNNTrainDLL.dll file is obtained, which is used in the article.
To make the examples described in the article work, it must be placed in the \Libraries directory. The files encog-core-cs.dll, Cloo.dll and log4net.dll should be copied to the directory with terminal.exe.
There is no need to build NinjaIndicators, it is not used anywhere and has been removed from the article.
Building the EncogNNTrainDLL project results in the EncogNNTrainDLL.dll file, which is used in the article.
To make the examples described in the article work, it must be placed in the \Libraries directory. The files encog-core-cs.dll, Cloo.dll and log4net.dll should be copied to the directory with terminal.exe.
How is this not necessary?
The ExportToEncog script uploads indicator data into csv, then NinjaIndicators picks up this csv, converts the data into a format understandable for ENCOG and then trains the network. The result is an eg file that is used in indicators and Expert Advisors. For a more detailed description of the process in English, see the author's website at the link.
I have all the dlls in the right places.
The NeuralEncogIndicator indicator does not want to work. Without the step5_network.eg file in the MQL5\Files folder, I get the picture:
With step5_network.eg from the article I get the following:
After compiling and running NinjaIndicators, the following error pops up:
In the source code, I fixed only the line public const String DIRECTORY = "d:{\Fx_dev\Program Files\\MetaTrader 5\MQL5\\\Files\\"; mt5export.csv was generated by the script and is in the specified folder. How to make it work?
Edit: the same thing happens when using the original exe from the article.
The step2_future.csv file created on the basis of mt5export.csv lacks necessary columns with data, which is a consequence of incorrect processing of mt5export.csv . This happens if the "," is set in the OS settings as the separator of integer and fractional parts of numbers.
Set the integer and fractional part separator "." in the "Language and Regional Standards" section.
What do you mean you don't need it?
The ExportToEncog script uploads indicator data into csv, then NinjaIndicators picks up this csv, converts the data into a format understandable for ENCOG and then trains the network. The result is an eg file that is used in indicators and Expert Advisors. For a more detailed description of the process in English, see the author's site at the link.
You are right.
I have all the dlls in the right places.
NeuralEncogIndicator does not want to work. Without the step5_network.eg file in the MQL5\Files folder, I get the picture:
With step5_network.eg from the article I get this:
The step2_future.csv file created on the basis of mt5export.csv lacks the necessary columns with data, which is the result of incorrect processing of mt5export.csv . This happens if the "," is set in the OS settings as the separator of integer and fractional parts of numbers.
Set the integer and fractional part separator "." in the "Language and Regional Standards" section.
After these actions it almost worked, now it hangs on training, but no errors.
NET I have the 4th. Win 7 x64 sp1
NeuralEncogIndicator (EURUSD,M5) Access violation read to 0x00000000 continue