Market regime analysis: the “Market regimes” check
A market regime analysis splits a strategy’s trades by the kind of market they were made in. Matana Labs labels every day from the days before it, as trend, mean reversion or range, and as calm, normal or choppy, using the same thresholds as the app’s Quick analysis. A strategy that loses in one regime may need a filter for it.
What it checks
Where the strategy lives: in a trend, in a range, on calm or choppy days.
The question behind it: Where does it work and where not? In the app it is in Analysis Lab → Checks, stage “Deep”. For extra confidence: market regimes, neighboring timeframes, other tapes, noise. Can be skipped.
How it works
Each day of the period is labeled from the previous 20 days with the same thresholds as in “Quick analysis”: a correlation between neighboring days above 0.12 is a trend, below −0.12 is mean reversion, otherwise a range; an average daily range above 2.5% is choppy, below 1% is calm. Trades are split by their entry day.
How it gets its status
These are the app’s own rules, shown on the check’s card:
- holds: in every regime with enough trades, the average trade has the same sign as the result
- with a caveat: the sign is different in some regime
- can't be computed: fewer than 5 trades in a regime (each regime separately)
With fewer than 30 trades or 20 days in the run, the check still shows its numbers, but its status is at most “with a caveat” and the result is marked as unreliable.
How to read the result

- One row per regime, with trades, total result, average trade and a few example days to open on the chart.
- Thin rows have too few trades for a conclusion; they are dimmed and marked “can’t compute”.
- The status compares the sign in each regime with enough trades against the overall result.
In the score out of 100
When it has a status, it counts toward the overall score with weight 1: “holds” earns full points, “with a caveat” half and “broke down” none; “can’t compute” is left out.
Every plan, the free one included, can run it; any engine runs it needs are counted in backtest-years.
If it breaks down
In these regimes the strategy loses. The candidate below shows what it would be without such days; the regime condition can be built in the constructor.
This is the app’s own suggestion; under Improvement the app tests candidate changes on the engine before it shows them.
Keep reading
Questions
Can a trade count in two regimes?
Yes. Each day has a direction label and a volatility label, so a trade counts once in each of the two splits.
Does the label use future data?
No. Each day is labelled from the days before it, so the label is known when the trade is made.
What do I do with a losing regime?
You can build a regime condition in the strategy builder and test it. Check the change on held-back data so you don’t fit the past.