How to test an MT5 utility in the Strategy Tester before you buy
Short answer: download the product for the Strategy Tester from its page on the MQL5 Market. Open the Strategy Tester (Ctrl+R), choose the product as the Expert, pick a symbol and a short date range. Tick Visual mode and press Start. A utility needs the visual window. That's where its panel shows up and where you can click it.
Utilities are awkward to test. The Strategy Tester was built for robots: you press Start, it trades on its own and you get a balance curve at the end. A utility does nothing on its own. It waits for you. So the usual report tells you nothing. You have to sit in front of the chart and use it, the way you would on a real day.
Step 1: get the version for the Strategy Tester
On the product's MQL5 Market page there's a button that downloads it for testing. MetaTrader 5 installs it and it appears in the Strategy Tester's list of Expert Advisors. That version runs only in the tester.
Step 2: start a visual test
- Open the Strategy Tester: View › Strategy Tester (Ctrl+R).
- Choose the product as the Expert.
- Pick a symbol you actually trade and a recent date range. A few days is plenty.
- Choose a modelling mode based on every tick, so the price moves the way it does on a live chart.
- Tick Visual mode and press Start.
Without the visual window there's no chart to click on. A utility running in a plain test or an optimisation has nothing to show you.
Once the chart opens, slow it down with the speed control. At full speed a whole trading day goes by before you've found the buy button.
Step 3: use it like you would on a real day
Don't just watch. Try the things you'd do on a normal session.
- Open a trade with your usual risk and stop. Check the lot against your own sum.
- Move the stop. If the tool sizes from risk, the lot should change with it.
- Let a trade run. If it has break-even or partials, watch them happen at the levels it says.
- Close part of a position by hand. See what's left and whether the panel keeps up.
- Try to break it. Open one trade too many. Or one that's too big for your limits. A good tool says no and tells you why, in words you understand.
- Read every message. If a message confuses you in a calm test, it'll confuse you more on a bad day.
Example: checking the lot in the tester
Use the formula from our position size guide and see whether the tool agrees.
Lot size = money at risk / (stop distance × value of that distance for 1 lot)
- Test deposit: 10,000 in USD. Risk: 1%, so 100.
- EURUSD, stop 20 pips from the entry, 0.00200.
- 0.00200 on 1 lot is worth 200.
- 100 / 200 = 0.50.
- The tool should show 0.50 lot. If it doesn't, find out why before you buy.
A different number isn't always a bug. Commission, rounding to the volume step or a different contract size can move it. A good tool shows you which one.
What the Strategy Tester can't show you
Some limits come from the tester itself, not from the product. Knowing them saves you from blaming the wrong thing.
- Orders go to a simulator. It replays past prices. It tells you nothing about fills, spreads or speed on your own account.
- Typing into fields on the chart often doesn't work. MetaTrader 5 doesn't pass what you type to a chart panel in the tester. A well-made utility gives you another way to set values, with buttons or by dragging lines.
- Hover effects don't show. Mouse moves without a click don't reach the panel.
- Push notifications don't work in a test. Features built on news may not either. Check those on a live chart.
- Settings start fresh. Each run starts from the product's defaults or the inputs you gave it. Your own settings from a live chart don't come along.
- Time runs fast. A message that stays up for ten seconds of your time can cover hours of test time.
After the tester
The tester shows you how a tool looks and feels. It can't show you how it behaves on your own account, with your own symbols and settings. That's the last check. Many MQL5 Market products can also be rented for a few months, which is a cheaper way to run one live before you buy it outright.
Common questions
Does the version for the Strategy Tester cost anything?
No. You download it from the product's page and it runs only in the tester.
Why does the utility show nothing in my test?
Visual mode is probably off. Without the visual window there's no chart and no panel.
Why can't I type into the panel's fields?
In the Strategy Tester MetaTrader 5 doesn't pass keyboard input to the chart. It's a limit of the tester. Use the buttons or drag the lines instead.
Do my settings from the tester carry over to a live chart?
Usually not. Treat the tester as a look at the product, then set it up properly on your live chart.
Can the tester tell me how a tool behaves on my account?
No. It replays prices in a simulator. The account check has to happen on the account.
Tomky, Dojiwave · Updated