Scenarios and date ranges
Run multiple parameter variations simultaneously and compare results across different market conditions.
Coinrule's backtest panel lets you run up to 5 parameter variations simultaneously and compare their results across predefined or custom date ranges. This article explains how to configure multiple scenarios, choose a historical date range, and interpret the side-by-side comparison view.
Multiple scenarios
You can run up to 5 parameter variations in a single backtest. This is useful for comparing:
- Different RSI periods:
RSI(14)vsRSI(21)vsRSI(9) - Different take-profit levels: 3%, 5%, 8%
- Different capital allocations: 5% vs 10% vs 20%
To add a scenario:
- Open the Backtest panel
- Click + Add scenario
- Adjust the parameter you want to vary
- Repeat for each scenario
- Click Run all scenarios
The results panel shows all scenarios side-by-side.
Choosing a date range
Predefined ranges
| Range | Good for |
|---|---|
| 30d | Quick sanity check, recent volatility |
| 90d | Includes a full market cycle for trending pairs |
| 6m | One bull + one bear phase for most crypto pairs |
| 1y | Covers a full year including seasonal patterns |
| 2y+ | Enough data to statistically validate an edge |
Custom range
Set a specific start and end date. Useful if you want to test:
- A strategy in a specific bull market (e.g. Nov 2020 – Nov 2021)
- A bear market only (e.g. Nov 2021 – Nov 2022)
- A low-volatility sideways period
Walk-forward analysis
A good practice is to:
- Optimise on a training period (e.g. 2021–2023)
- Validate on a held-out period (e.g. 2024)
- If the held-out period also shows positive results, the strategy has more robust evidence
This reduces the risk of overfitting.
Scenario comparison UI
The comparison view shows:
- A combined equity curve chart (one line per scenario)
- Side-by-side stats table (return, max drawdown, win rate, trade count)
- A ranked list sorted by risk-adjusted return
Click any scenario to see its individual trade list.