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.
Example output in backtest logs:
——————— Report Maximum Drawdown (BINANCEFUTURES_BTC_USDT_PERPETUAL) ———————
Maximum Drawdown: -7.676 / -1.2154 %
Mandala Trading Competition Promotion Type: contest Expires: June 9, 2023Trading volume competition, win up to $10,000 USDT and bounties.
Earn Up to 200 BMEX Tokens Promotion Type: contest Expires: March 31, 202315 BMEX @ $20,000, 25 BMEX @ $50,000, 50 [email protected] $200,000, 100 BMEX @ $400,000, 200 BMEX @ $600,000 in monthly derivatives volume