tester got "xx pases not processed and returned to task queue" warning

 

I am trying to run walk forward optimization usually my total steps list is around 220k results and I found this warning but test shows as completed, is this fine or should I think some results are going missing??

Custom Walk Forward optimization in MetaTrader 5
Custom Walk Forward optimization in MetaTrader 5
  • www.mql5.com
The article deals with the approaches enabling accurate simulation of walk forward optimization using the built-in tester and auxiliary libraries implemented in MQL.
 
herrcrowley: I am trying to run walk forward optimization usually my total steps list is around 220k results and I found this warning but test shows as completed, is this fine or should I think some results are going missing??

I have this same issue!!! But my forward test stops at 65.536 scenario. Doesn't matter how long I wait, tester doesn't go further.

 
@Alexandre Sousa Bezerra #: I have this same issue!!! But my forward test stops at 65.536 scenario. Doesn't matter how long I wait, tester doesn't go further.

It is a bug that has been identified and reported ... https://www.mql5.com/en/forum/457425#comment_50704805

 
Fernando Carreiro #:

It is a bug that has been identified and reported ... https://www.mql5.com/en/forum/457425#comment_50704805

Thanks, Fernando!

I've read through your post, and I totally agree. Combining too many variables in a regular EA situation is just plain crazy.

My EA relies on a Deep Neural Network with a 6-7-7-3 layer/neuron setup, which means dealing with a whopping 129 weights. That's a real headache!

I get it when you say that Metatrader might not fix this unusual issue. I've already contacted the Service Desk, so let's cross fingers.

Thanks again!

Alexandre

 
I'm glad I'm not the only one who is trying to get this fixed! Right now there is no point in even forward testing for me because all mine always get stuck at 65536. If you do find yourself doing another forward test could you watch the number of passes that are shown being completed at the bottom? For me they get stuck temporarily at 512 and 1024. I don't know if it matters or if that only happens to me, but maybe its another clue to help the devs find and fix the problem.
 

I'm glad too! Mainliy cause I know that this is not a code problem...

Take a look at my situation:

pitc 

And see how my Cores look like

2 

 

What I do to avoid this problem is using higher step values.

For example: I have 129 weights to combine in my DNN. the Weighst must vary between -1 and 1. I first consider step = 0.1, what gives me a total scenarios normally around 40.000,

Then, I analyze the range of the best results (top 10 for example, or top 1000) in my forward test for each variable and refine the it for the next Tester. For example:

Instead of using a range [-1,1] for all  weights, I consider a range w0 = [-0.7,0.3], w1 =  [0.1,0.4] until w129... it reduces the total number of scenarios and allows me to consider a more precise step, for example, step=0.01, but always keeping in mind that I cant have too much scenarios.

I have my excel that automatically generates the step file after inputing thounsand scenarios. It helps a lot!



I

 
Alexandre Sousa Bezerra #:

What I do to avoid this problem is using higher step values.

For example: I have 129 weights to combine in my DNN. the Weighst must vary between -1 and 1. I first consider step = 0.1, what gives me a total scenarios normally around 40.000,

Then, I analyze the range of the best results (top 10 for example, or top 1000) in my forward test for each variable and refine the it for the next Tester. For example:

Instead of using a range [-1,1] for all  weights, I consider a range w0 = [-0.7,0.3], w1 =  [0.1,0.4] until w129... it reduces the total number of scenarios and allows me to consider a more precise step, for example, step=0.01, but always keeping in mind that I cant have too much scenarios.

I have my excel that automatically generates the step file after inputing thounsand scenarios. It helps a lot!



I

Try the latest beta version. I think they fixed it! It no longer gets stuck for me.

 
tanner gilliland #:

Try the latest beta version. I think they fixed it! It no longer gets stuck for me.

It is true! Already taking advantage of it. Neural Network now faster finds best weights... just need to take care to avoid overfittings.

Thanks for you tip Tanner!

Reason: