1 - In your code, lot size is set by Margin. Details about different ways to size lots are in the manual.
2 - "Drawdown" observes changes in balance, whereas MAE observes changes in equity. This is a buy and hold operation, so balance is static until the trades close. Meanwhile, equity is variable.