apaDrawdowns.Underwater.Paths(Returns, DoShowDateIndicesOtherwiseNot, MinUnderwaterPeriodLength, MinDrawdown, InitialValue, DoNotContinueAfterRecovery, DoNotShowRecovery)
Excel
=apaDrawdowns.Underwater.Paths(Returns, DoShowDateIndicesOtherwiseNot, MinUnderwaterPeriodLength, MinDrawdown, InitialValue, DoNotContinueAfterRecovery, DoNotShowRecovery)Result
Returns all filtered historical underwater paths of a time series.
Syntax
Returns: r x 1 vector of returns
DoShowDateIndicesOtherwiseNot: TRUE to show the date indices in the first row of the result matrix, FALSE to show the drawdowns only
MinUnderwaterPeriodLength: minimum duration of the underwater periods selected
MinDrawdown: minimum drawdown of the underwater periods selected
InitialValue: starting value used in rebasing the returns (typically 1 or 100)
DoNotContinueAfterRecovery: TRUE to stop each path once the recovery has taken place
DoNotShowRecovery: TRUE to omit the recovery returns
