Maximum Drawdown

maxdd

Function Name: maxdd

Tags: None

Category: Other

The Maximum Drawdown (MDD) up to a certain bar is the maximum of the drawdowns over the history of the price.

Calculation: ((Lowest Low / Highest High) - 1) * 100