This question relates to monthly investment returns. I have series of months that are positive and negative. I have calculated the cumulative periods of negative returns. I am interested in the maximum drawdown period. So for example there is a ten month period when cumulative return is negative and the max cumulative negative is -8%. Data is in a column of cumulative returns below zero. I need a function that will find the maximum negative return and count the number periods the return is negative as the performance dips below zero, hits a max loss of 8% and then returns to zero. Little difficult to explain.