SetCustomFitnessValue  [SOLVED]

Questions about MultiCharts and user contributed studies.
rgranero
Posts: 56
Joined: 26 Jul 2010
Has thanked: 4 times
Been thanked: 1 time

SetCustomFitnessValue

Postby rgranero » 19 Nov 2013

Dear Sirs,

when I write:

IF date<1000606 THEN SetCustomFitnessValue(netprofit/maxiddrawdown);

and plot all the data (before 1000606 until today) and optimize. The input choose from the optimizer will the best input from the start until 1000606.

Right?

Thx
Riccardo

User avatar
Andrew MultiCharts
Posts: 1587
Joined: 11 Oct 2011
Has thanked: 931 times
Been thanked: 559 times

Re: SetCustomFitnessValue  [SOLVED]

Postby Andrew MultiCharts » 19 Nov 2013

Hello rgranero,

Yes, it will optimize the input, but since it is time limited in the code, it will not affect anything beyond the time-based condition.

rgranero
Posts: 56
Joined: 26 Jul 2010
Has thanked: 4 times
Been thanked: 1 time

Re: SetCustomFitnessValue

Postby rgranero » 19 Nov 2013

Perfect!

Thx, Andrew


Return to “MultiCharts”