Hi, any help appreciated. I have tried to use the WFOProfile.c script delivered within Zorro 2.48. I have followed the article on https://financial-hacker.com/why-90-of-backtests-fail/#more-4373 and used the same trend following script trend.c. Out commented NumWFOCycles in trend.c and ran train of WFOProfile.c (both scripts in the attachment)

The script however crashed after second cycle with the mesage Error 062: Cant open WFOProfile_2.par (rt:2). Log file and a screenshot in the attachment.

I am struggling to resolve this, Any hint? Best regards ...

Attached Files
trend.c (3 downloads)
WFOProfile.c (3 downloads)
WFOProfile_test.log (0 downloads)
WFOProfile_train.log (0 downloads)
Screenshot.JPG (28 downloads)