Strategy Tester: Optimization not working

 

Hi,

the problem is that optimization only produces empty results (0.0) despite the fact that the expert advisor is working normally in the strategy tester. The problem didn't occur with a different EA. 

 
Did you take a look at the Journal to see if there are error messages?
 
holistic:
Did you take a look at the Journal to see if there are error messages?

Of course I did. There is none.

 
mt4ski:

Hi,

the problem is that optimization only produces empty results (0.0) despite the fact that the expert advisor is working normally in the strategy tester. The problem didn't occur with a different EA. 

Hello,

try to show useless results.

Please see the image.

Files:
Useless.png  191 kb
 
Nikolaos Pantzos:

Hello,

try to show useless results.

Please see the image.

Useless results was the only thing I was getting, but don't worry, I found the problem.

For some reason, the optimization engine didn't like the OBJ_HLINE objects I was creating. 

If I find the solution I will post it here.

Reason: