Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 08/17/26 19:28
Max Number of Strategies in /Strategy folder
by Martin_HH. 08/17/26 07:54
Pause button for evaluation shell?
by AndrewAMD. 08/13/26 17:16
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
Accepting new programming clients
by AndrewAMD. 08/06/26 21:25
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (TipmyPip), 14,508 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
riggi89, shuhari, KD1990, Student_64151, Koti
19230 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Evaluation Shell with custom objective #489516
07/07/26 10:29
07/07/26 10:29
Joined: Jan 2022
Posts: 79
Budapest
N
NorbertSz Offline OP
Junior Member
NorbertSz  Offline OP
Junior Member
N

Joined: Jan 2022
Posts: 79
Budapest
Hello,

I'm excited to start using the Evaluation Shell, but I'd like to clarify one thing first.
I want to optimize my strategy using a custom fitness function.

The manual says:

Quote
_Objective – Training objective (fitness function). 0 = PRR (default), 1 = R²×PRR, 2 = Profit/DD, 3 = Profit/Investment, 4 = Profit/day, 5 = Profit/trade.


If I implement my own objective() function in my strategy, will it override the _Objective setting, or does the Evaluation Shell only support the built-in objective functions?
If custom objectives are not supported, is there any workaround besides modifying the Evaluation Shell source code?

Thank you,
N.

Re: Evaluation Shell with custom objective [Re: NorbertSz] #489517
07/08/26 14:37
07/08/26 14:37
Joined: Jul 2000
Posts: 28,132
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,132
Frankfurt
For a script defined objective function, leave the _Objective variable at 0.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1