new high or NA if the
drawdown has not been recovered yet
max
the max drawdown
Arguments
x
a numeric vector of prices
...
additional arguments, to be passed to methods
Author
Enrico Schumann
Details
drawdowns is a generic function. It computes drawdown
statistics: maximum; and time of peak, trough and recovery.
References
Gilli, M., Maringer, D. and Schumann, E. (2019)
Numerical Methods and Optimization in Finance.
2nd edition. Elsevier. tools:::Rd_expr_doi("10.1016/C2017-0-01621-X")