apaDrawdowns.Drawdown(Returns, IsSorted)
Excel
=apaDrawdowns.Drawdown(Returns, IsSorted)Result
Returns the vector of drawdowns of a time series, i.e. the losses from the previous local high-water mark before the local maximum loss has occurred.
Syntax
Returns: r x 1 vector of returns
IsSorted: TRUE for values sorted in ascending order, FALSE for chronological order
