Initial deposit size - what is it? - page 16

 

Replace pow with MathPow, exp with MathExp, declare the function itself as follows: void Fire_m1-i10-l0(double & inarray[], double & outarray[]), more numbers like 9.411765E-02 should be substituted.

 

Here, just haven't checked.

Files:
eurusd_2s2.mq4  24 kb
 

Why the cycle?

for(int i=0;i<10;i++){
         in[i]=что-то;  
      }

Maybe it's easier this way:

in[0]=something;

in[1]=something;

...

in[9]=something;

?

 

There are zeros in the output...

 
Swetten писал(а) >>

There are zeros on the output...

The input must be too high, it looks like it should be somewhere in the region of 0.1

 
Swetten писал(а) >>

There are zeros in the output...

Could you tell me what type of network and architecture?

 

If the PNN was generated (it just looks like it), I don't think it's there...

Also, the oddity of the code is like this

//фрагмент
feature2[1] = MathPow( inarray[0] -0.005004976, 2);
feature2[1] += MathPow( inarray[1] -0.001067986, 2);
feature2[1] += MathPow( inarray[2] -0.03456692, 2);
feature2[1] += MathPow( inarray[3] -0.0375561, 2);
feature2[1] += MathPow( inarray[4] -1.363077, 2);
feature2[1] += MathPow( inarray[5] -1.234163, 2);
feature2[1] += MathPow( inarray[6] -0.04992515, 2);
feature2[1] += MathPow( inarray[7] -1.326206, 2);
feature2[1] += MathPow( inarray[8] -1.108252, 2);
feature2[1] += MathPow( inarray[9] -1.952089, 2);
feature2[1] = MathExp(- feature2[1] / 0.1861218);

//при суммировании выходного сигнала
outarray[0] = feature2[3];
outarray[0] += feature2[10];
outarray[0] += feature2[11];
outarray[0] += feature2[12];
outarray[0] += feature2[13];
outarray[0] += feature2[15];
outarray[0] += feature2[16];
outarray[0] += feature2[22];
outarray[0] += feature2[23];
outarray[0] += feature2[25];
outarray[0] += feature2[26];
outarray[0] += feature2[29];
outarray[0] += feature2[30];
outarray[0] += feature2[35];
outarray[0] += feature2[37];
outarray[0] /= 15;
code is not clear in short...
 
StatBars писал(а) >>

Could you tell me what type of network and architecture?

It's supposed to be Kohonen's Solitaire. Now I'm not sure -- I made such a mess of files... But it has to be. I followed Klota's pattern.

 
StatBars писал(а) >>
code is not clear...

Maybe that's why the EA is crashing?

 
Swetten писал(а) >>

Maybe that's why the EA crashes?

I don't know why your EA crashes, there is no code).

>> It doesn't look like Kohonen cards either.