MT4 BackTesting Not working

 

Hello,

I am new to MT4 and learning to program EA's.  I have a current EA working just fine, but I'm trying to backtest it and having problems. After finishing the Run with Optimization turned on, nothing appears in the Optimization Results or Graph. The Journal shows some of the following:

581 passes done during optimization, 581 results have been discarded as insignificant.
MA Cross; optimization finished, 507 cache records were used, 507 cache records rejected.
TestGenerator there are 78 generator errors.
TestGenerator: unmatched data error (volume limit 3466 at 2015.06.12 exceeded)

The 78 errors are the unmatchted data errors.

Any assistance on solving this would be appreciated or what else should I look for. The agent is working fine in the Charts, but I'd like to optimize the agent.

Thanks, JW

 

All you results are in loss.

Right-click inside "Optimization Results" window and uncheck "Skip Useless Results". Restart your optimization.

 

Thanks Alain,

That really helped. I could see everything was zero. Helped me Diagnosis.  It's working now, I'm not 100% sure why. What I did was go into my EA, and turn off all the settings except a couple, and then ran the Optimization. It started working. I then slowing added more variables to optimize. Thing is the problem hasn't come back. All is working.  I did also restart the application, which might have helped.

Thanks again, JKW

 
JKW:

Thanks Alain,

That really helped. I could see everything was zero. Helped me Diagnosis.  It's working now, I'm not 100% sure why. What I did was go into my EA, and turn off all the settings except a couple, and then ran the Optimization. It started working. I then slowing added more variables to optimize. Thing is the problem hasn't come back. All is working.  I did also restart the application, which might have helped.

Thanks again, JKW

Right, in loss or equal zero.

You are welcome.

Reason: