Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (Quad, VoroneTZ, 1 invisible), 862 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Error043 wrong parameter #476096
01/26/19 12:31
01/26/19 12:31
Joined: Nov 2018
Posts: 55
G
gamadeus Offline OP
Junior Member
gamadeus  Offline OP
Junior Member
G

Joined: Nov 2018
Posts: 55
I often times get this strange "Error043: EUR/USD wrong parameter" when training a script, particularly during WFO cycles after training and on any asset.

It happens on completely unrelated intervals and sometimes goes away when I specify the asset in the script, sometimes not.

can somebody help me understand what that error is actually saying?
could it be caused by a corrupt history file?

Last edited by gamadeus; 01/26/19 12:32.
Re: Error043 wrong parameter [Re: gamadeus] #476100
01/26/19 14:08
01/26/19 14:08
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
Error codes are explained in the manual.

If you are still confused, post your code.

Re: Error043 wrong parameter [Re: AndrewAMD] #476102
01/26/19 14:53
01/26/19 14:53
Joined: Nov 2018
Posts: 55
G
gamadeus Offline OP
Junior Member
gamadeus  Offline OP
Junior Member
G

Joined: Nov 2018
Posts: 55
yes thanks, I should learn to do my research first before impulsively posting

it seems that the error is caused by the fact that one parameter is set at -1 in the par file. therefore I get the error every time I test the par files are read (like test or retraining)

this occurs when a ratio like PF is optimized and there are no losing trades in the best parameter of the training set, which can happen for short train cycles

here is my solution for the objective function, in case anyone might stumble upon the same problem:
if(!NumLossTotal)
{
if(NumWinTotal) return NumWinTotal;
return 0;
}
else
return ThisPerformance.vWin/abs(ThisPerformance.vLoss);



Last edited by gamadeus; 01/26/19 15:18.

Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1