XAU Hunter EA
Open your MT5 platform.
In the top menu, click on View -> select Strategy Tester (or simply press the shortcut keys Ctrl + R on your keyboard).
The Strategy Tester panel will appear at the bottom of your screen.
Inside the Strategy Tester panel, make sure you are on the Settings tab.
Click on the Expert Advisor drop-down menu.
Look for the Market subfolder and select XAU Hunter EA Demo. (Note: Any demo downloaded from MQL5 will automatically be stored in this Market folder).
Set up the test conditions according to the recommended settings:
Symbol: Select XAUUSD or GOLD.
Timeframe: Choose the recommended timeframe (e.g., M5 / M15 / H1).
Period: Select the historical data range you want to test, such as Last Year, Last 3 Months, or choose Custom Period to input specific dates.
Forward: Set to No.
Delays: Select Every tick based on real ticks (This provides the most accurate modeling for gold trading).
Deposit: Enter your simulated starting balance (e.g., 1,000 USD or 10,000 USD).
Leverage: Set it to match your broker's leverage (e.g., 1:500).
Once all settings are configured, click the blue Start button in the bottom right corner.
The system will quickly process the historical data.
Once completed, you can check the following tabs to view the results:
Graph Tab: Displays the growth curve of your account balance. Ideally, you want to see a smooth upward-sloping green line.
Backtest Tab: Provides a detailed statistical report including total net profit, maximum Drawdown (DD) percentage, profit factor, and Win Rate.