Hello
How can I get the duration of the drawdowns in a zoo serie? the drawdowns can be calculated with cummax(mydata)-mydata. Whenever this value is above zero I have a drawdown. The Drawdown is the measure of the decline from a historical peak (maximum). It lasts till this value is reached again.