pub fn max_drawdown(values: &[f64]) -> (f64, usize, usize)
Maximum drawdown of a value series, as a positive fraction of the running peak (0.25 = a 25% peak-to-trough fall), with the peak and trough indices.