Strategy Multi Market
A single backtest answers "did this strategy make money on this market?". The Strategy Multi Market page answers the question behind it: "does the strategy need exactly this market, this chart period and this broker, or does it work on all of them?".
The page takes the strategy of the Strategy Editor, with its entry and exit rules, its features, its account configuration and the Data Horizon, and backtests it on every server of the Servers list, every symbol of the Symbols list and every selected period of the Periods list. Then it checks every result against one shared criteria list, so the same requirement is applied to every market.
A market is one symbol on one chart period, and a combination is one market on one server. The three lists are independent, so three servers, four symbols and two periods make twenty-four combinations; each one is a separate backtest with its own row in the tables, its own line in the chart and its own validation result.
The page is two columns. The left column holds one tab set — Markets, Settings, Validation, Statistics — and the right column keeps the output in view whichever tab is open: the Markets chart and, under it, the Market performance table, which is the chart's legend.
Before you start
- The page has no strategy selector and no market selector of its own. The strategy, the initial account, the account currency, the leverage, the stop-out level and the Data Horizon's trade start all come from the rest of the app; change them in the Strategy Editor and the page reloads for the new strategy and market.
- Start stays disabled until the current market's data is loaded. If that data cannot be loaded, the page reports it in a warning above the workspace and has nothing to test.
- Every combination loads its own market data when the run starts, so a large cross product is also a lot of loading. Use the Max count of tests bound on the Settings tab to keep a run practical.
- Set the criteria on the Validation tab first. Every combination is judged against them, so they define what "passes" means for the whole page.
- Pick the strategy's own market and period in the Editor with care: its market is row 1 of both lists and its period is always one of the tested periods.
- The page opens in Automatic selection: it picks the markets for you from the current market. Switch to Manual on the Markets tab to choose the servers, symbols and periods yourself, or to change what Automatic picked.
Toolbar
The toolbar holds the run controls and the page's three figures.
Start and Stop
Start runs every combination the three lists make, up to the Max count of tests bound. While a run is in progress the same button reads Stop; clicking it requests cancellation: the combination being calculated finishes, the remaining ones are skipped, and the calculated results are kept.
Start is enabled only when the current market's data is loaded. While a run is queued or running, the server and symbol lists, the period toggles, the bound and the criteria are disabled, so a run cannot be changed halfway through. Clear and Reset are disabled too, and the statistics table stays sortable.
Progress, Calculated and Validated
- Progress is the share of the run's combinations that have been calculated. It reads Loading… while the run is priming the market data of its first combination.
- Calculated is the number of combinations already backtested.
- Validated is how many of the calculated combinations passed the criteria, shown as "passed of calculated" — so three passing out of twelve calculated is "3 of 12".
The counts follow the run's own plan, and the plan counts the combinations whose data could be loaded, so a skipped market never leaves the progress bar short.
Clear and Reset
- Clear drops the calculated results and keeps the current market's own backtest on the chart and in the tables. The tested servers, symbols and periods, the Max count of tests bound, the selection mode and the validation criteria are kept, and the page returns to the Markets tab.
- Reset does what Clear does, and also restores the defaults: Automatic selection with 5 markets, the current server alone, the current symbol with four related ones, the current period, a maximum of 20 tests, and the default validation criteria.
Background runs
A run continues when you leave the page. While it is running, a red play marker is shown on the Multi Market tab, so you can follow it from any page; open the page again to see its progress and results. A run keeps the strategy, the three lists, the Data Horizon, the account and the validation criteria it was started with, so changing them does not alter a run already in progress. Completed combinations stay available after a cancellation and while you navigate between pages.
Markets tab
The Markets tab is the list of combinations to test: how the markets are selected, then the tested periods, then the servers and the symbols side by side. All three lists are remembered, so the page opens on the selection you left behind.
Market selection
The selection mode decides who fills the three lists: the page or you.
| Control | Description |
|---|---|
| Mode | Automatic picks the markets; Manual hands the three lists over to you. |
| Markets | How many markets Automatic picks: 1 to 10, 5 by default. Manual only, it is disabled. |
Automatic tests the current market's own server and period with the requested number of the most closely related symbols — the same quote currency first, then the same base currency, then the crosses. It replaces the whole previous selection, so the servers, symbols and periods you picked are not carried over; the mode and the number of markets are remembered. It re-picks the markets whenever you change the number, change the Editor's market, press Reset, or switch back to Automatic.
Because Automatic asks for a number of markets, the Markets select is the only list control that stays enabled: the server, symbol and period controls are locked, and the Servers list shows the current server alone. When the current server offers fewer symbols than you asked for, the page tests the ones it has and says so in the card: "Not enough symbols. 2 available of 5 requested."
Manual keeps exactly what Automatic selected and unlocks it: the symbol select, Add symbol, the other period toggles and the servers you add. The current market's own server, symbol and period stay locked as before, so it is always one of the tested combinations.
Either way the tables are filled before the run: the Statistics tab and the Market performance table list every planned combination with dashes for the figures, and the current market keeps its own calculated preview.
Periods
The Periods card selects the chart periods every symbol is tested on: M1, M5, M15, M30, H1, H4 and D1. Several periods can be selected at once, and each symbol on each period is its own market with its own line in the chart.
The period of the current market is mandatory. Its button stays checked and cannot be switched off, so the page always has a market to preview, to draw and to anchor the chart. Automatic selection tests that period only, so every other toggle is disabled while it is on.
Servers
The Servers card lists the data sources to test on. The first row is always the data source of the Strategy Editor and cannot be changed or removed; every other row selects one data source, and a data source can appear only once. Automatic selection tests the current server only and shows that row alone.
| Control | Description |
|---|---|
| Add server | Appends the next data source that is not in the list yet. |
| Data source | The server the data of this row's combinations is loaded from. |
| Remove | Removes the row from the list. The current data source's remove button is disabled. |
Symbols
The Symbols card lists the instruments that are tested on every server and every period. The first row is always the instrument of the Strategy Editor and cannot be changed or removed. The symbols on offer are the union of the symbols of the selected servers, grouped by category. Automatic selection lists the closest related symbols, as many as the Markets count says, with the list locked.
| Control | Description |
|---|---|
| Add symbol | Appends the next instrument that is not in the list yet, preferring the ones most closely related to the current symbol (same quote currency, then the same base currency, then the crosses). |
| Symbol | The instrument of the row, grouped by category. |
| Remove | Removes the row from the list. The current symbol's remove button is disabled. |
Changing a server rebuilds both lists, because the new data source changes which symbols are on offer. A symbol the selected servers cannot resolve is dropped instead of being tested without data.
A combination that a server does not offer, or whose data cannot be loaded, is reported above the workspace and skipped; the remaining combinations are still calculated. Such a combination keeps its row and its chart slot, shows dashes instead of the figures, and reports No data in the Validation column, so it is never counted as a failed validation. When not even one combination can load its data, the run fails and a message reports the reason.
Settings tab
The Settings tab holds the run's bound.
| Setting | Default | What it does |
|---|---|---|
| Max count of tests | 20 | How many combinations one run tests, 1 - 100. |
A run walks the servers first, then the symbols, then the periods, and stops at that count; the combinations above it are not tested. When the three lists make more combinations than the bound, a note above the workspace says how many they make and how many are tested.
Every combination loads its own market data when the run starts, so the bound is also what keeps one run inside memory: a large number of markets is a large amount of data. Automatic selection asks for at most ten markets and does not approach the default; the bound matters once you widen the lists in Manual mode.
The bound does not trim the lists themselves, and changing it leaves a finished run's results in place: lowering it only shortens the next run.
Validation tab
The Validation tab holds the page's single criteria list. Every combination is checked against it, on its full data: Multi Market has no out-of-sample split, so one list is all there is.
- Add criteria opens a menu of the available metrics; pick one to append it with its default limit. Every metric can appear once, and the menu is sorted by name.
- Each criterion has a value field for its threshold and a remove button. A criterion can require a minimum, such as Minimum net profit or Minimum count of trades, or impose a maximum, such as Maximum equity drawdown % or Maximum stagnation %.
- The reset button next to Add criteria restores the default list.
The default criteria are Minimum net profit 10 and Minimum count of trades 100. They are deliberately not empty: a combination with a handful of trades is not evidence, however good its profit looks.
The toolbar's Validated figure counts the combinations that pass this list, so a criterion that is stricter than you meant shows up as a low pass rate on every market rather than as a single bad one.
Right column
The right column holds the chart and its legend, both always visible, so the output never hides behind the tab you are editing.
Markets chart
The chart draws one account balance line per combination. Every symbol gets its own colour and each period is a lighter or darker shade of that colour, so the lines of one symbol stay recognisable and its periods stay apart. Because the colour identifies the symbol and the period and nothing else, two servers testing the same symbol on the same period draw the same colour: the Market performance rows name them, and pointing at a row highlights one line at a time. Balance lines are reduced to at most 500 chart points, so large data sets and many combinations remain practical.
The current market's own backtest is drawn from the moment the page opens, before the first run; the first run replaces it with the same calculation. Every planned combination holds its line slot from the start of the run, so a combination that is still being calculated or has no data leaves a gap instead of shifting the colours of the others; a market the selection drops takes its line with it.
Market performance
The Market performance table under the chart is the chart's legend. It has one row per chart line: the swatch of its line, the market and its net profit. The swatch repeats the colour of the line, so a row and a line can be matched by colour.
The table sorts by Market A to Z by default. Click Market or Net Profit to sort, and click the same header again to reverse the direction. Results without a profit stay at the bottom when sorting by Net Profit. The chosen order is remembered and does not change the chart or the Statistics sort. A long market name wraps in full instead of being shortened.
The Market performance table grows up to a height of 28rem, then scrolls vertically. Its header stays visible while the rows scroll.
Pointing at a row highlights its line: that line is drawn at full strength and slightly thicker while every other line is dimmed, so one market can be followed through the overlay. Moving off the table restores the normal chart.
A market is listed as soon as it is requested, so a row of a combination that is still being calculated, has no data or failed shows a neutral grey swatch and a dash instead of the profit, and pointing at it changes nothing. Before the first run the table lists the whole planned selection — the same markets the Statistics tab shows — and only the current market's own preview has figures.
| Column | Description |
|---|---|
| Line | The colour of the market's line in the chart. |
| Market | The data source, symbol and period of the line. |
| Net Profit | The net profit of the combination in the account currency, green for a profit and red for a loss. |
Statistics tab
The Statistics tab holds one row per planned combination: every server, symbol and period the run walks, in that order. Rows are listed before the run starts — the table is the plan — and fill in as results stream, so it doubles as the run's progress list. A market you add or a period you tick appears at once with dashes, and a calculated result is never dropped by an edit: a market that stays selected keeps the figures the last run measured for it. The table lists the live selection, so a market the selection no longer holds — a smaller Markets count, a removed symbol, a lower bound — leaves the table at once, together with its chart line, and asking for it again brings its figures back.
The table grows to fit all rows and scrolls horizontally when its columns do not fit.
| Column | Description |
|---|---|
| Server | The data source of the combination. |
| Symbol | The instrument of the combination. |
| Period | The chart period of the combination. |
| Balance | The final account balance of the backtest. |
| Profit | The net profit in the account currency, green for a profit and red for a loss. |
| PF | The profit factor. |
| Profit/day | The average profit per calendar day of the backtest. |
| Max DD% | The maximum equity drawdown in percent. |
| Return/DD | The net profit divided by the maximum drawdown. |
| Trades | The number of closed positions. |
| Win/loss | The average win divided by the average loss. |
| Valid. | Whether the combination passed the validation criteria: Pass, Fail, or No data when its data could not be loaded. |
A combination that is still being calculated or that could not be calculated shows dashes instead of the figures, and an empty Valid. cell means the result is not judged yet.
The table opens sorted by Balance, best first. Click a column header to sort by it and click it again to reverse the direction: numeric columns start with the largest value first, text columns A to Z. Rows without a result always sink to the bottom, so the table never hides a real result behind a combination that has not been calculated. The chosen sort is remembered with the page settings.
Recommended workflow
- Backtest the strategy in the Strategy Editor and confirm it is worth comparing across markets.
- Set the criteria on the Validation tab: at least a minimum net profit and a minimum trade count, so a market with three lucky trades cannot pass.
- Leave the Markets tab on Automatic with five markets and start the run: the closest related symbols are the cheapest answer to "does this strategy need exactly this symbol?".
- On the Markets tab, switch to Manual to add the servers and symbols you actually trade and the periods that matter, and set the bound high enough to cover the ones you care about first.
- Start the run and watch the chart: the interesting result is usually the spread between the best and the worst line, not the best line.
- Open the Statistics tab and sort by Return/DD or Max DD% to find the markets that are actually comparable, then read the Valid. column for the pass rate.
- Compare the servers: the same symbol on two brokers is the cheapest test of how much of the result is spread and data, rather than strategy.
- Narrow the list to the markets that held up and confirm the result on one of them in the Editor, with its own backtest and its own statistics.
Common problems
Start is disabled
The current market's data is still loading, or it could not be loaded; the warning above the workspace carries the reason. Sign in, open the current market once in the Strategy Editor so its data is available, then reload the page.
Many combinations show "No data"
Those markets are not offered by their server, or their data could not be fetched. The warning above the workspace names them. Drop them from the lists, or import their data first; the combinations that did load are still calculated and validated.
The run stopped early
Stop is a cancellation, not a failure: the combination being calculated finished, the rest were skipped, and the calculated results are kept. Press Start again to run the whole list from the beginning.
The results did not change after I edited the settings
A run keeps the settings it was started with. The edits apply to the next Start, and while a run is active most controls are disabled exactly because of that.
Only some combinations were tested
The lists make more combinations than Max count of tests, and the note above the workspace says so. Raise the bound on the Settings tab. The combinations are walked server by server, then symbol by symbol, then period by period, so the bound cuts the end of that walk: raise it only when the front of the walk is what you mean to test first.
The page selected fewer markets than I asked for
"Not enough symbols. 2 available of 5 requested." in the Market selection card means the current server offers fewer symbols than the Markets count asks for; the page tests the symbols it has and leaves the rest out. Ask for fewer markets, or pick a server with more symbols in the Editor.
Every combination fails validation
Check the criteria before the strategy. A minimum trade count that is too high for a short data history, or a maximum drawdown that is too low for the account size, fails a whole table of otherwise reasonable results.