Download MetaTrader 5

Membrain NeuralNet - page 2

To add comments, please log in or register
Launch your trading signal. Make profit from paid subscription!
Fabiano 2008.11.06 23:05  

hi Russell,

I started to play with MemBrain this week. I have used other NN software (like faNN and Joone) but MemBrain seems quite interesting and much easier to use. One thing I still cannot figure out is how to use time series in it, which seems to me to be very important for any attempt to forecast. Do you or anyone know how to do that in MemBrain or can you tell me if it is even possible?

Would you mind sending me source code for the wrapper? My email is my username at

Thank you!

Russell 2008.11.09 18:41  

Hi zosorock,

every new pattern you create can be a new point in time. In the teacher menu you can set the lesson pattern selection to Ordered. But please don't try to forcast with a BP NN. It will cost you a lot of time and will give you a lot of frustration. It just won't work, take my word for it. Better invest on reinforment learning (RL) / genetic algorithms (GA) / etc. Currently I'm working with RL RNN's which are great for adaptive EA's.

some pointers:

- Q-learning

- TD-learning

- Sutton & Barto

- Dempster


Fabiano 2008.11.11 01:30  

Hi Russell,

Are these algorithms you refer to available in Membrain or are you using yet another NN application?

I am not in fact trying to forecast the prices. My idea right now is to feed it the signals via a CSV file with prices and signal (+1 buy, -1 sell and 0 do nothing) and train the NN so it can suggest buy and sell signals with current data. Do you think that is possible with Membrain? So far I seem to get extremely high net error but since there are so many parameters in Membrain it can perhaps be caused by some obscure one that I don't completely understand.

I will look into those references. I had a look at a couple and they seem to be rather interesting reads. I am just not sure how to implement that in Membrain.

Thank you for all your help!

Russell 2008.11.12 21:00  

Hi Zosorock,

No they are not available in MB. Q & TD learning are alg's from Reinforcement Learning. Though they can be used with NN's, but it takes a different way how errors are derived; amongst other things. I have tried the idea you suggested and couldn't get it to work. After several weeks I gave up the approach and switched to RL. Main problem is after training the net it will allways generate the same "reply". But market conditions change over time, so it gets out of sync (like technical indicators). That's why a adaptive system will have have higher probability of success.

At this point I'm not using Membrain. I wrote a BP NN in metatrader and use it for RL (the QL alg)


Jack Rabbit
Jack Rabbit 2012.01.10 19:01  

Hi All,

I wrote a wrapper for membrain...

here the files for those how like to experiment with it. I haven't fully tested it yet. So any feedback is welcome




fixed typo

Hi Russell,

I can download the MQ4 and MQH files but I cannot download the wrapper dll. Has it been removed because of licencing reasons?

I have installed VS10 so if you could kindly post the (I assume C++) code of the wrapper it would may be even better. I am not very familar with the C++ header etc. stuff but I wrote some basic C++ dll for MQ4 use some time ago, so I could compile it on my own (and would also learn something). I have installed Membrain and take the first steps guided by a German book but I would like to see your sample code working, too, before acquiring a licence.

Kind regards, Jack Rabbit

HaraldSchurr 2013.12.23 18:48  

Hi Russell,

I'm just experimenting with membrain and have severe problems to have the membraindll.dll have a so called "thinkstep" executed.

As you wrote this wrapper for Membrain once upon a time,

could I ask you something about the interaction between Membrain and MetaTrader4?

best regards


porto007 2014.04.28 23:38  


cany anyone prvide me the wrapper dll ?

Thanks in advance


To add comments, please log in or register