Set ranges and start a smart search
Open “Optimization” with the strategy, click the numbers you want to try and set each range under “from”, “to” and “step”. Go through “Rules between numbers” to “Period and launch”, keep “Check the best on fresh days” on, and choose “Fast” or “Try everything”. Press “Start optimization”; it runs on the server even if you close the tab.
Steps
- Open the strategy in “Strategies”, then click “Optimization” in the menu.
- In “What to optimize”, switch to “Cards” if you prefer a list, and tick the numbers to try.
- On the right, set from, to and step for each. The bar at the bottom shows how many combinations that is and roughly how long it takes.
- Press “Next: rules →”. Add a rule if some combinations make no sense, for example a stop wider than the target, or just go on.
- In “Period and launch”, choose the period and what counts as best, then “Fast” or “Try everything”, and press “Start optimization”.


Good to know
- “Fast” runs promising combinations and refines around the best ones; when the grid is small it simply runs them all.
- With fresh days on, the search never sees the last part of the period; the best numbers are then checked there.
- Optimization uses backtest-years; see backtest-years and AI credits. If it waits in a queue, see a run is queued.
- More answers in the backtesting FAQ.
Related
- Optimization Lab: search a strategy’s parameters
- Parameter optimization with a check on unseen days
- Apply the best result
More in The labs
- Capital and costs before a run
- By year, crashes, random segments
- A backtest made no trades
- One-second bars
- Compare symbols
- Draw and keep levels
- Renko and range bars
- Build a watchlist
- How a symbol traded
- Choose the ticker
- Save, export and share
- Compare two runs
- Run the checks
- Run Chances to pass
- Start a demo challenge
- Replay from the chart
- Practise with bar replay
- Import a broker report
- Compare with a strategy
- Screenshots and a checklist
Still need help?
Or email support@matanalabs.com. Browse all topics in the Help Center.