Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
finimej,
That's good you discovered the bug, but it's strange the EA gives 100% winners during the run within teaching period. It means it classifies trades correctly. Not trying to criticize you or anything, just a note on the side. I'm still interested in the fixed version though, please keep posting.
Quote:
Originally Posted by finimej
I've double posted the code, can not edit my own code any more?
Orest above,
The EA trainer does not use the pnnclassificator at all. It backlooked and set the classficiation by the code from trainer itself. The pnn_system is using the classificator.
It's hard to debug somebodyelse elegent code, where it mixed global variable and local variable, and lots arrays.
I think better to write our own code, then I would like to have two files
pnn_buy_trained.dat
pnn_sell_trained.dat
then have two class array, one for buy and one for sell, to get the data to/from files. This would be easier to write the code and debug and also faster. just get no energy right now, somebody else take over the debug comez pnnclassification? The logic is written in the lecture notes pattern2.pdf and pattern3.pdf.
Canon-ball problem using a Multi Layer Perceptron in MT4
with 4 input neuron and 6 hidden neuron:
#define IN 4
#define IN1 5 //IN+1
#define OUT 2
#define N_HU 6
#define N_HU1 7 //N_HU + 1
Canon-ball problem using a Multi Layer Perceptron in MT4
with 6 input neuron and 9 hidden neuron:
#define IN 6
#define IN1 7 //IN+1
#define OUT 2
#define N_HU 9
#define N_HU1 10 //N_HU + 1
Canon-ball problem using a Multi Layer Perceptron in MT4
with 8 input neuron and 12 hidden neuron:
#define IN 8
#define IN1 9 //IN+1
#define OUT 2
#define N_HU 12
Canon-ball problem using a Multi Layer Perceptron in MT4
with 18 input neuron and 27 hidden neuron:
#define IN 18 //2*9
#define IN1 19 //IN+1
#define OUT 2
#define N_HU 27 //3*9
#define N_HU1 28 //N_HU + 1