Skip to main content

Generator

The Generator explores strategies at scale (random search by default), evaluates them on your history, and — if enabled — saves them to the Databank. Compute runs on your TPA (server worker only in special environments); for customer production, assume the TPA is online.
Strategy Generator page

Generator form. Click to zoom.

You need a symbol downloaded under Market data and a linked, online TPA. Without data or an agent, the job will not start or enqueue will fail.

Typical flow

  1. Open Generator.
  2. Pick a symbol (already downloaded) and date range (empty = full available history).
  3. Set attempts (n), risk/costs, and workers.
  4. Enable Save to databank if you want the run persisted.
  5. Click Generate and follow progress on the page or in Jobs.
You can keep navigating — the job runs in the background.

Data

Partial coverage or a missing symbol is called out in the UI with a link to Data.
  • Attempts: how many candidate strategies to explore.
  • Min trades / max leaves: minimum viability and entry-rule complexity.
  • Genetic evolution from an already saved strategy is done in Databank → Evolve (you do not need to invent GP from scratch here). See Strategy detail.

Exit / order types

Opt-in by probability (0 = never):
  • Break-even, time exit, reverse / opposite signal
  • Pending Stop/Limit orders
  • Entry trigger edge (false→true pulse) vs re-enter while the signal stays true
  • Force edge on multi-TF when HTF leaves exist (better MT parity on sticky signals)
  • Max entries/day (0 = no run-level cap)
These mechanisms export to MQL with backtest parity when applicable.

Risk, costs, and validation

Workers and memory (OOM)

Workers evaluate in parallel. Each extra worker copies data and caches in RAM. With long series (M1 / multi-TF), 2–4 workers can exhaust memory.
  • Start at 1.
  • Increase only if you have spare RAM and stable runs.
  • If the job dies with OOM / process-pool errors, lower workers or shrink range/n.

Saving and live Databank

  • Save to databank: persists the run (not only temporary on-screen results).
  • Update databank every (seconds): incremental top-K flush while the job runs (min ~5 s; default ~60 s). A final reconciliation happens at completion.
  • With TPA, mid-run flush also feeds the Databank when agent and job are set up for it.
During an active generation, the Databank may show a live job and refresh on its own.

Reset and draft

  • Reset restores generator defaults (does not change global Settings).
  • The form draft is stored in the browser per user; switching accounts should not inherit another user’s draft.

Presets and multi-TF

Saving/loading presets and timeframe randomization: Presets and multi-timeframe.

Next