How to backtest and optimize an Expert Advisor
Backtesting and optimization of an Expert Advisor in a Strategy Tester
Run MetaTrader 4 and go to the Strategy Tester
Specify your Expert Advisor in “Expert Advisor” option
Select your currency pair, for example, EURUSD
Select “Every tick” model
Check “Use date” option
Specify the date at your own discretion. ...