How can I backtest my EA?
You can back-test the performance of your EA over historical data on the MT4 platform. To do this, go to ‘View’, select ‘Strategy Tester’, choose the Expert Advisor from the list and set back-test parameters.
For more details please refer to the MT4 backtesting guide available here.
Once you are happy with your EA, you can test it in live trading conditions by using it on your demo account.