Gamestudio Links
Zorro Links
Newest Posts
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
Data from CSV not parsed correctly
by jcl. 04/20/24 08:32
Zorro FIX plugin - Experimental
by jcl. 04/20/24 08:30
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (7th_zorro, Aku_Aku, 1 invisible), 579 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 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: 62
hast29 Offline OP
Junior Member
hast29  Offline OP
Junior Member

Joined: Mar 2018
Posts: 62
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: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
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: 62
hast29 Offline OP
Junior Member
hast29  Offline OP
Junior Member

Joined: Mar 2018
Posts: 62
Hi JCL,

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


Moderated by  Petra 

Gamestudio download | chip programmers | 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