Gamestudio Links
Zorro Links
Newest Posts
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 08/10/26 12:46
phantom() not defined in indicators.c
by jcl. 08/07/26 11:45
Pause button for evaluation shell?
by jcl. 08/07/26 11:43
Accepting new programming clients
by AndrewAMD. 08/06/26 21:25
Fun Arcade Car Physics (nfs style)
by Ezzett. 08/02/26 21:11
ZorroGPT
by TipmyPip. 07/31/26 22:56
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
4 registered members (Radar, Quad, 2 invisible), 1,055 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
ParkerBlair, JackWalker, clausoliver, riggi89, shuhari
19225 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
WFOProfile Script crashes after Cycle 2 #486349
08/04/22 09:47
08/04/22 09:47
Joined: Mar 2018
Posts: 67
hast29 Offline OP
Junior Member
hast29  Offline OP
Junior Member

Joined: Mar 2018
Posts: 67
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)
Re: WFOProfile Script crashes after Cycle 2 [Re: hast29] #486350
08/04/22 11:02
08/04/22 11:02
Joined: Jul 2000
Posts: 28,131
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,131
Frankfurt
The error message tells that a certain .par file cannot be opened. This can be an access right conflict.

First, outcomment the NumCores line in trend.c. Maybe it is a conflict with a parallel running process.
Next, check if that file exists in the data folder. If so, delete it. Maybe it was locked by a previous process.

Then try again and post if the problem still persists.

Re: WFOProfile Script crashes after Cycle 2 [Re: hast29] #486352
08/04/22 16:21
08/04/22 16:21
Joined: Mar 2018
Posts: 67
hast29 Offline OP
Junior Member
hast29  Offline OP
Junior Member

Joined: Mar 2018
Posts: 67
Hi JCL,

outcommenting NumCores did the job. Thank you for your prompt support. Cheers.


Moderated by  Petra 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1