Skip to content
Research / Education / Trading journal

TA · Professional · Part 11 of 16

Expectancy with error bars: how sure the record lets you be

A record says +0.25R per trade. The question is how far from that the truth could be. How to put a standard error and a confidence interval on expectancy, and how many trades it takes to tell an edge from zero.

InnoMP Research · Education Desk Published 26 Sept 2026 · Updated 26 Sept 2026 9 min read
InnoMP Research cover art — a number and its doubt
In short

Expectancy with error bars means reporting the mean R per trade together with its standard error — the spread of the trade results divided by the square root of the number of trades — and the confidence interval that follows from it. A record of 60 trades averaging +0.25R with a 1.2R spread has a standard error near 0.15R, so the 95% interval runs from about −0.05R to +0.55R: the edge cannot yet be told from none. The interval narrows with the square root of the sample, so halving it takes four times the trades.

Expectancy with error bars means reporting the mean R per trade together with its standard error, and the confidence interval that follows from it — so that a record is read as a range rather than a number. A record of sixty trades at +0.25R has not shown an edge. It has shown a number whose error bar reaches below zero.

The Intermediate level ended with a notebook: every trade a setup would have taken, and the arithmetic that turns the list into a win rate, an average win and loss, and an expectancy. That part gave the win rate its error bars. This group does the same for the number that matters — the expectancy itself — and then asks the two questions a record cannot answer on its own: how bad its drawdowns could have been, and whether the rules were fitted to the past they were tested on.

The record is a sample

Sixty trades is a sample of a process. Run the same setup on a different sixty — the next year, a different pair — and the mean comes out somewhere else. The distance it typically moves is the standard error: the standard deviation of the individual trade results, in R, divided by the square root of the number of trades.

One record, drawn as a point with an error bar A horizontal number line in R from minus half an R to one and a half R. A dot at plus 0.25R, the record's mean over sixty trades, with a thick bar around it running from minus 0.05R to plus 0.55R, the 95% interval. A dashed vertical line marks zero, and the bar crosses it. 60 trades · mean +0.25R · spread 1.2R−0.5R0+0.5R+1R95% interval: −0.05R to +0.55Rcrosses zero InnoMP Research
Sixty trades, mean +0.25R, results spread 1.2R around it. The standard error is 1.2 divided by the square root of sixty — about 0.15R — and the 95% interval is roughly two of those either side of the mean. It reaches below zero.

The confidence interval is the mean plus or minus a multiple of the standard error — for a 95% interval, a t-value that is close to two once the sample is beyond a few dozen trades. The NIST handbook is precise about what it means, and the precision matters: it is not a 95% probability that the true expectancy is inside this bar. It is that if many records of sixty were collected and the interval computed for each, about 95% of those intervals would contain the true value. This one is one of them, and whether it is among the 95% or the 5% cannot be known from inside it.

What can be known is its width, and the width is the point. An interval from −0.05R to +0.55R contains a setup that loses slowly, a setup that makes half an R a trade, and everything between. The record has narrowed the possibilities; it has not chosen among them.

Why the square root

The standard error shrinks with the square root of the sample, not with the sample. Doubling the record does not halve the bar.

The error bar shrinks with the square root of the sample Five horizontal bars for sample sizes 30, 60, 120, 300 and 1,000 trades, each showing the standard error for results spread 1.2R: 0.22R, 0.15R, 0.11R, 0.07R and 0.04R. Each bar is shorter than the one above by the square root of the ratio, not the ratio. spread 1.2R · standard error = 1.2 / √NN = 30±0.22RN = 60±0.15RN = 120±0.11RN = 300±0.07RN = 1,000±0.04Rfour times the trades, half the bar InnoMP Research
Results spread 1.2R around their mean. Going from 30 trades to 120 — four times the sample — halves the standard error; going to 1,000 halves it again and a bit. Precision is bought at a rising price.

This is the arithmetic under a rule the Intermediate level stated without it: more trades than feels necessary. It is also why the win-rate interval that part quoted — about eighteen points either way at thirty trades, about six at three hundred — has the shape it has. The win rate is a proportion, and a proportion’s standard error shrinks by the same square root.

The spread matters as much as the count

The other term in the standard error is the spread of the results, and the spread is a property of the setup — of how it exits — not of the market.

Same mean, same sample, different spread Two panels. Left, tight, results spread 0.8R: a mean of plus 0.25R with a 95% bar of about plus or minus 0.2R, clearing zero. Right, wide, results spread 2R: the same mean at sixty trades with a bar of about plus or minus half an R, crossing zero. Both from sixty trades. Tight · spread 0.8R±0.2R at 60 tradesclears zeroWide · spread 2.0R±0.5R at 60 tradesstill unknown InnoMP Research
Two setups with the same expectancy over sixty trades. The one whose results cluster near their mean has already cleared zero; the one that mixes small losses with rare large wins has not, and needs roughly six times the trades to be as sure.

A setup that loses 1R and wins 1.5R has results that sit close to their mean. A setup that loses 1R and occasionally wins 6R — the trend-following shape, where most trades scratch and a few pay for the year — has a spread more than twice as wide, and its standard error is more than twice as large at any sample. The second setup can have the higher expectancy and still be the harder one to prove. This is not a reason to prefer either; it is a reason to know which one is in the notebook before deciding how much the notebook can say.

Reading the interval

Once the interval is drawn there are only three things it can be doing relative to zero.

Three records, one reading each Three horizontal interval bars against a dashed vertical zero line. Record A sits entirely to the right of zero, labelled an edge after costs. Record B straddles zero, labelled not yet known. Record C sits mostly left of zero, touching it, labelled no edge shown. 0Rrecord Aan edge after costsrecord Bnot yet knownrecord Cno edge shown InnoMP Research
A is what an edge looks like on paper: the whole bar above zero, after costs. B is most records at sixty trades. C is a setup the record has already argued against, however the last few trades felt.

This is the sense in which the level uses the word. An edge is a positive expectancy that stays positive after spread and swap and whose confidence interval sits above zero. A positive number on its own is not one; it is record B, and record B is what almost every record looks like at the size a hand replay produces. The honest reading of B is not “it works” or “it doesn’t” but “keep counting” — which is a decision about time and demo trades, not about money.

Costs move it; the sample narrows it

The interval was drawn on gross results. The real cost of a trade — spread, swap, slippage — comes off every one of them, and in R it is a fixed amount per trade for a given setup, because the stop is a fixed multiple of the same things.

Costs shift the interval; only the sample narrows it Two horizontal interval bars against a dashed zero line. Before costs: mean plus 0.25R, bar from minus 0.05R to plus 0.55R. After 0.1R of costs per trade: the same bar shifted left, mean plus 0.15R, from minus 0.15R to plus 0.45R. Both bars are the same width. 0Rbefore costsafter 0.1R costssame width, lower centreclear costs, not zero InnoMP Research
A tenth of an R per trade in spread and swap moves the whole interval down by a tenth of an R and changes its width not at all. The question is never whether the bar clears zero; it is whether it clears the costs.

Two consequences. A setup with a small gross edge can have none at all net, and the record will not reveal it until costs are entered trade by trade — which is why the Intermediate level’s notebook has a column for them. And the comparison between two setups is a comparison of net intervals: a setup that trades more often pays the cost more often, and its interval is lower by more.

Key takeaway A record’s expectancy is a point; its standard error is the spread of results over the square root of the count; the confidence interval is roughly two of those either side. Costs move the interval down. Only more trades — many more — make it narrower. The setup has an edge when the bar sits above zero after costs, and not before.

How many trades

The question the Intermediate level answered with “more than feels necessary” has an arithmetic answer, and it is worth seeing because it is larger than intuition allows.

Trades needed to separate an expectancy from zero Two columns. Left, the interval just clears zero at 95%: an expectancy of plus 0.5R needs about 23 trades, plus 0.25R about 89, plus 0.1R about 550. Right, detected with 90% power by the NIST sample-size formula: about 61, 243 and 1,514 trades. Both assume results spread 1.2R. Just clears zero+0.5R · about 23 trades+0.25R · about 89+0.1R · about 55095% intervalDetected reliably+0.5R · about 61 trades+0.25R · about 243+0.1R · about 1,51490% power · NIST InnoMP Research
Left: the sample at which a 95% interval around the true expectancy would just exclude zero. Right: the sample the NIST formula asks for to detect that expectancy reliably, with a one-in-ten chance of missing it. Halving the edge quadruples both.

The left column is the standard error turned around: the sample at which two standard errors equal the expectancy, so that the interval would just exclude zero if the record’s mean were the truth. The right column is the NIST handbook’s formula for the sample needed to detect a shift of a given size — the sum of two z-values, squared, times the spread over the shift, squared — with the conventional 5% chance of a false positive and 10% chance of a miss. It is about two and a half times the left column, because it asks not merely that the bar could clear zero but that it will, nine times in ten.

Either column says the same thing about small edges. An expectancy of a tenth of an R is a real edge — over a thousand trades it is a hundred R — and it is also one that a setup firing twice a week cannot demonstrate inside five years. The setups that can be validated by a discretionary record are the ones whose edge per trade is large relative to the spread of their results. That is a constraint on what this level can honestly call an edge, and it is better known before the notebook is opened than after.

What the interval cannot say

The interval describes the mean, and it treats the record as a bag of independent results whose order does not matter. Two things escape it. The order of the trades does matter, to everything about drawdown — a record with a fine expectancy can still have arrived by a path the trader could not have sat through, and the next part resamples the record to see how bad the other paths were. And the record is assumed to be the only one: if it is the best of ten versions of the rule, the interval is too narrow by an amount that depends on the ten, which is where the group ends.

Next: Monte Carlo and drawdown — resampling the record’s trades to see the drawdowns its order hid, and sizing so that the bad draws are survivable.

Key facts
  • Expectancy is the mean R per trade; its standard error is the standard deviation of the trade results divided by the square root of the number of trades.
  • A confidence interval for a mean is the mean plus or minus a t-value times the standard error, and it narrows with the square root of the sample (NIST e-Handbook).
  • Illustrative: 60 trades at +0.25R with a 1.2R spread give a 95% interval of about −0.05R to +0.55R; 300 trades narrow it to about +0.11R to +0.39R.
  • Four times the trades halve the error bar; the same precision on a smaller edge needs proportionally more trades.
  • Spread and swap shift the whole interval down without narrowing it, so an edge is judged after costs.

Frequently asked questions

What is the standard error of expectancy?

The standard deviation of the individual trade results, in R, divided by the square root of the number of trades. It is the typical distance between the expectancy a record shows and the expectancy the setup actually has. A record whose trades are spread 1.2R around their mean has a standard error of about 0.15R at 60 trades and about 0.07R at 300.

How do I put a confidence interval on a trading record?

Compute the mean R per trade and the standard deviation of the R results, divide the standard deviation by the square root of the trade count to get the standard error, and take the mean plus or minus roughly two standard errors for a 95% interval. If the interval includes zero, the record has not yet shown an edge; if it sits entirely above zero after costs, it has.

How many trades does it take to prove an edge?

It depends on the size of the edge relative to the spread of results. With results spread 1.2R, an expectancy of +0.5R clears zero at 95% after about 23 trades, +0.25R after about 89, and +0.1R after about 550. The sample-size formula with 90% power roughly triples those numbers. Smaller edges need far more trades, not slightly more.

Does a positive expectancy mean the setup works?

Not on its own. A positive number with an interval that reaches below zero is a coin that came up heads slightly more often than tails in a short run. The setup works when the interval sits above zero after spread and swap, the sample is large enough that the next few trades cannot move it, and the drawdowns it produced were survivable — the next two parts cover the last point.

Why does the win rate have error bars too?

Because it is a proportion measured on a sample, and a proportion has the same problem: a 55% win rate over 40 trades can sit anywhere from about 40% to 70%. The Intermediate level gave the binomial interval for it. Expectancy combines the win rate with the average win and loss, so its error bar inherits all three uncertainties, which is why it is measured directly from the R results rather than assembled from the parts.

Sources

  1. NIST/SEMATECH e-Handbook of Statistical Methods — Confidence limits for the mean: Ȳ ± t(1−α/2, N−1) · s/√N; the interval narrows with √Nitl.nist.gov
  2. NIST/SEMATECH e-Handbook — Sample sizes required to detect a shift δ: N = (z(1−α/2) + z(1−β))² (σ/δ)²itl.nist.gov
  3. NIST/SEMATECH e-Handbook — Confidence intervals for a binomial proportion (the win-rate interval used at the Intermediate level)itl.nist.gov
InnoMP Research · Education Desk

Trading education from first principles — position sizing, risk, market structure and the habits that keep accounts alive. Written for someone who has never opened a chart, with a diagram at every step.

Published 26 Sept 2026 · Updated 26 Sept 2026

Disclaimer: This content is provided for general informational purposes only and does not constitute investment advice, an offer, or a solicitation to buy or sell any financial instrument. It has been prepared without regard to your individual financial circumstances or objectives. Trading CFDs involves a high risk of loss.

Related notes