Simulating the trading robot on historical market data to evaluate performance. MetaTrader’s Strategy Tester and cTrader’s Backtesting tools run the EA/cBot over past price data, generating trade logs and equity curves. Backtesting helps find logic bugs (e.g. unintended trades) and optimize parameters without risking real funds.