Gamestudio Links
Zorro Links
Newest Posts
Removing outliers from files
by AndrewAMD. 12/02/26 15:26
SGT_FW
by Aku_Aku. 11/30/26 08:19
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (AndrewAMD, Quad, Grant), 8,062 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 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: 81
Budapest
N
NorbertSz Offline OP
Junior Member
NorbertSz  Offline OP
Junior Member
N

Joined: Jan 2022
Posts: 81
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,150
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,150
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