Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by MonsterX. 12/05/25 02:43
ZorroFix. ini /data and /log path
by Martin_HH. 12/02/25 11:42
Parameter selection
by jcl. 12/01/25 12:28
ZorroGPT
by TipmyPip. 11/29/25 09:38
webGL
by Ezzett. 11/27/25 23:22
Chart viewer
by clint000. 11/27/25 21:21
Black Friday discounts!
by jcl. 11/27/25 13:58
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (MonsterX), 1,267 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
MonsterX, KF_Investments, Luuk, decotb, clint000
19184 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,810
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

Joined: Feb 2017
Posts: 1,810
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