Enabling and Preparing Visual Testing
To begin a visual review, open the Strategy Tester and select the Visual Testing checkbox. The documentation states that this mode is unavailable when optimization is enabled and can only run on local agents, so ensure no remote agent is selected. Before starting, confirm that all required symbols are visible in the Market Watch window; the tester automatically downloads missing price data for the main chart and any additional instruments used by the Expert Advisor. The visualizer opens a separate window that simulates a full trading platform, complete with charts, Market Watch, and a Toolbox, allowing you to observe every trade as it occurs on historical data.
The testing period always starts and ends at 00:00:00 of the specified dates, and the end date is excluded from the run. If you need to jump to a specific moment, use the toolbar or hot keys to pause, speed up, or slow down the simulation. You can also open the chart after the test by right-clicking the Result tab and selecting Open Chart, which will display all deals as icons with dotted lines connecting entries and exits. If a template named tester.tpl exists in the profiles/templates folder, it will be applied automatically; otherwise, the default template is used.
Sources: MetaTrader 5 documentation: testing MetaTrader 5 documentation: features
Monitoring Trades and Price Data in Real Time
While the visual test runs, the main chart shows buy and sell icons for each trade, along with dotted lines linking market entries to exits. The Market Watch window, accessible via Ctrl+M, displays generated prices for the main symbol and any additional instruments the EA uses; the Ticks tab within it plots up to 64,000 simulated ticks. For granular detail, open the Data Window with Ctrl+D to inspect OHLC values, spread, volume, and indicator outputs for any bar under the cursor. This is especially useful when verifying whether an Expert Advisor reacted correctly to a specific price event or indicator crossover.
The Toolbox window provides deeper trade analysis through three tabs: Current open positions and pending orders, History of orders and deals, and History of trade requests. Each entry in the Trade and History sections reveals exact parameters such as volume, price, stop loss, take profit, and commission. Because the visualizer runs locally, agent logs are not sent to the platform; you can retrieve them later via the Local Journals command in the context menu of the Strategy Tester.
Sources: MetaTrader 5 documentation: testing MetaTrader 5 documentation: features
Inspecting Tester Output and Statistical Reports
Once the visual run completes, switch to the Result tab for a comprehensive testing report. It presents general metrics like net profit, number of trades, and Sharpe ratio, alongside detailed statistics on trade distribution by hour, day, and month. The Graph tab displays the balance curve in blue and the equity curve in green, with a histogram at the bottom showing deposit load as the ratio of margin to equity. For exchange accounts using netting or hedging risk management, only the equity curve is shown, and balance reflects actual account funds without considering assets and liabilities.
The Journal tab captures both testing progress and Expert Advisor messages, serving as an audit trail for logic errors or unexpected behavior. If you enabled forward testing, a separate Forward tab appears, with a vertical line marking the start of the forward period and its own set of results. These outputs help you determine whether the strategy maintains performance out-of-sample without relying on any external interpretation thresholds.
Sources: MetaTrader 5 documentation: testing MetaTrader 5 documentation: features
Reviewing Execution and Tick Modeling Settings
Before finalizing your review, verify the execution and tick generation settings used during the visual test. The Execution section offers No Delay, Random Delay, and Fixed Delay modes; Random Delay generates a 0-8 second delay 90% of the time and a 9-18 second delay 10% of the time, while Fixed Delay lets you match the platform-measured ping to the trade server. Delays apply only to order placement, not execution, and in instant execution mode you can also test the EA response to requotes when the deviation exceeds the specified slippage.
For tick generation, Every Tick mode is the most accurate but slowest, simulating every incoming tick, whereas Every Tick Based on Real Ticks uses accumulated broker data without simulation. The 1 Minute OHLC mode emulates only four prices per minute bar, and Open Prices Only mode additionally models OHLC but relies solely on the open price for decisions. Math Calculations mode skips history download entirely and calls only OnInit, OnTester, and OnDeinit, making it suitable for quick parameter checks but not for trade simulation.
Sources: MetaTrader 5 documentation: testing MetaTrader 5 documentation: features
Validating Indicator Behavior and Custom Symbol Settings
The visual mode also allows you to test custom indicators before purchase from the Market. Select the program type as Indicators, choose the indicator, and click Start; visualization is enabled automatically. The indicator’s output appears on the chart generated from simulated ticks, and you can toggle its visibility or adjust colors via templates. If the indicator calls IndicatorRelease in its code, it will not display on the chart, so verify this in the source if the visual seems incomplete.
For deeper scenario analysis, use Custom Testing Symbol Settings to overwrite specification parameters such as volumes, trading modes, margin requirements, and execution mode without creating a separate symbol. An asterisk on the gear icon indicates custom parameters are active. Similarly, the Advanced Testing Settings let you configure maximum open orders, trading sessions, margin call levels, and commission structures—single or multi-level, charged per deal or per lot, in deposit currency, base currency, points, or percentage. These documented controls let you replicate different broker conditions and ensure your EA behaves as expected under varied market structures.
Sources: MetaTrader 5 documentation: testing MetaTrader 5 documentation: features
AI-assisted educational article. Automated checks reviewed source support and quality; they do not guarantee accuracy. This is not investment advice. Leveraged and automated trading involves substantial risk of loss.
Sources & further reading
MetaTrader 5 documentation: testingMetaTrader 5 documentation: featuresEducational content only. This article is not investment advice. Automated and leveraged trading involves substantial risk of loss.