MaxDD in %

Posted By: Zheka

MaxDD in % - 07/17/19 14:07

JCL,

The manual says that this number - in % - is calculated relative to GROSS profit, and not balance or equity - which is the commonly accepted way of doing it.

This of course makes it a much smaller number.

What's the meaning of such a metric?


Also, the numbers exported to a _pnl.csv reflect accumulated profit, without taking into account the starting Capital.
Probably, ok if the Capital is not set, but is not "....the daily equity or balance curve" as the manual suggests.
Posted By: jcl

Re: MaxDD in % - 07/17/19 14:14

If performance figures were relative to balance or equity, a rich guy with much money on his account would get a different performance than a poor guy. wink You normally want to know the performance of your strategy, not of your account.

The exception is testing the money management. Then you really need metrics relative to equity, such as the CAGR. For this set up the "Capital" variable. All metrics change then their meaning. Read the "Performance" chapter - all is explained there.
Posted By: Zheka

Re: MaxDD in % - 07/17/19 14:51


I am testing the money management and the "Capital" variable is set. How is MaxDD in % is then calculated?

I cannot see anything describing difference in calculations of this number in the "Performance chapter" - when Capital is set and when not.

Right now, it looks like % is being calculated relative to Gross Wins, rather than Gross Profit.
It is appr 2x less than the number calculated manually from a _pnl.csv (with addition of Capital), even with the BALANCE flag set.


As for numbers in _pnl.csv: shouldn't they start from the initial Capital when Capital var is set?
Posted By: jcl

Re: MaxDD in % - 07/17/19 15:49

Just look in the manual: "Max DD - Maximum drawdown during the test period, in account currency units and in percent from the gross profit.".

Reinvesting capital will of course affect the gross profit, which renders the max DD relatively meaningless. It depends then not anymore on the strategy performance, but on your reinvesting. For knowing the drawdown of your strategy, disable reinvesting.

"PnL" means "Profit and Loss", not "Profit plus Capital".
Posted By: Zheka

Re: MaxDD in % - 07/17/19 16:28

Sure, maxDD in absolute in meaningless for a reinvesting strategy. But I am talking about a percentage calculation!

How is MaxDD calculated as a percentage when Capital var is set?
Posted By: jcl

Re: MaxDD in % - 07/18/19 08:43

By dividing it by the gross profit. - It is arguable if a DD percentage has any meaning with Capital set, but if so, then for the reinvesting, not for the strategy. You can get any DD percentage dependent on how you reinvest. So better check max DD and the other figures first without Capital. This reflects the real performance of your strategy.
Posted By: Zheka

Re: MaxDD in % - 07/18/19 09:17

Originally Posted by jcl
It would be probably better to use the preceding profit peak at the time of the drawdown instead
Of course, this is its definition ( https://www.investopedia.com/terms/m/maximum-drawdown-mdd.asp)
Dividing by the total gp (at the end of a simulation) just has no meaning, in any case.
Without re-investment, maxDD reporting in % - IMHO - should be omitted altogether.
Posted By: Zheka

Re: MaxDD in % - 07/18/19 09:45

Also:
- when plotting results, it would make sense to display percentage DD for the case with reinvestment, and absolute DD numbers - without.
- report 'closed trade' (or balance-to-balance) DD.

- report average (or median) DD above some min threshold (of %, $ or duration)
- report average of top 5 DDs

These will be more informative than just one 1 maxDD number, and too burdensome for users to calculate themselves.
Posted By: jcl

Re: MaxDD in % - 07/18/19 11:19

I had posted the idea with the preceding peak, but then realized that it's a bad idea. The same max drawdown would then get a different percentage dependent on when in the simulation it happend. So, this won't work.

I understand that there are 100 different performance metrics, but we want to concentrate on the useful and relevant ones. You can easily calculate your favorite DD variant in the simulation and then print them to the performance report. Further suggestions are welcome - please post them to the Zorro future forum.
Posted By: Zheka

Re: MaxDD in % - 07/18/19 12:30

1) It's not a bad idea, its how the whole industry defines and calculates it. There is no other software nor paper that calculates it differently. That's why I raised the question in the first place.

2) Reporting "MaxDD in %" for non-reinvesting at all IS a bad idea, exactly for the reasons you described.
What IS used is the inverse of your maxDD/(ending)NP calculation - an NP/maxDD ratio (and preferably annualized) - a reward for assumed risk.

Now, it is your product and you can calculate it however you deem appropriate. Just make a note in bold and in capital in the manual that this deviates from the usual calculation which users take for granted.


And if there are issues "of opinion", why not have a vote/discussion on the forum - or- better - a 'pushed' user poll by email ?
Posted By: jcl

Re: MaxDD in % - 07/18/19 13:37

A 'drawdown industry standard' does not exist, so Zorro uses just the metrics that are the most common in financial research and the most relevant for strategy performance. You can inform yourself on many websites how drawdown is calculated. Of course you're entitled to any different opinion and may poll anything that you want. Your question has been answered and I think I can close this discussion.
© 2024 lite-C Forums