Collection Guide
A collection is where SBP keeps the strategies you have already tested. There is one collection per market, and it holds every candidate you chose to keep for that market together with the backtest result each one produced.
Collections sit between searching and deciding. The Generator and the Optimizer write candidates into a collection, you compare and prune them there, and the strategies you trust go on to the Portfolio, to MetaTrader 5, or back into the Strategy Editor.
The category has one page, the Collection page, which is the collection manager itself.
Quick reference
| Page | Purpose |
|---|---|
| Collection | Browse, compare, filter, prune, recalculate and export the strategies of one market |
What a collection is
A collection is bound to one market — a source, symbol and period such as MetaQuotes-Demo EURUSD H1 — and that market is its name. Two markets never share a collection, and a market keeps at most one.
A stored strategy is a record: the strategy itself with its features, indicators and parameters, the statistics of its last backtest, the account and market it was tested on, the balance and equity curves drawn on its card, and the data time it was last fit against. A record carries no trade list — that is what the Portfolio stores — so a strategy copied from a collection into the Portfolio arrives pending and is calculated there.
Collections are kept in this browser, not on the server. They are written as one payload together with the collection settings, so they share one storage budget: a collection big enough to outgrow it cannot be saved at all, and the Collection page says so above its collections list. Export is the backup, and Import brings an export back.
What a collection is for
- Compare instead of gambling. One backtest is one sample. A collection keeps a set of candidates for the same market, so their statistics and balance curves can be read side by side.
- Keep the best, not everything. The capacity decides how many strategies every collection keeps; the ones beyond it are trimmed, worst first by the current sorting criterion.
- Drop near-duplicates. Correlation detection finds strategies whose balance lines move together. With automatic resolution on, they are removed rather than only marked, so the collection does not fill up with the same edge counted twice.
- Judge strategies on data they were not fit against. Every record knows the data time it was last modified against. Recalculating on newer data turns the bars after that boundary into an out-of-sample window, and the OOS figures then say how the strategy held up forward.
- Hand strategies on. A record opens in the Strategy Editor for further work, can be copied to the Portfolio, or can be downloaded as a MetaTrader 5 Expert Advisor. The whole collection can be exported as a JSON file and imported again later or on another machine.
How strategies get into a collection
| Where | What it writes |
|---|---|
| Strategy Editor — Add → Add to Collection | The strategy and the result of its current backtest |
| Strategy Optimizer — Accept | The selected candidate |
| Walk Forward — Accept | The accepted result |
| Generator — a run | Every candidate the run accepts, written as it goes |
| Collection — Recalculate | Fresh statistics for the strategies already stored |
| Collection — Import | A collection read from a JSON file (SBP or EA Studio format) |
Each of them passes through the same gate: a strategy replaces the stored one with the same magic number, otherwise it is appended, then duplicates are removed, correlation is applied when the detection is on, and the collection is trimmed to the capacity. A market's collection exists only while it holds a strategy — the first write creates it, and removing its last strategy removes the collection too.
What is shared and what is not
The records belong to one collection. Most of the rules belong to the application:
| Setting | Scope |
|---|---|
| Capacity | Every stored collection |
| Records filters — the switch and the criteria | Every collection, and the Coll side panel |
| Correlation detection, threshold, automatic resolution | Every stored collection |
| Sorting criterion | Every collection, and the Coll side panel |
| Out-of-sample switch | The view it was set in; the Collection page and the Coll side panel have their own |
Because these rules are shared, a change can affect collections you are not looking at. The settings that can remove strategies therefore ask for confirmation first and name every affected collection with the number of strategies it would lose.
The compact view beside the page
The right side panel's Coll tab is the same data in short form: the collection the application currently follows, its strategies as small cards, and the same remove, recalculate, export, Expert and portfolio actions. It is pointed at the Generator market, so it shows the collection a run is about to fill before the run has written anything.
Pages
Collection
Purpose: Manage the stored strategies of one market.
Summary: The collections list on the left with the selected collection's status and, below it, the record filters, the capacity and the correlation settings; the records of the selected collection on the right, each with its own balance chart and statistics, and the sort control, the out-of-sample view and the paginator above them.
Key actions:
- Pick a collection and read its records, sorted by a full-data or an out-of-sample criterion.
- Turn the records filters on, or remove the strategies that fail them.
- Set the capacity and the correlation rules shared by every collection.
- Recalculate the stored strategies against the current market data and settings.
- Import a collection from JSON, export the whole collection, or copy its best strategies to the Portfolio.
- Open a record in the Strategy Editor, remove it, send it to the Portfolio, or download it as an Expert Advisor.
Related pages
- Generator — produces the candidates a collection stores.
- Portfolio — tests strategies from any market together on one account.
- Strategy Editor — where a stored strategy is edited, re-tested and added to the collection.
- Strategy Optimizer and Walk Forward — where accepted candidates come from.
- Data Horizon — limits the data a recalculation and an Expert download run on.