MaximalDrawDown = Max of (Maximal Peak - next Minimal Peak)
You deposited $100 and made a loss of $10. Then you made a profit of $30 and again a loss of 20
In this example the maximum Draw-down is $20. But the Absolute Draw-down is $10.
Relative Drawdown mean the average of all the drawdown.