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

 


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,

 

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 ?

 
jrbr:

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 ?

hi 

I am too have this problem  :

I installed C sharp and my problem solved:)

best regards 

 

Try to change Decimal symbol to "." instead of "," in Control Panel->Region and Language->Additional settings...

 

I want change this article indicators(stoch and william R%)  to my needed indicators ,

I have 2 question : how training my new file?

I maked  mt5export.cvs  by new data (from my new  indicators and currency and timeframe ) but i dont know how make  other files ...

my encog workbench not openned  step5_network.eg file and report error :

 --------------------------------------------------------------------

 We are very sorry but an unexpected error has occured.

Would you consider sending this information to us?

No personal information will be transmitted, just what you see below.

This information is very useful to us to make Encog a better program.

----------------------------------------------------------------------

Encog Version: 2.5.3

Encog Workbench Version: 2.5.3

Java Version: 1.6.0_25

Java Vendor: Sun Microsystems Inc.

OS Name: Windows XP

OS Arch: x86

OS Version: 5.1

Core Count: 2

----------------------------------------------------------------------

Exception: java.lang.NullPointerException

org.encog.persist.persistors.PersistorUtil.createPersistor(PersistorUtil.java:131)

org.encog.persist.EncogMemoryCollection.load(EncogMemoryCollection.java:230)

org.encog.workbench.EncogWorkBench.load(Unknown Source)

org.encog.workbench.frames.document.EncogDocumentOperations.performFileOpen(Unknown Source)

org.encog.workbench.dialogs.splash.EncogWorkbenchSplash.actionPerformed(Unknown Source)

javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)

javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

.

.

.

java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

java.awt.EventDispatchThread.pumpEvents(Unknown Source)

java.awt.EventDispatchThread.pumpEvents(Unknown Source)

java.awt.EventDispatchThread.run(Unknown Source)


 
jrbr:

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 ?

 

 

I am also having this problem . . I do have C# installed and vs2008 . has any one else solved it in a different way?

 

Thanks for sharing this technique. However, can't get it going.

Files placed in:


C:\Program Files\MetaTrader 5\Cloo.dll

C:\Program Files\MetaTrader 5\encog-core-cs.dll

C:\Program Files\MetaTrader 5\log4net.dll

Indicators placed in:

C:\Program Files\MetaTrader 5\MQL5\Indicators

 Created "Files" folder in tester, ie. C:\Program Files\MetaTrader 5\Tester\Agent-127.0.0.1-3000\Files

Placed EncogNNTrainDLL.dll in

C:\Program Files\MetaTrader 5\Tester\Agent-127.0.0.1-3000\MQL5\Libraries  and

C:\Program Files\MetaTrader 5\MQL5\Libraries

PROBLEM:

2011.10.10 19:45:21 Core 1 connection closed
2011.10.10 19:45:21 Core 1 disconnected
2011.10.10 19:45:21 Core 1 tester agent authorization error
2011.10.10 19:45:09 Core 1 connected
2011.10.10 19:45:09 Core 1 connecting to 127.0.0.1:3000

Don't know what is going on now. All tester agents had been disabled and only allow Local agent.

Anyone found a solution to this? 

 

Forget the authorization error. Solved it by uninstall and re-install. Also made compatibility to XP SP3, under windows 7. The compatibility was done since clicking MetaTrader from the start menu won't allow me to see the EA created, but clicking MetaTrader from within MetaEditor allow me to see the EA from within MetaTrader. Wierd.

 

Excellent article !!! :-)

 

Did anyone with a ENCOG 3.0.1 version?

I have got problems to analyze and normalize CSV file 

 

 

 

Awesome article investeo! 

Just one problem, every time I run the EA on the simulator I get the following error...

2012.08.07 20:10:36 Core 1 2012.01.01 00:00:00   Access violation read to 0x00000000

I have followed the suggestions on this page. I still get the error.

Please help? 

 

 

 

Reason: