Sharp Ratio as Custom Fitness value

Questions about MultiCharts and user contributed studies.
Mik72
Posts: 20
Joined: 13 May 2022
Has thanked: 5 times

Sharp Ratio as Custom Fitness value

Postby Mik72 » 12 Dec 2023

Hi everyone,

I would like to have the sharp ratio as custom fitness value, is it possible? if yes, what code shoud I use?

Thanks a lot.

User avatar
Kate MultiCharts
Posts: 597
Joined: 21 Oct 2020
Has thanked: 9 times
Been thanked: 148 times

Re: Sharp Ratio as Custom Fitness value

Postby Kate MultiCharts » 15 Dec 2023

Hi Mik72,

There's a pre-built !optimize by Sharpe ratio! signal you could try:
  1. Add !optimize by Sharpe ratio! together with your other signals to the chart. It should be the last one on the list.
  2. Go to the Optimization settings: Format -> Optimize Strategy -> select the Optimization Type and click Next.
  3. Select Custom Fitness Value from the “Optimize by” criteria dropdown box.

Mik72
Posts: 20
Joined: 13 May 2022
Has thanked: 5 times

Re: Sharp Ratio as Custom Fitness value

Postby Mik72 » 30 Jan 2024

Thanks !!!


Return to “MultiCharts”