Backtesting in MetaTrader 5
Test Bastille EA on historical data. Learn to install it, set up the Strategy Tester and read the report.
This is a historical simulation, not live trading. The one-week trial is for the Strategy Tester.
Your first test
Install the trial EA
In desktop MT5, select File → Open Data Folder. Copy the supplied
.ex5file toMQL5/Experts. In Navigator → Expert Advisors, right-click and choose Refresh, or restart MT5. You do not need to attach the EA to a live chart to backtest it.Open the Strategy Tester
In MT5, select View → Strategy Tester (Ctrl + R on Windows). Choose a single test, select Bastille EA and leave optimization off for your first run.
Set up the scenario
Choose the symbol, timeframe and dates. For a first exercise, try AUDUSD on M15 if your broker offers it. Select Every tick based on real ticks when data is available. Set the simulated deposit, currency, costs and account settings you want to represent. If you received a
.setfile, load it in Inputs.Run and observe
Click Start. The first run may take a while as MT5 downloads data. Use visual mode to watch trades open and close on the historical chart. If the test stops or opens no trades, check the Journal tab.
Read and compare the results
Read the report
In Results and Graph, review net profit, equity drawdown, trade count, and the gap between balance and equity. Profit alone does not tell the whole story.
Check consistency
Repeat the test on a different date range before comparing settings. If you optimize, reserve a separate validation period using the Forward option instead of picking the best result on the same sample.
Save a reference
Keep the report, settings file, symbol, dates and modelling mode together so you can repeat the test and know what changed.
No trades in the tester?
Check the Journal, available broker history for the symbol, your dates, the EA settings and whether your trial is active. If you contact support, share the Journal message without passwords or login details.
Want to test Bastille with your own settings?
Request a 7-day trial