How to use MT5/MT4
The entities below are duly authorised to operate under the Titan FX brand and trademarks. Titan FX Limited (reg. No. 40313) regulated by the Vanuatu Financial Services Commission with its registered office at 1st Floor Govant Building, 1276 Kumul Highway, Port Vila, Republic of Vanuatu. Goliath Trading Limited (licence no. SD138) regulated by the Financial Services Authority of Seychelles with its registered address at IMAD Complex, Office 12, 3rd Floor, Ile Du Port, Mahe, Seychelles. Titan Markets (licence no. GB20026097) regulated by the Financial Services Commission of Mauritius with its registered office at c/o Credentia International Management Ltd, The Cyberati Lounge, Ground Floor, The Catalyst, Silicon Avenue, 40 Cybercity, 72201 Ebene, Republic of Mauritius. Atlantic Markets Limited (registration no.2080481) regulated by the Financial Services Commission of the British Virgin Islands with its registered address at Trinity Chambers, PO Box 4301, Road Town, Tortola, British Virgin Islands. The Head Office of Titan FX is at Pot 564/100, Rue De Paris, Pot 5641, Centre Ville, Port Vila, Vanuatu. The Titan FX Research Hub purpose is to provide solely informational and educational content to its users, and not investment, legal, financial, tax or any type of personalised advice. Opinions, forecasts, and any other information contained in this website do not constitute recommendations or solicitation to buy or sell financial instruments. Trading leveraged products like CFDs carries high risk and may not suit all investors. Users should conduct independent research or consult qualified professionals before making any trading decisions. While efforts are made to provide accurate information, no warranty is given for the completeness or suitability of the information contained in this website. Reliance on this content is at your own risk and Titan FX accepts no liability for loss or damage. This information is for residents of jurisdictions where Titan FX transactions are permitted.
In MT5, you can perform EA backtesting.
Here, we will guide you through the basic method of backtesting.
Backtesting can simply test set parameters, or it can involve optimization testing (determining which parameter values yield the best results), which takes more time.
Prepare the EA you want to backtest in advance and install it on MT5.
MT5 backtesting is performed using a tool called the Strategy Tester.
To display the Strategy Tester, select "Strategy Tester" from the "View" menu in MT5.

In the 'Settings' tab of the Strategy Tester, configure the following items (refer to the image numbers):
①Select the Expert Advisor to test.
②Select the symbol and chart timeframe to test.
③Set the testing period. You can choose specific dates or select options like last month or last year.
④If performing a forward test, specify the ratio for the selected portion of the period.
⑤If testing with a certain delay in order execution, set it here.
⑥Choose the method of testing.
⑦Set the starting amount for the test.
⑧Set the leverage.
⑨Choose whether to perform optimization and select the method of optimization. 'Disable' means no optimization. Other options specify the method of optimization.
⑩If not optimizing: Check for visual mode to see the trade progression (visual mode increases testing time).
If optimizing: Select the criteria for optimization.

In the 'Parameters' tab, set the parameters and the settings for optimization testing.
①If performing optimization testing, check the items.
②If testing without optimization, set the parameters in the value field.
③Specify the minimum value for optimization testing.
④Specify the interval from the start value for optimization testing.
⑤Specify the maximum value for optimization testing.
⑥The number of patterns to be tested during optimization testing will be displayed.

Once the settings are complete, click the Start button in the lower right to begin the test.
If the testing period is long or if there are many combinations in optimization testing, it may take several hours to several days, so try to configure the test period to be as short as possible.

Once the test is completed, depending on the test content, the following tabs appear in the Strategy Tester, allowing you to check the results.
You can check backtest data overview and scroll down to view it in a graph.

Check the number of trades and profit/loss trends by time of day in a graph.

Check the correlation between profit/loss, maximum favorable excursion (MFE), and maximum adverse excursion (MAE) in a graph.

Check the distribution of position duration and profit/loss in a graph.

Check the trends of account balance and margin in a graph. The blue line represents the account balance, and the green line represents the margin.

When optimization is performed, you can check the results. You can sort the results by each item.

Right-click within the backtest, select Save Report, and save it in HTML format viewable in a browser.
