Drivers: Which Parameters Move the Result?

Parameter sensitivity bars beside a heatmap illustrating an interaction between two inputs.

Key takeaways

  • Drivers is a view inside Analyze for inspecting one sweep: select an Outcome, set Minimum trades, and compare parameter-bin averages and a selected pair's interaction heatmap.
  • A weak main effect can hide an interaction. Bin averages also hide spread and outliers, so inspect supporting rows before narrowing the search.
  • Use Drivers to plan another test and Study to compare evidence across sweeps. These historical patterns do not establish causation or persistence in live markets.

A parameter sweep changes many inputs at once. The result table tells you which combinations performed well, but it takes another view to see which parameters explain the movement.

Drivers, inside Analyze, compares outcomes across input ranges and displays a heatmap for a pair you choose. It helps identify inputs worth a closer test, flat ranges you might simplify, and combinations that deserve to be studied together.

This view was previously called Influence. The current navigation is Analyze → Drivers; influence and sensitivity remain useful names for the research concepts.

Open Drivers in the current workspace

Complete a batch in Test, open Analyze, choose Current batch, and select Drivers. Upload and Choose file can load a CSV or JSON result table instead. It is useful to check Overview first so failed rows, low activity, or an incomplete tested range do not disappear behind an attractive average.

The shared toolbar shows Outcome, Risk guard, and Minimum trades. In Drivers, Outcome is the metric being explained and Minimum trades excludes lower-activity rows when a trade-count column is present. Risk guard remains available for neighboring Analyze views; it does not change the Drivers bands or heatmap.

Select an input in Parameters to inspect its average outcome across bins. Adjust Bins to change the resolution. Under Interaction, choose distinct X parameter and Y parameter inputs to inspect their pairwise heatmap. Hover a cell to read its average outcome and test count.

TrainBard Analyze with Drivers selected, shared analysis controls, slow-length outcome averages, parameter influence ranking, and a fast-length versus slow-length interaction heatmap. TrainBard Analyze with Drivers selected, shared analysis controls, slow-length outcome averages, parameter influence ranking, and a fast-length versus slow-length interaction heatmap.
Drivers in a 1,071-setting SMA crossover sweep on BTC/USDT with 2-hour candles. The bands show average total return across slow-length ranges; the heatmap combines fast and slow lengths. Select the screenshot to enlarge it.

Reading a parameter sweep

When you run a batch test, every row is a small experiment:

  • Set the parameters.
  • Run the backtest.
  • Record the metrics.

After a large sweep, you might have thousands of experiments. Understanding why the results changed matters more than finding the best row.

If return improves when a trend filter length gets longer, that matters. If drawdown gets worse when a stop becomes too loose, that matters. If win rate barely changes across an input, that input may not deserve much attention.

Drivers supports sensitivity analysis: examining how much the output changes as an input varies in the tested dataset.

Main effects: one knob at a time

The simplest influence question is:

When this parameter changes, what tends to happen to the metric?

That is a main effect.

Suppose we tested a trend filter length from 50 to 250. Drivers groups those values into bins and shows the average selected outcome in each bin. Change Outcome to examine another metric.

This illustrative table brings three separate metric summaries together; it is not a product export or the dataset in the screenshot.

Trend length binAverage returnAverage drawdownAverage trades
50-908%31%82
91-13018%27%64
131-17034%22%48
171-21039%20%37
211-25036%19%28

This tells a story. Longer trend filters appear to improve return and reduce drawdown up to a point, but they also reduce trade count.

That does not prove causation in a scientific sense. A batch sweep is still historical testing. But it gives the researcher a strong clue about where to look next.

Grouping parameter values into bins

Raw parameter values can be too granular.

If a sweep tests every moving average length from 10 to 300, looking at each exact value can produce a noisy comb of results. Binning turns exact values into ranges, then compares those ranges.

This is called binned conditional expectation.

It asks:

For rows where the parameter landed in this range, what did the metric tend to be?

For example:

  • For stop_loss between 1.0 and 1.5, what was average drawdown?
  • For rsi_length between 10 and 14, what was average return?
  • For trend_length between 180 and 220, what was average trade count?

The bins smooth out row-level noise while keeping the relationship visible.

A parameter that does not matter is not a disappointment. It is a gift.

If changing a threshold across a wide range barely affects return, drawdown, or trade count, then the researcher has learned something. That input may be simplified, fixed, or moved lower in the investigation.

This is especially helpful when a strategy has many controls. Too many parameters make every research step harder:

  • More combinations to test.
  • More ways to overfit.
  • More settings to explain.
  • More places for a fragile result to hide.

Drivers can help separate inputs that deserve close attention from those with weaker main effects. A flat average is a reason to investigate further before fixing an input: effects in different subgroups may cancel each other out.

The next sweep can then be smaller and cleaner.

Interactions: when two knobs form one pattern

Main effects are powerful, but they can miss the most interesting part.

Sometimes one parameter only matters because of another.

For example, a stop loss might look unimportant overall. But when paired with a short trend filter, tight stops may destroy performance. When paired with a long trend filter, the same stops may barely matter.

That is an interaction effect.

Trend lengthStop loss 1.0-1.5Stop loss 1.6-2.5Stop loss 2.6-4.0
50-100-12%4%9%
101-1606%22%24%
161-22018%41%39%
221-28014%33%29%

Looked at alone, stop loss might seem mildly helpful. Looked at together with trend length, the pattern is clearer: tight stops struggle when the trend filter is short, while the middle stop range works well in the stronger trend-length bands.

Drivers uses the Interaction Heatmap for this kind of question. One parameter forms the rows, another forms the columns, and each occupied cell summarizes the average selected outcome. The table above is illustrative. In the current view, hover heatmap cells for their values and test counts.

Look at the distribution

It is tempting to look only at the average metric in each bin. Averages are useful, but they can be gullible.

One enormous outlier can lift an average and make a bin look healthier than it is. Drivers currently shows bin averages, not median or quartile bands. A broader review of exported rows can compare the median, spread, and sample count before treating the average as representative.

For example, two bins can share the same average return but mean very different things. These are illustrative distribution checks, not additional fields in the Drivers view:

BinAverage returnMedian returnInterpretation
A30%28%Average and middle row agree
B30%4%Average may be lifted by outliers

Bin B deserves closer inspection because its average is far above its middle row. Neither summary alone tells you whether the sample is large enough, how drawdown behaved, or how many trades each setting took.

Use Regions when you want supported neighborhoods and pass rates under a quality bar. Use Drivers to describe how the average selected outcome changes across inputs. Those views answer related questions without making the same calculation.

Decisions Drivers can support

Drivers is especially useful before you choose what to inspect deeply.

It can help answer:

  • Which parameter should I plot first?
  • Which input can I stop worrying about?
  • Where does performance change sharply?
  • Which pair of parameters should I study together?
  • Are my good results coming from a stable range or one strange bin?

Without influence analysis, a researcher may choose axes based on habit: return against drawdown, fast length against slow length, win rate against trade count. Those views can be useful, but they may miss the parameters that explain the movement.

Drivers gives the batch a first pass at identifying which parameters explain the movement. If the usable-row note says the analysis is sampled, treat that view as a summary of the analyzed sample rather than an exhaustive inspection of every row.

From Drivers to the next test

A weak conclusion sounds like this:

“The best result used a trend length of 210.”

A stronger research note sounds like this:

“Trend length has a strong main effect on return and drawdown. Results improve sharply from the 100-160 bin into the 160-220 bin, then flatten. Stop loss has a weaker main effect, but it interacts with trend length: tight stops perform poorly when the trend filter is short.”

It suggests the next test:

  • Narrow the trend length range around the stable area.
  • Keep stop loss flexible enough to study the interaction.
  • Drop or fix parameters that showed little influence.
  • Inspect representative rows from the healthiest bins.

Return to Test to enter those ranges and run the follow-up. Analyze does not automatically prefill the next sweep or submit more tests.

Keep one-sweep effects separate from cross-sweep evidence

Drivers explains the dataset currently open in Analyze. An effect in one market and period may weaken or reverse elsewhere.

Study, available on Pro 5x, brings related sweeps together. Its Across sweeps tools compare that wider evidence, including sensitivity and coverage. Sweep details opens the same Analyze workspace, including Drivers, for one selected sweep. The shared names make it easier to keep an individual experiment distinct from the research across experiments.

Drivers makes a large sweep easier to understand. It does not establish causation, identify every higher-order interaction, or show that a historical pattern will persist in live markets. Its useful output is a more specific question for the next test.