I am creating a custom Performance Metric and it's unclear to me from reading through the documentation on how to access the "Max Drawdown."
I want to create a custom metric where "net profit / max drawdown" is used when optimizing a strategy.
Is there a way to access Max Drawdown so that I calculate the ratio i'm looking for?
Thank you
Comment