-
Maximum Drawdown in a Custom Command format, made for educational purposes.
The command uses GetBotProfit to get the peak and trough.NOTE: The CC does not work on HTS v3 because of missing commands. The CC was made on and for v4 Cloud version.
Usage:
CC_ReportMdd()
Example output in backtest logs:
——————— Report Maximum Drawdown (BINANCEFUTURES_BTC_USDT_PERPETUAL) ———————
Maximum Drawdown: -7.676 / -1.2154 %