Edge and expected value — the mathematics of a trading advantage

Winning three trades out of four can still leave you with a loss. If the average winner earns 8 pips and the average loser loses 30, expected value is 0.75×8−0.25×30 = −1.5 pips before costs; breaking even requires a 78.9% win rate. This article explains how to assess net results, their uncertainty, the contribution of individual trades and the way a sample was selected. Every numerical example is illustrative and describes no proven strategy.

Two gross outcomes: E = pW − (1−p)L − C. W and L are positive win and loss magnitudes; C is one round-trip cost, counted once. This expected-value model does not guarantee any individual result.

Count the size of outcomes before judging the hit rate

A list with more losing trades than winners may still have a positive average. A mostly winning list may have a negative one. The missing information is the size of each outcome and the costs attached to it. Begin with a ledger whose units are consistent, rather than choosing the percentage that makes the rule look most attractive.

Our hypothetical sheet contains 100 completed observations: 36 gross winners of +1.8R and 64 gross losers of −0.8R. Here R is the same fixed reference amount for every row, not a percentage recalculated from changing account equity. There are no flat outcomes in this model. Assume an all-in round-trip cost of 0.12R per observation, recorded separately from these gross payoffs.

Reconcile the gross total, the costs and the net total

A hypothetical ledger in one fixed R unit
Outcome groupCountGross per rowNet per row
Winner36+1.80R+1.68R
Loser64−0.80R−0.92R

The gross total is 36×1.8−64×0.8=13.6R. Costs sum to 100×0.12=12R, leaving a net total of +1.6R and a sample mean of +0.016R. The net-row route gives the same answer: 36×1.68−64×0.92=1.6R. A cost reduces a winner and makes a loser more negative; it is not subtracted only from successful trades.

If R were a fixed 100 USD, the same illustrative net total would be 160 USD. This conversion changes the unit, not the evidence for an advantage. The sheet has no compounding, changing position sizes or currency conversions. Adding any of those features requires the corresponding records instead of silently reinterpreting the sum of R values.

Check how close the mean is to its cost boundary

The gross mean is +0.136R. With all gross outcomes held fixed, a round-trip cost of 0.136R would leave zero net mean. If the assumed cost rises from 0.12R to 0.16R, the net mean falls by 0.04R to −0.024R. For 100 unchanged observations, the net total becomes −2.4R. This is a sensitivity calculation, not a forecast that the future cost will take either value.

Using the same gross winners and losers, break-even requires p×1.8−(1−p)×0.8−0.12=0. Rearranging gives p=(0.8+0.12)/(1.8+0.8)≈35.38%. The observed 36% lies just above that model threshold. Changing the payoff distribution or charging different costs by outcome changes the calculation. Actual net P&L already containing spreads and commissions must not have those same costs subtracted again.

A positive ledger is a finding about the sample

The +0.016R is an exact descriptive result for our invented inputs. It is not an exact value for the unknown mean of future trades. In real data, uncertainty also depends on dispersion, dependence between outcomes and how the records were selected. One hundred observations do not become independent because they have been entered on separate spreadsheet rows.

NIST explains why an estimated mean needs an uncertainty assessment; the full lesson develops the relevant calculation and its assumptions. Bailey and co-authors examine selection across investment backtests. If this is the best of many tried variants, retaining only its ledger conceals an important part of the experiment. Save the rejected variants and the rule version, then evaluate a frozen procedure on suitably separated data. Neither a high hit rate nor this small positive mean resolves that selection problem.

Three exercises with worked answers

The exercise data are hypothetical. Choose an answer, then check the calculation.

1. What is the net sample mean?

100 observations: 36 at +1.8R gross and 64 at −0.8R gross; each costs 0.12R.

Show the answer and explanation

C. Reconcile gross total, total cost and net total before dividing by the number of rows.

  • A. That is the gross mean before the stated cost.
  • B. That is the net total, not the average per observation.
  • C. Correct: (13.6R−12R)/100=+0.016R.
  • D. That is the negative cost alone, without the gross outcomes.
2. What is the net mean if cost becomes 0.16R?

Keep the gross mean of +0.136R unchanged; charge the new cost to every observation.

Show the answer and explanation

A. The 0.04R increase in cost reduces the mean by exactly the same amount under this fixed-outcome model.

  • A. Correct: 0.136R−0.16R=−0.024R.
  • B. That retains the old cost assumption.
  • C. A cost is subtracted, not added.
  • D. That is the new net total for 100 observations, not the mean.
3. What can a positive mean establish here?

The hypothetical net mean is +0.016R and the observed hit rate is 36%.

Show the answer and explanation

D. Preserve how the sample and rule were chosen; calculation and inference answer different questions.

  • A. A finite sample does not provide that guarantee.
  • B. Separate rows can share exposures or market conditions.
  • C. Selecting the best result after many trials changes the evidential context.
  • D. Correct: the ledger calculation does not identify the unknown future mean.

Explore uncertainty, tail contributions and sample selection

The detailed lesson follows gross and net results, R units, break-even rates, profit factor, uncertainty intervals, losing streaks and selection effects. Its full examples show where the simple two-outcome model stops being sufficient.

1. What “having an edge” means — an operational definition

The word edge is sometimes used to describe a feeling: I have an advantage because I understand this market better than the average participant. That meaning cannot be confirmed or disproved, so it serves little purpose beyond conversation. In Section 8, an edge has a narrower, testable meaning based on one quantity: the expected value of a single trade after all costs.

An edge means a positive expected value after all costs for a specified rule and set of conditions. It is a property of an unknown distribution; a positive spreadsheet average estimates that property. Stronger evidence comes from an explicit sample with quantified uncertainty and an assessment outside the data used to develop and select the rule. No historical result establishes the property permanently. Costs must include spread, commission and execution deviations, and, when a position passes through rollover, signed swap charges or credits: these may reduce or increase the result.

An empirical result requires an identified sample. Saying “this rule has an expected value of 0.3R” without the trade count, period, instrument and data status leaves its basis impossible to assess. The same mean from twenty observations and two thousand observations can have very different precision; dispersion and dependence also matter, as Section 7 explains.

The way the rule was selected also needs to be established. Choosing after examining the data may inflate the assessment on those same data; testing many variants weakens the significance of the best result. [1] The mechanism and procedures for limiting this risk are discussed in 8.9. A result outside the development sample strengthens the evidence, but still requires an assessment of uncertainty and the way the data were selected.

An edge hypothesis versus an established property of a rule

Distinguishing these two states resolves many arguments about strategies. A set of rules written so that cases can be decided, with an explicit entry condition and two exit conditions, is a hypothesis that expected value after costs is positive. A hypothesis is a valid starting point for any investigation. Calling it an edge, however, prejudges what still needs to be tested.

Moving from a hypothesis to an established property is no single event, and no threshold settles the issue permanently. Instead, evidence accumulates: the sample grows, the interval narrows, and more periods and market conditions are covered in which the rule worked. In retail trading, this process often takes longer than patience allows; with infrequent trading, it can outlast the period during which the rule remains relevant at all.

What cannot be called an edge

The following comparison is not a list of beginners’ mistakes. Each item provides information; none provides the particular information required here.

What cannot be called an edge — Claim, What it actually says, What is missing from a claim of an edge
ClaimWhat it actually saysWhat is missing from a claim of an edge
“The rule has a 68% win rate”How many trades closed profitably in a particular sampleAverage gain, average loss and costs. Without them, win rate does not determine the sign of expected value — see the calculations in Section 4
“The equity curve has risen for six months”The sum of results was positive over a certain windowThe sample, period, instrument, costs, data split and drawdown. A rising curve is consistent both with an edge and with a favorable run in the absence of one
“London opening breakout strategy”A setup name and time of dayEverything. Neither the name nor its popularity establishes expected value
“The ten-year backtest was positive”A particular procedure on particular data produced a positive totalThe price side, data resolution, cost model, rule for ordering events within a candle, number of variants tested and result outside the development sample
“Someone has made money with this method for years”At least one person achieved a positive resultHow many people started the same way. Selecting observations by their results weakens inference about the population as a whole — Section 11
“The rule has positive expected value in my spreadsheet”A calculation was performedThe status of the inputs. Assumed values, measured values and wishful thinking can all be entered into a spreadsheet in the same way

The final row deserves a separate sentence because it describes the most constructive of these situations. A calculation using assumed parameters is an exercise in how the mechanism works, and nothing more — exactly what every calculation in this article represents. It becomes an estimate only when its inputs come from recorded observations rather than assumptions.

What supports an assessment of an edge Net result Costs counted once, with signed charges or credits Sample Trade count, period, instrument and status Validation Variant selection and out-of-sample conditions
Educational model: what supports an assessment of an edge. Read the article’s assumptions alongside the diagram; no strategy-test result is shown.

The rule’s edge versus an execution advantage

The written rule, its outcome model and the actual trade record must be kept distinct. The rule specifies what triggers a decision; the model assumes costs and execution before observations are made; the record shows what was actually filled. A reference model can separate the price result from costs even before the first order. Actual data require recorded reference prices, execution sides and charges, so that costs or skipped executions are not attributed to the rule. A positive net series alone does not separate these causes; a properly maintained journal can record them separately from the outset.

The practical consequence is straightforward. A rule with positive expected value may produce a negative series if it is executed late, some signals are skipped or levels are changed during trades. Conversely, a positive series does not prove the rule is sound if execution systematically departed from its specification in one direction. The minimum fields needed to distinguish these quantities are given in Article 8.1; without them, the calculations in this article cannot be applied to your own data.

Skipped signals form a separate class of observations. A series containing only trades actually taken describes the rule filtered by decisions to skip signals, rather than the rule itself. The difference can exceed the entire measured edge; without recorded omissions, it is impossible even to see whether that difference exists.

Why this distinction must precede the calculation

The order matters because the definition of an edge determines what can legitimately be calculated. If an edge means positive expected value after costs, costs belong in the calculation before the conclusion and cannot be appended later as an adjustment. If it means a high win rate, costs become an operational detail, and the calculation leads to conclusions unsupported by what remains in the account.

The same ordering applies to uncertainty. An interval around an estimate is part of the result, rather than a qualification added below a table. A value of 0.10R with an interval containing zero and a value of 0.10R with an interval entirely above zero are different results despite identical central estimates. Explaining that distinction is the purpose of Section 7.

2. The R unit and the units used throughout the calculation

In this section of the course, R serves solely as a unit for organizing results. 1R is the distance from the planned entry price to the protective exit level, expressed in the account currency. Both prices are known before the order is placed, so the denominator is fixed before any execution occurs. If entry is planned at 1.0850 and the protective exit level is 1.0830, 1R corresponds to twenty pips converted using the pip value for the specified volume. When volume is omitted, it is enough to say that 1R equals twenty pips; that is the convention used in all calculations below.

R expresses outcomes relative to the planned protective distance. It makes trades on different scales easier to compare, but does not eliminate differences in instruments, costs or horizons. A gross result in R may be independent of volume when price is converted linearly into money; a net result may vary, for example because of a minimum commission. The average result in R describes the outcome per unit of planned distance, rather than automatically measuring the return on the entire account.

Position size, how it is determined and percentage risk rules lie outside this course section and appear in none of the calculations below. They are discussed in Section 9, which addresses every question beginning with “how much.” This article addresses only questions beginning with “whether” and “how much per unit.”

What the R unit does not mean

The first misunderstanding concerns certainty about the loss. “A loss of 1R” describes the distance specified in the rule, rather than the amount that will actually be deducted from the balance.

A protective level triggers an exit; it does not guarantee the fill price. A result below −1R can arise from worse execution or a quotation gap and needs to be explained in the record. Order type and any guarantee terms must be checked separately; that layer is discussed in Section 12. No guaranteed price is assumed here.

R is calculated from the original distance specified before opening, rather than from a level moved during the trade. With an original distance of 20 pips, a +10-pip result is +0.5R. Dividing by a current distance of 10 pips would produce +1R and change the definition. This error is not confined to winners: a smaller denominator also increases the absolute size of losses, while a level at entry produces a zero denominator.

The record needs two separate fields: the original distance used as the trade’s denominator and the level in force at closing. Original distances may vary between trades, but each trade’s own denominator must remain fixed. Without it, the result in R cannot be reconstructed.

Converting between pips, R and percentages

All three units recur throughout this article, so it helps to state the conversions once. A distance in R is the distance in pips divided by the protective exit distance in pips.

If 1R represents the same number of pips in every observation, the mean in R can be multiplied by that distance to obtain the mean in pips. This holds for A and C. With varying denominators, convert each result separately first; multiplying the mean in R by the mean distance need not produce the mean in pips. A trade’s cost in R is its cost in pips divided by its original distance.

Both ratios are useful and describe different things. Cost relative to the target, C / W, tells you what proportion of the intended gain the round trip consumes; this quantity is developed in Article 8.3.

Cost relative to the protective exit, C expressed in R, enters the expected-value formula in R directly. Mixing the two produces calculations with correct individual numbers but an incorrect result.

Pip value depends on the instrument, volume and account currency; the conversion is explained in Section 2. Our examples remain in pips or R. Multiplying the entire series by one positive conversion factor preserves its sign and proportions. With varying pip values, each observation must be converted separately: the weights in the monetary total change.

Three descriptions of the same trade.

Assumptions. EUR/USD, a long position, reference Bid entry 1.0850, protective Bid level 1.0830 and Bid target 1.0880. One pip is 0.0001. Illustrative values.

In pips. Protective exit distance: 20 pips; target distance: 30 pips.

In R units. 1R = 20 pips. The target corresponds to 30 / 20 = 1.5R, and the protective exit is 1.0R by definition.

As a gain-to-loss ratio. W:L = 30 : 20 = 1.5, where the first quantity is average gain and the second is average loss. This convention returns in Section 5 and is the only one used in the article. “1.5 : 1” without identifying which quantity is the gain is interpreted both ways in trading materials and therefore is not used here.

A note on the ordering. The quantities 1.5R and W:L = 1.5 are equal here because the target and protective exit distances also equal average gain and average loss. In an actual series, these pairs diverge: average gain may be lower than the target distance because trades close before reaching it, and average loss may exceed the protective distance because of slippage. The formulas use averages from the series, rather than distances from the written rule.

Rule distances can be equated with average results only in an appropriate exit model. A assumes two reference levels; C specifies a more varied series explicitly. For your own data, calculate averages from the record under a consistent gross or net convention instead of replacing them with planned levels.

3. Gross and net expected value in one series

Expected value is the mean outcome under a specified distribution, provided that it exists. It neither forecasts the next trade nor promises a result over one hundred trades. For independent observations with a common finite variance, dispersion of the mean decreases as 1/√N. Other processes require appropriate convergence and dependence conditions; an unchanged marginal distribution alone is insufficient. Assessing these conditions belongs to the uncertainty calculation in Section 7.

For two possible trade outcomes, with W and L measured before costs:

E_gross = p × W − (1 − p) × L

Here p denotes the proportion of trades closing profitably, W the average gain on winners and L the average loss on losers, both in the same unit and both before costs. Adding C, the full average cost of one completed trade:

E_net = p × W − (1 − p) × L − C

Cost is a component charged to every trade regardless of its outcome: spread and commission are paid even when the position closes at a loss. That is the difference between the two lines above, and the point at which calculations in trading materials most often stop.

Calculation: expected value of illustrative series A.

Assumptions. Instrument: EUR/USD; one pip is 0.0001. A long position. W = 30 and L = 20 pips are distances from the reference Bid, with targets also specified on Bid. This is a gross Bid-to-Bid result, before spread and execution deviations. Levels are absolute and do not move with the fill. p = 0.45 is a model probability rather than a measured win rate. Cost components are illustrative and do not come from an intermediary’s specification:

  • spread 0.8 pip — charged once per completed round trip, because buying occurs at Ask and closing the long position at Bid;
  • commission 0.3 pip per completed round trip — a monetary amount converted into pips using the pip value for the assumed volume;
  • entry slippage of 0.2 pip — because both levels are absolute, an entry two tenths of a pip worse reduces the distance to the target to 29.8 pips and increases the distance to the protective level to 20.2 pips. It therefore costs the same amount whichever of the two exits occurs; this component belongs in C rather than W or L;
  • exit slippage of 0.4 pip — assumed to be higher and the same for both exit types in this model. Actual records may show different exit costs for winners and losers.

The position is never open at rollover, so swap charges or credits are excluded from the calculation. Result status: an illustrative example, not a data-test result.

Cost calculation. C = 0.8 + 0.3 + 0.2 + 0.4 = 1.7 pips per completed trade.

Calculation in pips.
E_gross = 0.45 × 30 − 0.55 × 20 = 13.5 − 11.0 = +2.5 pips
E_net = 13.5 − 11.0 − 1.7 = +0.8 pip

Calculation in R units. 1R = 20 pips, so the target corresponds to 30 / 20 = 1.5R and cost to 1.7 / 20 = 0.085R.
E_gross = 0.45 × 1.5 − 0.55 × 1.0 = 0.675 − 0.550 = +0.125R
E_net = 0.125 − 0.085 = +0.040R

Unit consistency check. 0.125R × 20 pips = 2.5 pips and 0.040R × 20 pips = 0.8 pip. Both quantities agree in sign and value; a discrepancy in either check indicates a denominator error.

Information availability and the execution model. The reference distances W and L are specified before entry. They are assumptions in the two-point model; a real system’s conditional means can only be estimated. Buying is executed at Ask and closing a long position at Bid; the sides reverse for a short position. Costs and their distributions need not be identical in both directions. Here p = 0.45 is a known model assumption; an actual win rate is estimated from data. Spread at the decision may differ from spread at execution, and slippage is known after the fill. The two reference branches +30/−20 simplify exits; the cost model moves filled results away from the reference levels themselves. Other exit types are discussed in Section 14.

Result. A rule with this outcome distribution averages eight tenths of a pip per trade after costs, or four hundredths of R.

What this does not establish. It does not establish that the rule has an edge: p, W and L were assumed rather than measured. It does not establish that one hundred trades will produce 80 pips: that is the center of a distribution whose dispersion is calculated in Section 7. Nor does it establish stability: Section 10 shows that the sign reverses when costs double or the target becomes one fifth shorter.

From gross outcome to net expected value
Example: p = 45%, W = 30 pips, L = 20 pips, C = 1.7 pips. Gross E = 2.5 pips; net E = 0.8 pips, or 0.040R when 1R = 20 pips. The round-trip cost is deducted once.
Two cost ledgers: choose one.

In series A, the reference is Bid 1.08500. The Bid target 1.08800 and protective Bid level 1.08300 are specified before entry. With a 0.8-pip spread, Ask is 1.08508; after 0.2 pip of adverse entry slippage, buying occurs at 1.08510. The illustrative market-exit model assumes Bid 0.4 pip worse than the level: 1.08796 or 1.08296. Price results are +28.6 or −21.4 pips; after 0.3 pip commission they are +28.3 or −21.7. Spread is already included in that Ask-to-Bid difference.

You can therefore use +30/−20 on a Bid-to-Bid reference basis and deduct the full C = 1.7, or use +28.6/−21.4 from the actual price sides and deduct only commission. Deducting the full C from the latter results would count spread and slippage twice. Exit slippage applies to both branches solely as this model’s assumption; it does not describe a limit order. The protective level does not guarantee the fill price.

Deriving the same result from net quantities

The calculation above treated W and L as pre-cost quantities and deducted C separately. The same figure can be obtained by incorporating cost into both trade outcomes: net gain is W − C and net loss is L + C, because the same cost reduces one and increases the other.

For series A, net gain is 30 − 1.7 = 28.3 pips and net loss is 20 + 1.7 = 21.7 pips. Substitution gives E = 0.45 × 28.3 − 0.55 × 21.7 = 12.735 − 11.935 = +0.8 pip. Agreement between the two approaches checks the calculation; more significantly, the second approach reveals an additional effect.

Cost does more than reduce the final result. It reaches into the gain-to-loss ratio from both sides at once: it reduces the numerator and increases the denominator in the same step. Series A’s W:L ratio was 30 : 20 = 1.50 before costs; after costs it is 28.3 : 21.7 = 1.30. This single figure explains why the impact of cost grows faster than cost itself as distances shrink — a point developed in Section 5 and, for targets of only a few pips, Article 8.3.

Extending the formula beyond two outcomes

Model A assumes two reference exit levels, +W and −L. However, the general formula pZ−(1−p)L can also accommodate many exit prices when W and L are the appropriate conditional means of positive and negative results under the same convention. Zero outcomes require a separate share. Breaking results down by target, protective level and time exit helps identify causes; regrouping by sign leaves E unchanged if complete results and correct weights are preserved.

E = p₁ × w₁ + p₂ × w₂ + p₃ × w₃ + … − C

Here pᵢ is the proportion of exits in a category within the entire series, and wᵢ is that category’s signed mean trade result. All pᵢ must sum to one; apart from this check, the extended form requires nothing beyond the original calculation.

Calculation: series A with time-based exits.

Assumptions. The same rule as in series A: target W = 30 pips, protective exit L = 20 pips and cost C = 1.7 pips. The rule also requires closing after a specified time if neither level has been reached. Exit distribution: 40% of trades at the target, 45% at the protective level and 15% by time, averaging +2 pips. Illustrative values.

Share check. 0.40 + 0.45 + 0.15 = 1.00.

Calculation. E_gross = 0.40 × 30 − 0.45 × 20 + 0.15 × 2 = 12.0 − 9.0 + 0.3 = +3.3 pips. E_net = 3.3 − 1.7 = +1.6 pips, or +0.165R gross and +0.080R net.

Regrouping into two categories. A positive time-exit result belongs among gross gains. Positive results account for 0.40+0.15 = 55%, averaging W = (0.40×30+0.15×2)/0.55 = 22.363636… pips. Without rounding, the check is 0.55×(12.3/0.55)−0.45×20 = 3.3 pips.

The break-even win rate after regrouping. p* = 21.7/(12.3/0.55+20) = 51.2232%, compared with 43.4% in the two-point model. For this new distribution, 55% is 3.7768 percentage points above the threshold; E = (W+L)(p−p*) = 1.6 pips. W and L are gross pips, and C = 1.7 is fixed.

Result and interpretation. Adding a time exit creates a new illustrative distribution: gross E is 3.3 pips rather than the original series A’s 2.5. Regrouping this new distribution by outcome sign, however, leaves its mean unchanged. Gross positive outcomes account for 55%, averaging exactly 12.3/0.55 = 22.363636… pips. Retain these values without rounding in subsequent calculations. The threshold is 21.7/(22.363636…+20) = 51.2232%. Outcomes of exactly zero require their own separate share.

The lesson is broader than these numbers. Win rate and average gain depend on how trades are classified; expected value does not.

Two people using different conventions to classify borderline exits in the same series will obtain different p, different W and different thresholds, but identical E. This is another reason to compare rules by expected value rather than win rate.

Record exit reason separately from outcome sign. This makes it possible to see whether the share of time exits increases, for example from 5% to 30%. Such a change can occur with identical written rules, through randomness or changing conditions. It does not establish a new system version. It reveals a change in the observed or modeled composition of results that needs to be explained alongside costs and uncertainty.

Outcome-dependent costs change the threshold.

If average cost on a winner is C+, and on a loser C−, then E = p(W−C+) − (1−p)(L+C−). With W−C+ > 0, the threshold is p* = (L+C−)/(W+L+C−−C+). For W = 30, L = 20, C+ = 1.3 and C− = 2.1 pips, this gives 22.1/50.8 = 43.5039%; at p = 45%, E = 0.45×28.7 − 0.55×22.1 = 0.76 pip. All inputs are illustrative, with no rollover. Average C = 0.45×1.3 + 0.55×2.1 = 1.74 also gives 2.5−1.74 = 0.76, but C itself changes with p and must not then be treated as fixed.

Two ratios to report alongside the result

The figure 1.7 pips means little until it is related to something. There are two comparisons, describing different things.

Two ratios to report alongside the result — Ratio, Calculation for series A, Value, What it measures
RatioCalculation for series AValueWhat it measures
C / W — cost relative to the target1.7 ÷ 305.7%The proportion of intended gain consumed by the round trip. It depends solely on cost and target distance, without assuming anything about win rate
C / E_gross — cost relative to gross expected value1.7 ÷ 2.568.0%The proportion of what the rule generates before costs consumed by the round trip. It requires an assumed win rate, so it is conditional

The gap between these figures is one of this article’s central points. A cost of under six percent of the target looks minor; that same cost consumes more than two thirds of gross expected value. The explanation is arithmetic: expected value is the difference between two much larger quantities, 13.5 and 11.0 pips. It is an order of magnitude smaller than those quantities, and consequently an order of magnitude more sensitive to any additional component.

The ratio C/E_gross requires a nonzero denominator. As positive gross E approaches zero, the ratio rises and indicates that cost is large relative to the small difference between gains and losses. At gross E = 0, it is undefined; with negative gross E, it no longer represents the share of a positive edge consumed by cost. Reporting gross result, cost and net result separately is clearer in that case.

Why costs cannot be appended after the conclusion

The order of calculation has a consequence that emerges only when two approaches are compared. First approach: calculate E_gross, assess whether the rule looks reasonable, then check how much costs consume.

Second approach: calculate E_net, then assess it. Both produce the same final number, but can lead to different decisions because the first creates an interim conclusion that subsequently has to be withdrawn.

In series A, cost reduces the model mean from +0.125R to +0.040R. Assessing precision requires the dispersion appropriate to A; the standard deviation of a different series C cannot be transferred without an additional assumption. A small positive mean may require a large sample, but its level alone does not determine the sample size.

With an unchanged distribution of trade outcomes and costs, the expected total grows as N×E_net; frequency alone does not repair a negative mean. Changing signal selection can change p, W, L and C, however, so they must be recalculated. A study of individual stock-market accounts links active trading to the drag of costs on results [2]; its findings do not establish the same relationship for every currency rule.

4. Win rate alone does not determine the sign of the result

The proportion of trades closing profitably is the only one of the formula’s three quantities that can be reported as a single number without a unit. This probably explains its popularity as a measure of rule quality. In the expected-value formula, however, it appears alongside two other quantities and cannot even determine the sign on its own. The following calculations illustrate this through extremes.

Calculation 1: high win rate, negative result.

Assumptions. Win rate p = 0.75, average gain W = 8 pips and average loss L = 30 pips. Illustrative values, calculated before costs to show that costs are not even needed for this conclusion.

Calculation. E_gross = 0.75 × 8 − 0.25 × 30 = 6.0 − 7.5 = −1.5 pips.

In R units. 1R = 30 pips, so E_gross = −1.5 / 30 = −0.05R.

Break-even win rate. p* = L / (W + L) = 30 / 38 = 0.7895 = 78.9%. A 75% win rate is below the threshold, so the sign could be established before substitution.

Result. Three out of four trades close profitably, yet the rule loses one and a half pips per trade before costs. Adding costs deepens the loss and raises the threshold further, but changes nothing qualitatively: the problem is the ratio of eight to thirty.

Calculation 2: low win rate, positive result.

Assumptions. Win rate p = 0.30, average gain 4R and average loss 1R, giving a gain-to-loss ratio W:L = 4. Illustrative values, gross quantities.

Calculation. E_gross = 0.30 × 4 − 0.70 × 1 = 1.20 − 0.70 = +0.50R.

Break-even win rate. p* = 1 / (1 + 4) = 0.200 = 20.0%. A 30% win rate is clearly above the threshold.

Result. Seven out of ten trades close at a loss, yet the rule earns half an R per trade before costs. The margin above the threshold is ten percentage points; that quantity, rather than win rate alone, determines the outcome in this calculation.

Calculation 3: very high win rate, negative result.

Assumptions. Win rate p = 0.82, average gain W = 4 pips and average loss L = 25 pips. Illustrative values, gross quantities.

Calculation. E_gross = 0.82 × 4 − 0.18 × 25 = 3.28 − 4.50 = −1.22 pips.

In R units. 1R = 25 pips, so E_gross = −1.22 / 25 = −0.049R.

Break-even win rate. p* = 25 / 29 = 0.8621 = 86.2%. Breaking even requires another 4.2 percentage points of win rate, even before costs.

Result. At 82% with these outcome sizes, the expected change is −1.22 pips per trade before costs. This does not mean every subsequent trade reduces the balance: an individual trade may earn +4 pips. The model distribution’s mean is negative.

In all three examples, the sign depends on p together with W and L. The highest win rate, 82%, produces a negative result; the lowest, 30%, a positive result. Neither win rate alone nor p−p* provides a common ranking of edge sizes here: the pip examples have different R denominators, and Example 2 is expressed directly in R.

Win rate alone does not determine the sign of the result — Parameter set, Win rate p, W, L
Parameter setWin rate pWLBreak-even win rate p*Margin above the thresholdGross E
Calculation 175.0%8 pips30 pips78.9%−3.9 pp−1.5 pips (−0.050R)
Calculation 382.0%4 pips25 pips86.2%−4.2 pp−1.22 pips (−0.049R)
Series A45.0%30 pips20 pips40.0%+5.0 pp+2.5 pips (+0.125R)
Calculation 230.0%4 R1 R20.0%+10.0 pp+0.50R

The p−p* column correctly shows the sign of each mean in its own unit. Its magnitude follows from E = (W+L)(p−p*) when cost is fixed, the gross convention is consistent and W and L share the same unit. Read the margin together with the scale. For example, −3.9 percentage points with W+L = 38 pips corresponds to about −1.5 pips; this does not create a ranking against a row expressed in different R units.

All four rows are also calculated before costs. Adding them raises every threshold, shrinking the margin in the bottom two rows and increasing the shortfall in the top two. For series A, the 5.0-percentage-point margin shrinks to 1.6 points; see the calculation in the next section.

Why a high win rate does not sustain itself

For the same price paths, entry, protective level and time limit, a nearer target can be reached on every path that reaches a farther one. This orders events in a fixed model; it does not prove a high win rate for an arbitrary rule. At the same time, a shorter W raises the threshold when other quantities stay fixed. Merely setting the levels does not determine whether actual p exceeds the threshold.

An event on the same path must be distinguished from comparing two modified rules. When entries, time limits or exits change, win rates no longer follow a simple ordering. The formula with fixed L and C does, however, establish W’s effect on p*. The change in actual p requires data or an explicit price-process model.

Trend following, breakouts and mean reversion describe different ideas for generating signals; outcome shapes also depend on exits, time and costs. A family name establishes neither win rate nor tail behavior. The distinction and a comparison of specific distributions appear in 8.7.

Win rate needs an outcome scale 75%, W=8, L=30 Gross E=−1.5 pips 30%, W=4R, L=1R Gross E=+0.5R Comparison p−p* gives the sign; E=(W+L)(p−p*)
Educational model: win rate needs an outcome scale. Read the article’s assumptions alongside the diagram; no strategy-test result is shown.

Win rate as a measured, rather than declared, quantity

The final issue with this figure concerns measurement. The proportion of trades closing profitably depends on what counts as a profitable trade, which is not self-evident until it is specified.

A trade closing +0.3 pip gross, below round-trip cost, is profitable in price terms and loss-making in balance terms. Different conventions give the same series two win rates and two thresholds.

In the basic two-point model, p is the probability of a positive gross result and also the probability of reaching the target. Adding other exit types can separate these concepts. Alternatively, group net results and do not deduct C again. Keep zero results as a separate category; the shares of gains, losses and zeros must sum to one.

5. The break-even win rate and the effect of costs

The break-even win rate is the proportion of profitable trades at which expected value is exactly zero. It need not be read from any table: one equation and four transformations derive it. Seeing the full derivation once explains where every figure subsequently offered as a ready-made answer comes from.

The zero-expected-value condition before costs:

p × W − (1 − p) × L = 0

Moving the second term to the right gives a memorable balance condition: win rate multiplied by average gain must balance loss rate multiplied by average loss.

p × W = (1 − p) × L

Expanding the right side and moving the term containing p to the left:

p × W = L − p × L → p × W + p × L = L → p × (W + L) = L

This directly gives:

p* = L / (W + L)

Dividing numerator and denominator by L and substituting the gain-to-loss ratio W:L, with average gain first and average loss second, gives a second form. It is more convenient when only the ratio, rather than the distances, is known:

p* = 1 / (1 + W:L)

Three basic values now follow from one division each. With a one-to-one ratio, p* = 1 / 2 = 0.500, or 50.0%. With two to one, p* = 1 / 3 = 0.3333, or 33.3%. With three to one, p* = 1 / 4 = 0.250, or 25.0%. Two more complete the picture: with one to two, meaning average loss is twice average gain, the threshold is 1 / 1.5 = 0.6667, or 66.7%; with five to one, it is 1 / 6 = 0.1667, or 16.7%.

The same condition including cost

Adding cost charged to every trade adds one term to the condition and leaves the rest of the derivation unchanged:

p × W − (1 − p) × L − C = 0 → p × (W + L) = L + C → p* = (L + C) / (W + L)

Cost therefore enters the numerator, while the denominator remains the sum of both distances. This gives the quantity that explains the rest of this section without substituting any figures: the cost-induced increase in the threshold is

Δp* = C / (W + L)

The denominator is the sum of the target and protective exit distances, rather than their ratio, the target alone or position size. Together with C, this sum determines whether cost shifts the threshold by one tenth of a percentage point or by twenty.

Calculation: the threshold for illustrative series A.

Assumptions. W = 30 pips, L = 20 pips and C = 1.7 pips — the parameters from Section 3, illustrative values.

Without cost. p* = 20 / (30 + 20) = 20 / 50 = 0.400 = 40.0%.

With cost. p* = (20 + 1.7) / 50 = 21.7 / 50 = 0.434 = 43.4%.

Increase. Δp* = 1.7 / 50 = 0.034 = +3.4 percentage points.

Checking through the alternative approach. The gain-to-loss ratio after costs is (30 − 1.7) : (20 + 1.7) = 28.3 : 21.7 = 1.304. Substituting into the cost-free formula gives p* = 1 / (1 + 1.304) = 1 / 2.304 = 0.434, or the same 43.4%. Both approaches must agree; a discrepancy means cost was counted twice or omitted.

Result and interpretation. The assumed 45% win rate is 1.6 percentage points above the cost-inclusive threshold, compared with 5.0 points above the cost-free threshold. Cost consumed two thirds of the margin, exactly the C / E_gross ratio from Section 3. This is no coincidence: both quantities describe the same reduction, once in percentage points of win rate and once in pips of outcome.

Five gain-to-loss ratios under two cost assumptions

The comparison below gives the threshold for five gain-to-loss ratios in three variants: without cost and under two illustrative assumptions differing not only in cost but, above all, in the scale of distances used by the rule.

  • Series A — protective exit L = 20 pips and cost C = 1.7 pips. Target W varies with the ratio, from 10 pips at 0.5 to 100 pips at 5.
  • Series B — protective exit L = 5 pips and cost C = 0.9 pip. These are the cost assumptions from Article 8.3, transferred unchanged so both articles use the same figures. Target W ranges from 2.5 pips at a ratio of 0.5 to 25 pips at 5.
Five gain-to-loss ratios under two cost assumptions — Gain-to-loss ratio W:L, Threshold without cost, Series A: threshold wit...
Gain-to-loss ratio W:LThreshold without costSeries A: threshold with C = 1.7 pips, L = 20 pipsDifference ASeries B: threshold with C = 0.9 pip, L = 5 pipsDifference B
0.5 (average loss twice average gain)66.7%72.3%+5.7 pp78.7%+12.0 pp
150.0%54.3%+4.3 pp59.0%+9.0 pp
233.3%36.2%+2.8 pp39.3%+6.0 pp
325.0%27.1%+2.1 pp29.5%+4.5 pp
516.7%18.1%+1.4 pp19.7%+3.0 pp

Difference columns use unrounded values. In the first and third rows for series A, adding the two rounded figures differs from the result column by one tenth of a point; series B’s columns add exactly in every row. Each check requires one division. For A, divide 1.7 by the sum of both distances: 1.7 / 30 = 5.67%; 1.7 / 40 = 4.25%; 1.7 / 60 = 2.83%; 1.7 / 80 = 2.13%; 1.7 / 120 = 1.42%. For B: 0.9 / 7.5 = 12.00%; 0.9 / 10 = 9.00%; 0.9 / 15 = 6.00%; 0.9 / 20 = 4.50%; 0.9 / 30 = 3.00%.

At 1:1, the shifts are 4.25 percentage points in A and 9 in B; at 5:1, approximately 1.4167 and 3. The table shows differing effects of the same ratio C/(W+L). It does not establish whether a shift is smaller than the uncertainty in actual win rate. That comparison requires a sample and its dependence structure. Even a small threshold increase may exceed a small margin p−p*.

With the same C, distance scale changes both the share of cost and the threshold shift. However, cost relative to gross E can also be large with a distant target. Assess its significance through C/W, C/E_gross, the margin above the threshold and uncertainty. Short targets and the case C>W are developed in 8.3; target length alone does not determine the rule’s dominant problem.

Illustration of the model described in this section. Read the assumptions and units alongside the chart.
Costs shift the break-even win rateL=20 pips; C=1.7; all inputs illustrative. Threshold (L+C)/(W+L).Costs shift the break-even win rate0.020.040.060.080.0100.0W:L 0.572.333%W:L 154.250%W:L 236.167%W:L 327.125%W:L 518.083%% · linear axis; illustrative values

With fixed L and C, the threshold as a function of r = W/L is (1+C/L)/(1+r). In the table, the coefficients are 1 without cost, 1.085 for A and 1.180 for B. Threshold differences shrink as r rises. The graphic shows A’s thresholds for five r values: 0.5, 1, 2, 3 and 5. The full comparison with the cost-free variant and B remains in the table.

A larger sum W+L limits the threshold shift caused by fixed C but does not ensure positive E. Changing target or protective distance may change win rate and the exit distribution. Nominal reward-to-risk ratio and scale are therefore two inputs required by the calculation, rather than protection against negative outcomes.

What happens when only one distance changes

The table held the protective exit fixed and moved the target, changing W:L with a constant denominator L. Considered separately, the two changes lead to conclusions that are sometimes reversed in practice.

What happens when only one distance changes — Distance changed, Parameter set, Threshold without cost, Threshold with C = 1.7...
Distance changedParameter setThreshold without costThreshold with C = 1.7 pipsIncrease
Target W, with L = 20 pipsW = 10 pips66.7%72.3%+5.7 pp
Target W, with L = 20 pipsW = 20 pips50.0%54.3%+4.3 pp
Target W, with L = 20 pipsW = 30 pips40.0%43.4%+3.4 pp
Target W, with L = 20 pipsW = 40 pips33.3%36.2%+2.8 pp
Target W, with L = 20 pipsW = 60 pips25.0%27.1%+2.1 pp
Protective exit L, with W = 30 pipsL = 10 pips25.0%29.3%+4.3 pp
Protective exit L, with W = 30 pipsL = 15 pips33.3%37.1%+3.8 pp
Protective exit L, with W = 30 pipsL = 20 pips40.0%43.4%+3.4 pp
Protective exit L, with W = 30 pipsL = 30 pips50.0%52.8%+2.8 pp
Protective exit L, with W = 30 pipsL = 40 pips57.1%59.6%+2.4 pp

Lengthening the target with fixed L and C lowers the threshold. Lengthening L raises it when W > C, as in the table: the derivative of p* with respect to L is (W−C)/(W+L)². At W = C, the threshold remains 100%; at W < C, even winning every trade yields a negative result. The cost increase C/(W+L) falls when either distance grows, but this is conditional arithmetic: actual win rate may also change.

With W = 30 and C = 1.7 pips, changing L from 20 to 40 raises the threshold from 43.4% to 59.5714%. For the new model to have positive E, new p must exceed 59.5714%; it need not rise by more than the threshold increase, because the starting point had a margin. Comparing mean magnitudes requires a separate E for each parameter set and a common unit. Data determine how actual win rate behaves after the change.

The same reasoning in reverse explains why shortening the protective exit looks attractive arithmetically but can disappoint in practice. Reducing L from 20 to 10 pips with an unchanged target lowers the threshold from 43.4% to 29.3%, or fourteen points. Bringing the level closer to entry, however, increases the number of trades in which movement irrelevant to the rule’s premise breaches it. Data, rather than the formula, again determine how far win rate falls.

The conclusion in both directions is the same: the threshold formula shows what is required, rather than what will be achieved. Changing either distance shifts the threshold with mathematical certainty and shifts actual win rate in a way requiring measurement. Comparing those shifts without data is guessing; confusing them is the most common error when tuning a rule’s parameters.

In both halves of the table, the cost-induced increase declines in the same way because it equals 1.7 divided by the sum of both distances.

With W = 10 and L = 20, the sum is 30 and the increase 5.7 points; with W = 30 and L = 40, the sum is 70 and the increase 2.4 points. Only the denominator matters here, rather than which distance grew.

Multiply the win-rate margin by the outcome scale.

The threshold definition gives E = (W+L)(p−p*) when W, L and fixed C share a unit and gross convention. For A: (30+20)×(0.45−0.434) = 0.8 pip. The margin p−p* determines the sign, but cannot alone rank rules by edge magnitude: one percentage point with W+L = 50 pips is 0.5 pip, whereas with 10 pips it is only 0.1. Comparing pips and R requires a common denominator; different units do not form one ranking.

Four checks the threshold must pass

The threshold calculation is short, making it easy to miss an error in the result. The following checks detect the common ones.

  1. Probability p lies between zero and one hundred percent; the algebraic threshold may lie outside that range. With W, L > 0 and fixed C, p* = (L + C) / (W + L) identifies where E = 0 even when that point is not an admissible probability. If C > W, the threshold exceeds one hundred percent and even p = 1 gives E = W − C < 0. At C = W, only p = 1 breaks even. With a sufficiently large financing contribution represented by C < −L, the threshold is negative and E stays positive for every p from zero to one. A threshold outside the range is not itself a calculation error; interpret it under the same cost assumptions.
  2. With positive C, the cost-inclusive threshold exceeds the cost-free threshold. A lower threshold requires checking the arithmetic but can be correct with negative C, for example a swap credit to the account.
  3. The sign of expected value agrees with win rate’s position relative to the threshold. A win rate above the threshold must yield positive E, and one below it negative E. This checks for errors in both calculations at once.
  4. With one identical positive 1R conversion factor for every outcome, means in R and pips have the same sign. If 1R = R₀ pips in every observation, E in pips = R₀ × E in R. For a nonzero mean, their ratio is R₀; for a zero mean, both values are zero, so no ratio is calculated. With varying distances, convert each result separately. Illustrative outcomes +1R and −2R, with conversion factors of 10 pips and 1 pip respectively, average −0.5R, but (+10 − 2) / 2 = +4 pips. A sign discrepancy in that case is not an arithmetic error.

A separate question is what the threshold formula excludes. It contains no trade count, horizon or position size. Three quantities determine the threshold: average gain, average loss and average cost, and nothing else. Frequency reappears only when considering sample size in Section 7, an entirely different question.

6. Profit factor and other summary measures

Profit factor is the sum of positive outcomes divided by the absolute sum of negative outcomes, calculated on the same trade series.

PF = sum of gains / |sum of losses|

PF has no unit and remains unchanged when all outcomes are multiplied by the same positive conversion factor. Different pip values or R denominators change the observations’ weights: PF in pips, R and account currency need not be identical.

It also has a property making it useful alongside expected value: it is directly linked to its sign. Total gains equal the number of winners times average gain; total losses equal the number of losers times average loss. The entire ratio can therefore be expressed using familiar quantities:

PF = [ p / (1 − p) ] × (W : L)

When both positive and negative outcomes exist, PF = 1 means the series has a zero total and mean. PF above or below one determines that sample mean’s sign, but does not prove the sign of the unknown future expected value. Assessment also requires scale, outcome concentration, sample information and uncertainty.

Calculation: profit factor of illustrative series C.

Assumptions. A series of twenty trades with outcomes expressed in R and recorded gross, before costs. Seven winners: +6.2, +3.1, +2.4, +1.5, +1.1, +0.9 and +0.6. Thirteen losers: seven at −1.0, plus −1.2, −0.9, −1.1, −0.8, −1.3 and −1.5. Deviations from −1.0 reflect different reference exits in the model, rather than slippage already incurred. The series is gross, before spread and execution deviations; all positions close before rollover. The same cost is assumed for every trade: C = 0.085R, or 1.7 pips when 1R equals 20 pips — illustrative values, consistent with series A.

Gross totals. Gains: 15.8R. Losses: 13.8R. Series result: +2.0R.

Derived quantities. Win rate p = 7 / 20 = 0.350. Average gain W = 15.8 / 7 = 2.257R. Average loss L = 13.8 / 13 = 1.062R.

Gross expected value. E = 2.0 / 20 = +0.100 R. Formula check: 0.35 × 2.257 − 0.65 × 1.062 = 0.790 − 0.690 = 0.100R.

Gross profit factor. PF = 15.8 / 13.8 = 1.145. Check: [0.35 / 0.65] × (2.257 / 1.062) = 0.538 × 2.126 = 1.145.

After costs. Every gain decreases by 0.085R, and every loss increases by the same amount. Total net gains: 15.8 − 7 × 0.085 = 15.205R. Total net losses: 13.8 + 13 × 0.085 = 14.905R.
Net PF = 15.205 / 14.905 = 1.020. Net E = (15.205 − 14.905) / 20 = +0.015 R, the same as 0.100 − 0.085.

Information availability and execution. This is a complete set of hypothetical reference gross outcomes, rather than a fill record. Seven losses are −1R; the remaining six end at different points on the model path. Deduct cost 0.085R separately and once. In actual records, the result calculated from fill prices already includes price-related costs; only costs still excluded may be deducted. Historical means become known after the sample ends, and applying them to the future requires an explicit distributional assumption.

Result and interpretation. Profit factor fell from 1.145 to 1.020, and expected value from 0.100R to 0.015R. Cost consumed 85% of gross expected value despite amounting to under four percent of average gain. Qualifications: cost is assumed fixed and identical across trades, a simplification; a twenty-trade series has very limited precision and does not justify confirming a positive sign, as shown in Section 7.

Three things profit factor does not tell you

It does not identify whether it is gross or net. The same series yielded 1.145 before costs and 1.020 afterward. The difference is 0.125 index points; for assessment, it separates a seemingly promising figure from one practically at unity. A ratio reported without its cost convention cannot be compared meaningfully with anything.

It does not normalize scale. Being a ratio, it removes absolute magnitudes. Two rules with identical profit factors can have per-trade outcomes differing by an order of magnitude and, after the same cost is added, opposite signs.

Calculation: two rules with identical profit factors.

Assumptions. Both rules have win rate p = 0.45 and gain-to-loss ratio 1.5. Only their distance scales differ. Rule I: W = 30 pips, L = 20 pips. Rule II: W = 3 pips, L = 2 pips. Both have the same C = 1.7 pips. Illustrative values.

Gross profit factor. For both: [0.45 / 0.55] × 1.5 = 0.818 × 1.5 = 1.227. Identical, because it depends solely on win rate and the ratio.

Gross expected value. Rule I: 0.45 × 30 − 0.55 × 20 = +2.5 pips. Rule II: 0.45 × 3 − 0.55 × 2 = 1.35 − 1.10 = +0.25 pip. A tenfold difference despite the identical measure.

Net expected value. Rule I: 2.5 − 1.7 = +0.8 pip. Rule II: 0.25 − 1.7 = −1.45 pips.

Net profit factor. Rule I: (0.45 × 28.3) / (0.55 × 21.7) = 12.735 / 11.935 = 1.067. Rule II: (0.45 × 1.3) / (0.55 × 3.7) = 0.585 / 2.035 = 0.287.

Result. The same gross ratio of 1.227 for both diverges after costs to 1.067 and 0.287. The deciding information — the rule’s distance scale — is absent from the ratio itself and cannot be recovered from it.

Illustration of the model described in this section. Read the assumptions and units alongside the chart.
Profit factor of series CProfit factor of series C Gross 15.8 / 13.8 = 1.144928 Net 15.205 / 14.905 = 1.020127 Excluding the largest, gross 9.6 / 13.8 = 0.695652Profit factor of series CGross15.8 / 13.8 = 1.144928Net15.205 / 14.905 = 1.020127Excluding the largest, gross9.6 / 13.8 = 0.695652

It is not robust to a single observation. Removing one trade from C, the largest gain of +6.2R among twenty observations, changes gross profit factor from 1.145 to (15.8 − 6.2) / 13.8 = 9.6 / 13.8 = 0.696. One trade in twenty moves the ratio from above one to below it. Expected value behaves similarly, falling from +0.100R to −0.221R; the full calculation appears in Section 9.

Measures omitted from this article, and why

Many more measures describe an outcome series, and some are useful. They add nothing to the after-cost edge calculation beyond what has already been computed, however, and some require data outside this section’s scope.

Drawdown measures the path rather than the edge: it describes the series’ worst segment, depends on position size and outcome order, and is interpreted in Section 9. Measures relating results to their volatility require a reference period and distributional assumptions unsupported by a few dozen trades. Another family of formulas links estimated edge to position size, including the Kelly criterion. This belongs in Section 9 rather than here and requires care because such formulas are highly sensitive to parameter-estimation error; in a sample of roughly one hundred trades, that error may exceed the measured effect itself. This article offers no such formula as a recommendation and never calculates position size.

The minimum set is therefore net expected value, break-even win rate, cost relative to target and gross expected value, and estimation uncertainty. Five quantities, each calculable from records containing the fields listed in Article 8.1, each answering a different question.

Interactive expected-value, sample-size & streak calculator

Test net expectancy E, break-even win rate p*, profit factor, mechanical 95% confidence width (1.96 × σ/√N) and exact losing-streak probability. Defaults match Section 15’s worked model (W = 45, L = 18, C = 1.6, p = 34%, N = 120).

7. Sample size, standard error and an interval

Expected value is not known merely because a spreadsheet shows a positive mean. A model assumes the complete distribution; your own data estimate it from a finite series. These statuses must remain distinct. Uncertainty describes the strength of the estimate’s evidence, without turning a historical sample into a certain forecast. Below we return to the full illustrative series C and show successive steps, including cost.

The starting distinction concerns two sources of variation regularly confused in trading materials. The first is outcome variability: even with a fully known distribution, successive one-hundred-trade series produce different totals because individual outcomes are random.

The second is estimation uncertainty: the distribution is unknown and inferred from a sample, so the figure describing the average outcome is itself subject to error. The first describes the path; the second the state of knowledge. This section calculates the second.

Standard error of the mean outcome

For independent, identically distributed observations, the sample mean’s estimated standard error is

SE = s / √N

Here s is the standard deviation of individual trade outcomes and N the trade count. The unit of s matches the outcomes, so outcomes in R also produce a standard error in R.

Calculation: estimation uncertainty in illustrative series C.

Assumptions. Twenty gross outcomes in R from Section 6: seven positive (+6.2, +3.1, +2.4, +1.5, +1.1, +0.9, +0.6) and thirteen negative (seven at −1.0, plus −1.2, −0.9, −1.1, −0.8, −1.3, −1.5). The sample mean is +0.100R. At this stage observations are assumed independent, a simplification relaxed below. Illustrative values.

Standard deviation. The sum of squared deviations from the mean is 73.28. One observation contributes the most: (6.2 − 0.1)² = 37.21, over half the total. The sample standard deviation is s = √(73.28 / 19) = √3.857 = 1.964 R.

Standard error at N = 20. SE = 1.964 / √20 = 1.964 / 4.472 = 0.439 R.

Standard error at N = 200, assuming the same standard deviation. SE = 1.964 / √200 = 1.964 / 14.142 = 0.139 R.

Multiplier and interpretation. Mechanically applying 1.96 at N = 20 gives a margin of 0.86071R. The t multiplier with 19 degrees of freedom, about 2.093, gives 0.919R and a gross envelope of about −0.819 to +1.019R. Using t alone does not make this a reliable 95% interval: the classical interval’s exact coverage requires an independent normal sample, and outside that setting appropriate approximation conditions. C is short and skewed. At a hypothetical N = 200 with unchanged s, the normal margin is 0.27218R. This is not a new two-hundred-observation record. [5]

Cost and data status. C contains reference gross outcomes without spread or execution deviations; different losses represent different model exits. Fixed C = 0.085R shifts each outcome and the mean by the same amount but leaves s unchanged. Variable costs may increase or reduce dispersion, depending on their relationship with outcomes. For actual data, therefore, assess net standard deviation using net outcomes, with price components counted exactly once. A dispersion model can be assumed earlier, but must be identified as an assumption.

Interpretation. Both mechanical envelopes include zero and do not justify confirming a positive sign. This does not mean the sample contains no information. It establishes its observed mean, dispersion and concentration and reveals weak precision. A gross mean of 0.10R remains an estimate, but negative and positive values of similar scale are compatible with this short sample. After cost 0.085R, the assessed mean is only 0.015R.

What this does not establish. It does not establish that the rule lacks an edge: the interval also contains positive values. Nor does it establish that waiting is enough: interval width falls with the square root of the observation count, so reducing uncertainty fourfold requires a sixteenfold sample.

Rearranging the formula addresses the most frequent question: how many trades would place the interval’s lower bound above zero? The condition 1.96 × s / √N < E gives N > (1.96 × s / E)²; with s = 1.964R and E = 0.100R:

N > (1.96 × 1.964 / 0.100)² = 38.49² ≈ 1.482 trades

The number 1.482 substitutes unrounded s = √(73.28/19) and gross mean 0.10R into the inequality; it is not a study plan guaranteeing a result. Future estimates of both quantities may change in either direction; dependence may increase or reduce variance. For net assessment with the same s and mean 0.015R, the condition gives N > 65.850.865…, or at least 65.851. This enormous difference shows why the assessed mean matters. Sample planning must account for effect size, power, selection and dependence instead of stopping automatically at this formula’s output.

At an assumed twenty trades monthly, collecting 1.482 would take 1.482/20 = 74.1 months, or 6.175 years. At five, it would take 296.4 months, or 24.7 years. This converts hypothetical frequency and the mechanical gross boundary, rather than setting a date for confirming an edge. Frequency, parameters and conditions may change. Earlier data may help, but require checks on quality, rule selection and representativeness; the method appears in 8.9.

Standard error of the mean outcome — Trade count N, SE = s / √N with s = 1.964R, Mechanical margin: t at N=20, 1.96 at othe...
Trade count NSE = s / √N with s = 1.964RMechanical margin: t at N=20, 1.96 at other NInterval around the +0.100R estimateDoes the interval contain zero?
200.439 R0.919R (t multiplier = 2.093)−0.82R to +1.02Ryes
2000.139 R0.272 R−0.17R to +0.37Ryes
8000.069 R0.136 R−0.04R to +0.24Ryes
14820.051 R0.100 R0.00R to +0.20Rbarely excludes zero

Table qualification.Every row transfers dispersion from twenty observations to a hypothetical N, ignoring uncertainty in s itself. N = 1.482 has a positive gross lower bound below 0.00002R, which rounds to zero. This is an algebraic boundary with parameters held fixed, rather than proof after collecting that many observations. With dependence, variance must account for covariances. The table is gross; cost shifts both endpoints down by 0.085R.

Illustration of the model described in this section. Read the assumptions and units alongside the chart.
SE of C’s net meanSE of C’s net mean N=20 SE=0.439138R; net mean 0.015R N=200 SE=0.138868R; current s held fixed conditionally N=800 SE=0.069434R; quadrupling N halves SE Condition A mechanical interval does not ensure coverage with skewness.SE of C’s net meanN=20SE=0.439138R; net mean 0.015RN=200SE=0.138868R; current s held fixed conditionallyN=800SE=0.069434R; quadrupling N halves SEConditionA mechanical interval does not ensure coverage with skewness.

The mean outcome’s standard error is different from a win-rate confidence interval

Both concern uncertainty and are measured in this section, but address different quantities and use different units. Confusing them is common in strategy-assessment texts and leads to reversed conclusions.

The mean outcome’s standard error is different from a win-rate confidence interval — Property, Standard error of the mean o...
PropertyStandard error of the mean outcomeWin-indicator error and win-rate envelope
FormulaSE = s / √NSE_p = √( p × (1 − p) / N )
What it concernsExpected value: the mean outcome per tradeThe proportion of trades closing profitably
UnitR or pips, matching the outcomesPercentage points
What it depends onOutcome dispersion, including individual extreme observationsWith independent indicators and constant p: p and N; the monetary size of a winner does not enter this formula
What it is sensitive toOutcome sizes and the tail; an extreme observation can increase s and the marginThe sign indicator treats +8R and +0.1R identically; dependence and sample selection still matter
What it is used forDescribing mean precision; inference about zero needs a method with suitable assumptionsDescribing win-rate precision; comparison with the threshold also needs an assessment of W, L and C

With 60 winners and 40 losers, normal substitution gives a margin of 1.96√(0.60×0.40/100) = 0.09602, about 9.6 percentage points. The indicative envelope is 50.4–69.6%. Interpretation requires appropriate assumptions and does not yet account for uncertainty in W, L or cost. The range itself spans almost twenty percentage points; it cannot be called precise without comparison with the specific effect being assessed.

Widely dispersed outcome sizes can simultaneously produce a broad mean envelope containing zero. Signs and amounts carry different information. A win indicator does not distinguish +0.1R from +8R; the mean must preserve those sizes. Assessing win rate does not replace assessing net results.

With less dispersion and unchanged mean and N, model SE is smaller. This does not mean every short series of equal results settles the sign: variance and distribution may be poorly estimated, and a small sample may omit rare events. Check win rate and mean separately, because a win indicator discards outcome-size information.

The mean outcome’s standard error is different from a win-rate confidence interval — Measured win rate, At N = 100: half-wi...
Measured win rateAt N = 100: half-widthIntervalAt N = 400: half-widthInterval
30%±9.0 pp21.0% – 39.0%±4.5 pp25.5% – 34.5%
35%±9.3 pp25.7% – 44.3%±4.7 pp30.3% – 39.7%
45%±9.8 pp35.2% – 54.8%±4.9 pp40.1% – 49.9%
50%±9.8 pp40.2% – 59.8%±4.9 pp45.1% – 54.9%
60%±9.6 pp50.4% – 69.6%±4.8 pp55.2% – 64.8%
70%±9.0 pp61.0% – 79.0%±4.5 pp65.5% – 74.5%

The first row in full: √(0.30 × 0.70 / 100) = √0.0021 = 0.0458; multiplying by 1.96 gives 0.0898, or ±9.0 percentage points. Quadrupling the sample exactly halves the half-width because √4 = 2. This is the same relationship that required a sixteenfold sample to improve the mean’s standard error fourfold.

Conditions behind the win-rate table. This is a normal approximation for independent indicators with constant p, giving an indicative margin 1.96√[p(1−p)/N]. Central p values and N =100/400 do not remove the need to check sample selection. At extreme proportions, a Wilson or exact binomial interval may be more appropriate. With dependence, the table does not determine the correct width; the direction of adjustment follows from indicator covariances, rather than the word “dependent” alone.

The practical consequence concerns comparing win rate with its threshold. In series A, 45% was assumed to be 1.6 percentage points above the cost-inclusive threshold.

A assumes p =45%; it does not measure it from one hundred observations. If 45% had been estimated from N =100 independent observations, the normal margin would be 9.75 percentage points, far exceeding the 1.6-point margin above p* =43.4%. You could then say “the sample proportion is above the threshold,” but not “a population excess has been confirmed.” A real rule’s threshold also depends on estimated W, L and C; a p interval does not complete the assessment of E.

SE falls with the square root of N N=20 SE C=0.439138 R N=200 SE C=0.138868 R N=800 SE C=0.069434R; net mean 0.015R
Educational model: sE falls with the square root of N. Read the article’s assumptions alongside the diagram; no strategy-test result is shown.

Expected value of a series versus expected value of a trade

For N outcomes with the same finite mean μ, the expected sum is Nμ even without independence. With independence and the same finite variance σ², its standard deviation is σ√N. This describes a future sum’s dispersion in a specified model, rather than the mean estimator’s error. The table substitutes μ = 0.10R and s from C as an approximation to σ, ignoring error in those estimates.

E(sum) = N × E and SD(sum) = σ × √N, with illustrative substitution σ ≈ s

With positive μ, the ratio σ√N/(Nμ) = σ/(μ√N) falls. Lower relative dispersion does not mean the sum’s absolute deviation from Nμ falls. Convergence of the mean requires appropriate process conditions, rather than merely multiplying the expected sum. Also distinguish the mechanical envelope’s lower endpoint from a rounded zero in the table.

Expected value of a series versus expected value of a trade — Trade count N, Expected sum with E = 0.100R, Standard deviation...
Trade count NExpected sum with E = 0.100RStandard deviation of the sumMechanical envelope Nμ ± 1.96s√N
20+2.0 R8.78 R−15.2R to +19.2R
200+20.0 R27.77 R−34.4R to +74.4R
1482+148.2 R75.60 R0.0R to +296.4R

For the middle row: SD(sum) = 1.964 × √200 = 1.964 × 14.142 = 27.77R; the interval’s half-width is 1.96 × 27.77 = 54.4R with expected sum 20.0R. Dispersion is therefore almost three times what the series is estimated to produce.

At hypothetical N =1.482, the normal gross envelope for the sum has a lower bound of about 0.018R, rounding to 0.0R in the table. This is the mean calculation multiplied by N. However, a future sum’s dispersion with known μ and σ cannot be equated with uncertainty in the estimator of μ: a real forecast must also incorporate parameter error. Net expected sum in this substitution is 1.482×0.015 =22.23R, with a mechanical margin of about 148.18R, so zero remains inside the envelope.

The table sums outcomes in R with a fixed 20-pip denominator; it models neither account balance nor interest on it. The sum’s standard-deviation formula requires independent outcomes with finite variance; table s is an illustrative approximation to σ. Expressing outcomes in R does not itself require identical volume for every trade. Conversion into amounts and the balance path needs individual weights and belongs in Section 9.

Translating these outcomes into an account-balance path requires position sizes and recognition that outcome order matters for the path even when it does not affect the endpoint. Both belong in Section 9.

With positive μ, expected sum grows linearly and its standard deviation in the i.i.d. model as √N. Relative dispersion falls, but absolute deviation from Nμ need not. Furthermore, μ is usually estimated and conditions may change. A large deviation in an individual series may reflect randomness, changing costs or distributions, or data errors; the table does not distinguish those causes.

N trades do not equal N independent observations

N trades need not provide N independent pieces of information. Check for signal clusters within a move, day, time window and across instruments. Shared conditions can create dependence, without themselves establishing its sign or strength. In general, Var(mean) = [ΣVar(Xᵢ)+2Σᵢ<ⱼCov(Xᵢ,Xⱼ)]/N². Positive covariances increase dispersion; negative covariances reduce it.

Three mechanisms most often undermine independence. Signals cluster within one price move, so several successive trades share direction and execution conditions.

Clustering within a session or window can link liquidity and cost conditions. Applying a rule to several related instruments can also create dependence. This does not make every position an exact copy of one piece of information. The variance change depends on outcome covariances, which must be investigated or explicitly assumed in a model.

With positive dependence within clusters, the effect is one-sided: actual variance of the mean exceeds the independence calculation, so the interval is wider rather than narrower. The amount of underestimation can be approximated by assuming an average cluster size and average within-cluster correlation.

Calculation: effective sample size with clustering.

Cluster-model assumptions. Assume N =200, C’s standard deviation s =1.963884R, equal disjoint clusters of m =4 and within-cluster correlation ρ =0.25. Clusters are mutually independent and variances equal. These parameters are illustrative, rather than recorded estimates; unequal sizes and differing correlations require another calculation.

Variance inflation factor. 1 + (m − 1) × ρ = 1 + 3 × 0.25 = 1.75.

Effective sample size in this model. N_eff =200/1.75 =114.285714…, retained without rounding for subsequent calculations. This is not a universal count of “real trades,” but the independent-model sample size with the same variance of the mean.

Standard error. SE = (1.963884/√200)√1.75 =0.183705R, compared with 0.138868R under independence. The factor √1.75 =1.322876 increases the margin by 32.2876%. With net mean 0.015R, normal substitution gives a margin of 0.360061R. This is a calculation within the specified cluster model, rather than an estimate of dependence in C.

Result and interpretation. In this model, the mean of 200 clustered outcomes has the same variance as that of 114.285714 independent outcomes with the same individual variance. This is variance equivalence for one estimator, rather than equivalence of all information or the entire distribution. Unequal clusters, differing correlations and dependence between clusters require another assessment; methods preserving data structure are developed in 8.9.

First examine signal distribution across days, episodes and instruments and record how dependence is assessed. Then choose the uncertainty method. The formula s/√N can underestimate SE with positive covariances and overestimate it with negative ones; a universal adjustment multiplier is inappropriate. Methods preserving time and block structure, and their limitations, are discussed in 8.9.

Higher frequency can accelerate data collection without guaranteeing proportional information growth. If new entries respond to the same episodes and have positive covariances, effective sample size grows more slowly; selecting different events may produce a different result. Every entry also carries its own cost. Determine the quantities for the rule; horizon effects are discussed in 8.3 and 8.5.

Gross and net: the same dispersion, a different question.

C totals 2R gross and 0.30R net after deducting 0.085R twenty times. With fixed cost, s remains √(73.28/19), but net mean 0.015R and inequality 1.96s/√N < mean require N >65.850.865…, or 65.851. For gross mean 0.10R, the boundary is 1.481.644…, or 1.482. This is no instruction to collect such an enormous sample; it demonstrates how strongly cost changes the assessed effect’s scale. If the question concerns an after-cost edge, a gross conclusion does not answer it.

8. The probability of a losing streak

A losing streak has a specified probability even in a positive-expected-value model. Distinguish a specified block of k trades from such a block occurring anywhere within the entire sample.

Two calculations, two events.

With independent trades and win probability p, the probability of k losses in a specified block is (1−p)k. At p = 35% and k = 10, it is 0.65¹⁰ = 1.3463%; at p = 60%, it is 0.4¹⁰ = 0.01049%. The probability of at least one such streak anywhere within N trades is higher. Multiplying by N−k+1 does not give the exact probability: neighboring blocks overlap.

A recurrence accounting for overlapping blocks

Let aₙ(j) be the probability that after n trades no k consecutive losses have occurred and the current losing run has length j = 0,…,k−1. Initially a₀(0)=1 and other states are 0. Transitions are aₙ₊₁(0)=pΣaₙ(j) and aₙ₊₁(j)=(1−p)aₙ(j−1) for j≥1. The branch reaching k losses leaves the no-streak set. The desired probability is 1−ΣaN(j).

A recurrence accounting for overlapping blocks — N, Win probability p, Streak of ≥5 losses, Streak of ≥10 losses
NWin probability pStreak of ≥5 lossesStreak of ≥10 lossesStreak of ≥15 losses
10030%99.94%58.01%12.05%
10035%99.51%36.85%4.73%
10040%97.58%20.49%1.64%
10050%81.01%4.41%0.13%
10060%45.91%0.58%0.01%
20030%100.00%83.51%23.98%
20035%100.00%61.56%9.84%
20040%99.95%37.97%3.47%
20050%96.59%8.99%0.28%
20060%71.37%1.20%0.01%

All figures follow from the recurrence in the i.i.d. model; none are market data. For example, N = 100 and p = 35% give a 36.85% probability of at least one ten-loss streak. Positive sign dependence may increase loss clustering, but saying “trades are dependent” alone cannot determine the direction or magnitude of the change. The table is not automatically a lower bound.

A streak does not establish the edge’s sign

In the two-point model, streak length depends on p, while expected value also depends on W, L and C. A rule with p = 30%, W = 3R and L = 1R gives +0.20R gross despite frequent losses; p = 70%, W = 0.3R and L = 1R gives −0.09R despite frequent wins. After cost 0.05R, these become +0.15R and −0.14R. These are illustrative calculations without rollover. Interpreting behavior during a streak belongs in Section 10; here only the event is calculated.

Reading the streak table before assessing a rule

A specified block starts at a fixed point, for example trade 51, and ends at 60. For a streak anywhere within one hundred trades, there are 91 potential starting points. Events overlap: ten losses from 51 to 60 and from 52 to 61 share nine outcomes. Adding their probabilities therefore does not give the exact chance of at least one occurrence. The recurrence remembers the current run length and removes a path only on first reaching k.

State j describes neither gains nor costs. It counts only consecutive losses at the end of a path that has not yet contained the excluded streak. A win resets j; a loss increases it. When j would reach k, probability mass enters “a streak occurred” and never returns. Thus 1−Σa_N(j) does not count the same path repeatedly even if it contains several long runs.

At p =35%, the probability of a specified ten-loss block is 0.65¹⁰, about 1.3463%. Across one hundred trades, the recurrence gives about 36.85%. This does not mean a block appears regularly every fixed number of trades. One sample may contain none; another may contain several runs sharing many outcomes. Also distinguish “exactly 10 losses followed by a win” from “at least 10”; the table calculates the latter.

The same win rate can give the identical streak table with entirely different E. With p =30%, W =3R, L =1R and C =0.05R, the net mean is 0.15R; changing W to 1R while holding everything else fixed gives −0.45R. The sign-generating process is identical in both models. A long losing run alone therefore neither refutes the first model nor does its absence confirm the second. Assessing changed conditions requires a recorded criterion and full data, rather than current run length alone.

With sign dependence, a single-p recurrence is insufficient. An explicit transition model can be specified, for example a different loss probability after a loss than after a win, but it must first be estimated and checked outside the development data. Positive correlation of monetary outcomes alone need not uniquely determine sign-run distributions. The table is not presented as a lower bound for every real strategy.

For your own calculation, record the definition of loss: gross result, net result or reaching the protective level. A +0.3-pip gross trade becomes −1.4 net after cost 1.7 and changes the sign sequence. A table concerning targets in the two-point model can therefore differ from a table of account losses. Also define N as the count of eligible completed trades, rather than candles or raw signals.

9. Fat tails and individual trades’ contribution

Expected value is a mean, which does not describe distribution shape. Two series with identical expected value may have entirely different paths, losing-run lengths and sensitivity to removing one observation. The last property takes minutes to calculate and is a particularly instructive check when assessing your own series.

Calculation: the three largest trades’ contribution in C.

Assumptions. Twenty gross outcomes in R from Section 6. Total gains 15.8R, total losses 13.8R, series result +2.0R and expected value +0.100R per trade. Illustrative values.

The three largest trades. +6.2R, +3.1R and +2.4R, totaling 11.7 R.

Share of total gains. 11.7 / 15.8 = 74.1%. Three of twenty trades account for three quarters of all gross gains generated.

Series result after removing them. 2.0 − 11.7 = −9.7 R across seventeen trades, giving expected value −0.571 R per trade. Profit factor falls from 1.145 to (15.8 − 11.7) / 13.8 = 4.1 / 13.8 = 0.297.

After removing only the largest. 2.0 − 6.2 = −4.2R across nineteen trades, or −0.221 R. One observation in twenty reverses the entire series’ sign.

Observation status.The largest outcomes’ share becomes known after the sample closes. C specifies reference gross outcomes, so they cannot describe slippage or available fill prices. Actual records separately check signal price, achieved price and the full costs of those trades.

Result and interpretation.This diagnostic omission reveals outcome concentration, rather than a feasible trading rule. Removing three winners leaves 17 observations: net −9.7−17×0.085 = −11.145R, mean −0.655588R. Removing one leaves 19: net −4.2−19×0.085 = −5.815R, mean −0.306053R. All trades and costs remain in the actual journal; a subset calculation deducts only that subset’s observation costs.

Diagnostically omit the largest observations on both winning and losing sides. This assesses sample concentration without creating a feasible rule. Signal-family names do not determine the tail, which depends on the process, exits and execution. Extreme outcomes’ contribution is checked using complete data.

Checking the losing side

The same operation on C’s other side looks different because its loss distribution is much narrower. The three largest losses are −1.5R, −1.3R and −1.2R, totaling 4.0R: 29.0% of losses compared with 74.1% of gains. Removing them raises the series result from +2.0R to +6.0R across seventeen trades, and expected value from 0.100R to 0.353R, a large change without a sign reversal.

Greater dispersion increases uncertainty at the same sample size. In C, +6.2R contributes (6.2−0.1)² = 37.21 of the total 73.28 squared deviations, or 50.778%. With independent data and finite variance, SE can decline with N despite a persistent tail. Width is not therefore fixed by definition; a small sample’s precision in estimating the tail itself is another issue.

Three extreme winners among twenty give an empirical share of 16%, but provide weak precision about future frequency. Define the extreme event before the next sample and assess uncertainty in its share. Three observations establish neither a complete absence of information nor confirmation of a constant frequency.

Median and mean: why a typical trade differs from the result

C’s gross median is −1R because both middle observations are −1R, while the mean is +0.10R. Thirteen of twenty outcomes, 65%, lie below the mean. Moment skewness of the full twenty observations is 1.773144: mean third central moment divided by variance with denominator N raised to 3/2. This is not a bias-adjusted estimator of population skewness. The positive third moment and visible data describe a strong contribution from large winners here; the median–mean gap alone does not define the tail.

The gap between the two figures is no defect requiring repair. It describes the rule’s behavior: a typical trade loses, while a few right-tail observations generate the positive series result. Someone executing such a rule mostly experiences a path consistent with the median rather than the mean. That discrepancy matters whenever impressions are compared with the calculation.

The mean multiplied by N reproduces the total; the median does not. C’s gross median −1R and mean +0.1R show that a positive total does not describe a typical observation. Their gap alone, however, proves neither symmetry nor a particular tail shape. Examine the full distribution, concentration of gains and losses, and frequency of extremes. Fixed cost shifts both measures down by 0.085R.

If an adverse tail event has not yet occurred in the sample, removing the largest observed losses will not detect it. You can assess available-result concentration and state scenarios or data limitations explicitly, but no extreme loss in a short sample does not prove such a loss impossible.

What cannot be inferred

The first tempting conclusion is incorrect: if three trades account for the result, somehow identify them and trade only those.

Identifying them afterward is a description of events rather than a rule. The same operation on any random outcome series identifies its three best observations and makes the rest look unnecessary. A rule would have to identify those trades before they occurred; it would then be a different rule requiring its own assessment.

Concentration in a few observations does not itself prove a rule worthless. Exiting without a fixed target may allow large winners but does not enforce a fat tail: its shape depends on the price process and all exits. Check the full distribution, extreme observations’ share and uncertainty in their frequency. A short sample may omit rare events or contain unusually many.

The third mistake is the reverse operation: excluding extreme observations from the calculation as “atypical.” A +6.2R trade is not a measurement error and has no reason to be discarded.

This section’s check calculates what remains without it, rather than deleting it permanently from the record. C’s gross expected value is +0.100R including that trade, and that is the figure used in the calculation.

Skewness and fat tails can characterize many strategies’ distributions, but are not assigned to every sample in advance. Check them in your own data by calculating the largest observations’ shares as above; attributing them to a rule without calculation is guessing.

10. Sensitivity testing: where the result changes sign

We test three assumptions of A: cost C, target length W and probability p, holding the remaining quantities fixed in each calculation. The starting point is W = 30, L = 20, p = 45% and C = 1.7 pips, giving net E = +0.8 pip = +0.040R. This is neither a study of three market periods nor a backtest.

First dimension: cost

First dimension: cost — Cost C, Break-even win rate p*, Margin of a 45% win rate above the threshold, Net E in pips
Cost CBreak-even win rate p*Margin of a 45% win rate above the thresholdNet E in pipsNet E in R
0 (reference)40.0%+5.0 pp+2.5+0.125R
1.7 pips — assumed value43.4%+1.6 pp+0.8+0.040R
3.4 pips — double46.8%−1.8 pp−0.9−0.045 R
5.1 pips — triple50.2%−5.2 pp−2.6−0.130 R

The table uses net E = 2.5−C. The result reaches zero at C = 2.5, an increase over 1.7 of (2.5/1.7−1)×100% = 47.0588…%. Exactly 47% gives C = 2.499 and E = +0.001 pip; the sign becomes negative only above the boundary. We report 47% solely as an approximate measure of sensitivity.

No claim is made that these costs are realistic for a particular instrument or trading time; all are illustrative assumptions. The table allows you to ask whether your records and execution scenarios include the sign-change boundary. An assumed higher-C variant alone does not prove market instability. A proper test uses data and the method in 8.9.

Second dimension: target length

Second dimension: target length — Target W, Break-even win rate with C = 1.7 pips, Gross E, Net E in pips
Target WBreak-even win rate with C = 1.7 pipsGross ENet E in pipsNet E in R
36 pips (+20%)38.8%+5.2+3.5+0.175 R
30 pips — assumed value43.4%+2.5+0.8+0.040R
24 pips (−20%)49.3%−0.2−1.9−0.095 R

Shortening the target by one fifth reverses the sign even before costs: at W = 24 pips, gross expected value is already −0.2 pip, because 0.45 × 24 = 10.8 does not cover 0.55 × 20 = 11.0. The turning point is W = 24.44 pips gross and W = 28.22 pips net. Shortening the target by under six percent therefore suffices to bring net E to zero.

This is the article’s sharpest check on fragility. Six percent of a thirty-pip target is under two pips, within the variation by which actual average gain can depart from the specified distance when some trades close before reaching the level. The model has little margin under this assumption; the table does not establish the whole rule’s stability.

The relationship between target length and threshold is one-sided and mathematically certain: with unchanged cost and average loss, a shorter target always raises the threshold.

Whether actual win rate also rises with a shorter target is a separate question answered by data rather than the formula. The calculation for targets of a few pips, where this tension determines the outcome, appears in Article 8.3.

Third dimension: model win rate

Here p changes by five percentage points in either direction with fixed W, L and C. This maps the model threshold. Comparing actual periods requires reconstructing every trade, because gain sizes, losses and costs may also change.

Third dimension: model win rate — Win rate p, Gross E in pips, Net E in pips, Net E in R
Win rate pGross E in pipsNet E in pipsNet E in RPosition relative to the 43.4% threshold
50%+5.0+3.3+0.165 R+6.6 pp
45% — assumed value+2.5+0.8+0.040R+1.6 pp
40%0.0−1.7−0.085 R−3.4 pp

At 40% win rate, gross expected value is exactly zero because forty percent is this rule’s cost-free threshold. Net result then equals the full cost in magnitude, with a negative sign. A five-percentage-point fall therefore moves the rule from positive to negative; five points are less than the half-width of the win-rate confidence interval for one hundred trades calculated in Section 7.

Illustration of the model described in this section. Read the assumptions and units alongside the chart.
Cost sensitivity with fixed pp=45%, W=30, L=20. E=2.5−C; illustration, no market test.Cost sensitivity with fixed p-3.0-1.8-0.60.61.83.0C=02.500 pipsC=1.70.800 pipsC=3.4-0.900 pipsC=5.1-2.600 pipspips · linear axis; illustrative values

Two dimensions together

Changing one assumption at a time can miss a combined adverse scenario. Below, cost rises by half and the target falls by one tenth. Both changes are smaller than in the main tables, but each already reverses E alone; combining them deepens the loss.

Calculation: cost up by half and target down by one tenth.

Assumptions. Series A with one change on each side: C = 2.55 pips rather than 1.7, and W = 27 pips rather than 30. Protective exit and win rate are unchanged: L = 20 pips, p = 0.45. Illustrative values.

Break-even win rate. p* = (20 + 2.55) / (27 + 20) = 22.55 / 47 = 0.4798 = 48.0%. Win rate 45% is now 3.0 percentage points below the threshold.

Expected value. E_gross = 0.45 × 27 − 0.55 × 20 = 12.15 − 11.00 = +1.15 pips. E_net = 1.15 − 2.55 = −1.40 pips, or −0.070R.

Breaking it into components. Cost alone gives E_net = 2.5 − 2.55 = −0.05 pip, a reduction of 0.85 pip from the starting point. Target shortening alone gives 1.15 − 1.7 = −0.55 pip, a reduction of 1.35 pips. Their sum is 2.20 pips, exactly the combined reduction from +0.8 to −1.40 pips. Expected value is linear in cost and target length, so their effects add exactly.

The threshold behaves differently. Cost alone raises it from 43.4% to (20 + 2.55) / 50 = 45.1%. Target shortening alone raises it to (20 + 1.7) / 47 = 46.2%. The individual increases sum to 4.5 percentage points, while the combined increase is 4.6 points, because the threshold is a ratio and is not linear in W.

The combined changes are higher cost C = 2.55 pips and target W = 27 pips, with p = 45% and L = 20. E = 0.45×27 − 0.55×20 − 2.55 = −1.40 pips, and p* = 22.55/47 = 47.9787%. Each change already reverses the sign alone: cost 2.55 gives −0.05, while target 27 with C = 1.7 gives −0.55 pip. Combining them deepens the loss.

Single-parameter sensitivity describes a boundary with other parameters fixed. Two simultaneous adverse changes may worsen the result further. This is not a universal lower bound on fragility: parameters may also move in opposite directions. State the scenario and shared assumptions rather than calling it typical without data.

What the three dimensions show together

In conditional model A, the result reaches zero at C = 2.5 pips or W = 28.222222… pips with other parameters fixed. This is a cost increase of about 47.06% or target reduction of about 5.93%. An exact 6% reduction gives W = 28.2 and net E = −0.01 pip. Reducing p five points from 45% to 40% also gives a loss, but zero is reached already at 43.4%. These are model boundaries, rather than an established range of changes in a real rule.

A tolerance criterion can be specified before testing: which changes in cost, average exits and win rate matter, and which out-of-sample check will be performed. Proximity to a model boundary does not prove a selection artifact. It shows where better data and full-rule assessment are needed; the next section develops the procedure.

Conditional sensitivity does not yet establish stability.

The tables vary one assumption at a time while holding the rest fixed. Changing a target usually also requires remeasuring actual win rate; changing periods can alter the entire distribution of exits and costs. No market period or backtest is identified here. This maps where the model sign reverses. Assessing a real rule’s stability requires reconstructing signals for other parameters and periods; the procedure is in 8.9.

11. Selection by results, multiple testing, survivorship bias and look-ahead bias

If a rule was chosen by examining many variants’ results on the same data, its computed mean still describes that variant in that sample. Interpreting it as a future edge, however, is selection-biased. The following mechanisms explain different sources of the problem.

Selection by results

The simplest form tests several variants of one rule — different thresholds, window lengths or currency pairs — and retains the best-performing one.

The selected result then contains two components: a genuine edge, if any, and an apparent advantage created by selecting the maximum of many random quantities. The second cannot be removed without knowing how many variants were tested.

One calculation illustrates the scale. Assume twenty independent tests of rule variants, none with an edge, each with a significance threshold giving a 5% probability of a chance exceedance. The probability that at least one crosses the threshold by chance is 1 − 0.95²⁰ = 1 − 0.3585 = 64.2%. With fifty variants, it rises to 1 − 0.95⁵⁰ = 92.3%. The expected count crossing the threshold is simply 0.05 times the number of variants: one among twenty, two and a half among fifty.

Many trials make a chance success easier to find. This does not prove every selected variant false. White proposes controlling model searching relative to a benchmark[3]; Harvey, Liu and Zhu analyze higher thresholds for multiple factor testing in cross-sectional research[4]. This implies no single threshold proportional to the number of retail strategies. Accounting for selection depends on test design; its procedure is discussed in 8.9.

The same issue arises in others’ comparisons, in a less detectable form. A strategy ranking showing the best three of fifty tested uses exactly this mechanism regardless of its author’s intentions. The decisive question is how many variants were checked before this one was selected; no answer is itself informative.

In the calculation 1−0.95m, m independent tests have true null hypotheses and individual significance level 5%. For m = 20, the result is 64.1514%; for m = 50, 92.3055%. With correlated variants, this formula does not determine the exact chance of at least one false alarm. The expected alarm count 0.05m does not require independence. Selection weakens the evidence, but does not alone prove every chosen rule an artifact.

Multiple testing hidden over time

A less obvious version tests variants sequentially over many months rather than simultaneously. The rule changes after a losing streak, then again and again; after a year, the surviving version remains because it avoided a bad run. No results table was formally searched, but the effect is the same.

Version labels separate results before and after a change. The mixed series’ mean correctly describes the executed mixture, rather than one version’s mean or proof of a future revision procedure’s effectiveness. Report each version separately with its sample size; short samples may leave wide uncertainty.

Survivorship bias — what it is and is not

Survivorship bias occurs when a sample contains only entities still present when it is collected, while those that ceased to exist have disappeared unnoticed. It is a specific sample-selection mechanism based on survival. The researcher’s awareness does not define the bias.

In currency markets, this takes several forms.

  • An instrument universe changing over time. Testing today’s available instrument list omits instruments removed from the offering for various reasons. Their omission changes the population; its effect on a particular rule must be checked rather than assumed.
  • Historical data cut short for withdrawn instruments. If a provider removes series for withdrawn symbols, the test data are already filtered by survival, regardless of how carefully the test is constructed.
  • Selecting observations from participants still trading. “Someone has earned with this method for five years” describes one observation from a sample with unknown initial size. Without that size, five profitable years cannot be distinguished as evidence of an edge or the expected maximum from many attempts.

Controlling this bias is conceptually simple and practically cumbersome: establish the universe at the test period’s start, rather than its end, and keep withdrawn instruments until withdrawal. Where data are unavailable, state the limitation explicitly and avoid conclusions unsupported by the sample.

Look-ahead bias: using information unavailable at the time

The fourth mechanism concerns time rather than selection. The calculation uses information absent at the decision: a candle close before the candle ends, data revised after initial release, or a level derived from movements after entry. Such a result does not reconstruct a decision possible then. It is often inflated, but the bias direction is not guaranteed for every rule.

In expected-value calculations, this most often appears through W. If average gain uses distances reached after entry rather than levels actually specified and filled, W describes potential rather than realized results.

Separating signal price, quote at order placement and fill helps reconstruct the decision. Look-ahead checks also need an information-availability history: when the release was known, whether it was revised and which indicator version was used. Three recorded prices alone do not eliminate future information. The minimum record is presented in 8.1; data assessment is covered in 8.9.

Four sources of weak interpretation Selection and multiple trials Account for variants checked before selection Survival Record universe changes and missing data Future information Decisions use only available data
Educational model: four sources of weak interpretation. Read the article’s assumptions alongside the diagram; no strategy-test result is shown.

Why this belongs in the calculation rather than an appendix

All four mechanisms share a feature: they do not reveal themselves in the number. Expected value from a series affected by any of them looks exactly like that from a clean series — the same units, arithmetic and interval. The difference lies solely in what the figure refers to, which the figure itself does not reveal.

Every result must therefore explain its provenance: how many variants were tested, on which universe, when that universe was defined, and whether the rule changed while the series was collected.

These four answers cannot be reconstructed afterward: either they were recorded or the result remains unresolved. The same applies to assessing someone else’s result, discussed in Section 13.

12. Calculating your own expected value

The framework reduces to four sequential steps. The third uses the arithmetic of Sections 3 and 5; the fourth that of Sections 7 and 9. The first two determine whether there is anything meaningful for the remaining steps to assess.

Step 1: collect a series whose status can be identified

The input is completed trades from records containing the fields listed in Article 8.1. Before any calculation, resolve four questions about the series itself.

  • Which rule version it concerns. Trades before and after a specification change belong to different series, even when the change seemed cosmetic.
  • Its status. Separate the data’s role — development/selection or independent assessment — from the mode: historical, shadow, demo or live. Forward testing can use a live account. A pooled mean may describe a specified whole, but without labels cannot unambiguously assess an independent test.
  • Its boundaries. Period, instrument or instruments, trade count, and how the universe was established at the period’s start.
  • Whether skipped signals are included. Without them, the calculated quantity describes execution rather than the rule, as distinguished in Section 1.

Step 2: calculate the inputs from the series

Calculate p, W, L and C from the series, observing the principle from Section 2: the formula uses averages from the series rather than specified rule distances. The difference depends on exits and execution; its direction is not predetermined.

Step 2: calculate the inputs from the series — Quantity, How to calculate it from the series, Why it differs from the specifi...
QuantityHow to calculate it from the seriesWhy it differs from the specification
pNumber of profitable completed trades divided by all completed trades in the seriesBecause the denominator also includes time exits and exits for reasons unrelated to either level
WSum of positive outcomes divided by their count, in pips or RBecause some winners close before the target, making the average lower than the specified distance
LAbsolute sum of negative outcomes divided by their countBecause protective-exit slippage enlarges some losses, making the average exceed the specified distance
CSpread, commission converted into pips and both slippages, averaged across tradesBecause slippage becomes known afterward and cannot be read from a specification

The table gives examples of where reference and filled results can differ. A name alone does not determine direction: deviations may be favorable or adverse. In a reference ledger, C includes spread, commission, deviations and signed financing where applicable. In a fill ledger, price components are already included; deduct only charges not yet accounted for. No single most common cause is assigned to model–data discrepancies without records.

In the basic two-point model, p is the probability of a positive gross result and also the probability of reaching the target. Adding other exit types can separate these concepts. Alternatively, group net results and do not deduct C again. Keep zero results as a separate category; the shares of gains, losses and zeros must sum to one.

Step 3: the arithmetic

This step consists solely of substitutions already derived.

  1. Gross expected value: E_gross = p × W − (1 − p) × L.
  2. Net expected value: E_net = E_gross − C.
  3. Break-even win rate: p* = (L + C) / (W + L), compared with p* = L / (W + L) without cost.
  4. Cost relative to target: C / W.
  5. Cost relative to gross expected value: C / E_gross — only when E_gross differs from zero.

Threshold checks require conditions: with W,L>0 and fixed C it is algebraic and may exceed 100%, or fall below zero with sufficiently negative C. Positive C raises it; negative C lowers it. E has the sign of p−p* multiplied by W+L. Converting the whole mean between pips and R using one denominator works when every observation has the same positive R; with differing R values, convert outcomes individually.

Step 4: uncertainty and distribution shape

Step three’s result is not yet sufficient for a decision. Add four quantities describing the strength of the result.

  • Standard deviation of individual trade outcomes and the resulting standard error SE = s / √N.
  • An interval around expected value and whether it contains zero. The classical t interval is exact for an independent normal sample; other distributions require approximation conditions. A threshold of thirty observations does not determine the right method. A short, skewed sample may have unreliable coverage despite using t.
  • The three largest observations’ share of total gains, and expected value after removing them — the check in Section 9.
  • Trade distribution over time and across instruments: how many fall on the same days, time windows and pairs. Otherwise, standard error rests on an unchecked assumption.
From records to a mean 1. Records Full results, rule version and sample status 2. Convention Gross minus costs or complete net results 3. Assessment Mean, dispersion, concentration, uncertainty
Educational model: from records to a mean. Read the article’s assumptions alongside the diagram; no strategy-test result is shown.

Errors that invalidate the calculation

Each error below may remain invisible in the mean itself. Their directions differ: double-counted spread understates the result, inconsistent units create arbitrary error, and exit selection depends on which observations were excluded. The table gives the appropriate check for each case.

Errors that invalidate the calculation — Error, What it involves, Bias direction, How to detect it
ErrorWhat it involvesBias directionHow to detect it
Spread counted twiceAdding the difference between market sides separately at entry and exit although a completed round trip pays it onceOverstates C and therefore understates the resultReconstruct one trade: buy at Ask, sell at Bid, one difference
Commission not converted into pipsAdding an account-currency amount to quantities expressed in pipsArbitrary — depends on pip valueCheck units: every C component must share W and L’s unit
W calculated from potential rather than realizationUsing the distance reached after entry instead of the actual realized resultOverstates W, understating the threshold and overstating ECompare average W with the specified target distance. W above it needs explaining only for a rule with that fixed ceiling; a trailing exit may generate larger gains
R calculated from a moved levelDividing the result by the current protective distance rather than its original distanceA smaller denominator increases absolute gains and losses; zero prevents divisionCheck that each trade retains its original positive denominator
Omitting trades closed in other waysCounting only trades reaching one of the two levelsDepends on omitted categories’ outcomesCheck exit-category shares: they must sum to one
Mixing series from two rule versionsCalculating one expected value from trades before and after a specification changeDepends on version weights and outcomes; the mean describes their mixtureSplit by rule-version field and calculate each separately

All six share the feature of the mechanisms in Section 11: none reveals itself in the figure alone. An incorrectly calculated expected value looks like a correct one, with the same unit and possible range. Only reconstruction from inputs resolves the issue, rather than the output itself.

No fixed count of errors can be assumed to favor the result. Reconstruct prices, denominators, costs and observation selection. For actual fill prices, identify every price-cost component as already included or separately deducted.

What to do with a negative result

Negative net E with positive gross E means costs exceed the modeled or estimated gross mean. The result depends on p, W, L and C together. Changing distances can also change p and the exit distribution; assess the new version rather than adjusting one spreadsheet cell alone.

With nonnegative C, negative gross E remains negative net. If C includes account-positive financing and is negative, it can raise the result above zero; check its variability and conditions. Assess the price hypothesis separately from the complete net outcome. Changing p, W or L may represent a new rule or a distribution change under the same rule. Selecting a new version by results requires accounting for selection as in Section 11.

When the mean is near zero with broad uncertainty, a positive sign remains unconfirmed. Data quality and costs can be checked, another independent sample planned, or the investigation ended. A broad interval alone neither instructs continued trading nor proves the absence of an edge.

13. Criteria for assessing someone else’s results

The questions below identify information needed to assess another result and gaps limiting the conclusion. Missing answers do not prove falsehood; they may prevent assessment of a particular aspect. Conflicts of interest require separate assessment because they are not arithmetic errors.

Criteria for assessing someone else’s results — Question, What it establishes, Gap or qualification needing explanation
QuestionWhat it establishesGap or qualification needing explanation
How many trades does the result cover?Whether any interval can be calculated. The count is also the denominator in all other calculationsNo count, or a percentage outcome without the trade count
Which period and instruments?Whether the sample covers several market conditions or one segment. A universe defined at the period’s end introduces survivorship bias“Recent months” without dates, or today’s instrument list
Which costs and which price side?Whether results are gross or net, and whether they include slippage on both sides of the trade“Costs are included” without spread, commission, slippage and swap breakdown
How were the data split?Whether the result comes from the same sample used to develop the ruleNo split, or a split made after seeing both parts’ results
How many variants were tested?The scale of outcome selection, which cannot be removed without this count“I did not count” — with dozens of variants, a strong best result is an expected procedural outcome
What was the largest drawdown, and how long did it last?Whether the series’ path is operationally manageable. Drawdown measures feasibility rather than edgeOnly the endpoint, without the path
What share of the result comes from the largest trades?Whether the result characterizes the series broadly or just a few observationsNo individual outcomes, only aggregated totals
Who bears the risk?Whether the comparison comes from someone trading their own funds or earning by displaying itA sales offer and undisclosed conflict of interest; an offer alone does not invalidate the result

The last question differs from the previous seven, and that distinction needs explaining. The others concern methodology and can be resolved on paper.

This one concerns incentives and does not invalidate the result itself: a seller may be right. It changes where the burden of proof lies, however; where none of the other seven checks is possible, it is the only available information.

Applying eight questions to one sentence

The list works best when followed in order, without jumping to the apparently most important question. Consider a statement designed to sound specific: “The rule was profitable last year with a 62% win rate and profit factor 1.6 on EUR/USD.”

Trade count. Not stated. Without it, no interval can be calculated and no assessment made of whether 62% differs meaningfully from the threshold. At one hundred trades, the win-rate interval’s half-width is 1.96 × √(0.62 × 0.38 / 100) = 1.96 × 0.0485 = 9.5 percentage points, a normal approximation from 52.5% to 71.5% with hypothetical N = 100 and independent observations.

Period and instrument. The instrument and period length are given, but dates are not. A low-volatility calendar year and a year with two abrupt moves are different environments for most rules; without dates, the sample’s environment is unknown.

Costs. No gross or net convention is identified. In series C in Section 6, cost changed profit factor from 1.145 to 1.020 and expected value from +0.100R to +0.015R. A reported 1.6 without this information cannot be compared meaningfully.

Data split. Not mentioned. If the rule was developed during the same year whose result is reported, the result describes fitting rather than validation.

Variant count. No count of designs and parameters tested is given. Without it, the series cannot be assigned a specific selection risk. Section 11’s 64.2% concerns a separate model of twenty independent tests with true nulls and level 5%; it is not the probability that this particular result is random.

Drawdown. Not given. An annual result is an endpoint, revealing nothing about the path taken.

Largest trades’ share. Not given, and generally unrecoverable without individual outcomes. Profit factor 1.6 in a series where three trades generate most gains and in one with evenly distributed results describes two different situations with the same number.

Who bears the risk. This depends on the statement’s context and is the only answer of the eight that arithmetic alone cannot resolve.

The stated aggregates allow limited relationships to be derived. If 62% and PF = 1.6 concern the same set, two sign classes and one cost convention, W/L = 1.6×0.38/0.62 = 0.980645… . This supplies neither outcome scale, uncertainty nor proof of an edge. Full data, cost and version-selection information is needed; otherwise assessment remains limited.

What not to rely on in someone else’s result

Attention often goes to things that settle nothing. Equity-curve shape depends on outcome order and position size; reordering the same series produces a very different-looking curve with identical expected value.

The length of a loss-free period depends mainly on win rate, which, as Section 4 showed, does not even determine the result’s sign. Years in the market describe survival rather than edge and are subject to the bias described in Section 11.

A verified record can establish that trades occurred and provide counts, dates, instruments and some cost and path information. It does not itself confirm account-selection rules, discarded variant counts or freedom from selection. Its value depends on what was verified and access to individual data.

Assessing another person’s algorithm also requires details of the testing procedure: data source and version, price side, resolution, rule for within-candle event order and missing-data handling. This list belongs in Article 8.9 and is not repeated here. The table’s eight questions apply whether outcomes come from an algorithm or manual decisions.

14. What expected value does not tell you

Expected value is this article’s principal tool, making it especially necessary to identify its limits. These are not fine-print qualifications: each changes what can be inferred from the computed number.

The next trade

The limitation is obvious in words and regularly violated in practice. Expected value +0.040R does not mean the next trade earns four hundredths of R; after costs, it produces +1.415R or −1.085R, the only possible outcomes in series A. A distribution’s mean need not belong to its set of values, and here it does not.

This matters when assessing individual decisions. A losing trade does not prove a bad rule, nor a winner a good one: both belong to the distribution.

A fault is different. One trade can reveal an error in specification or order handling — a price from the wrong market side, a level rejected by the platform, or an order submitted later than required. These observations belong to a different category; expected value is not the tool for assessing them.

Distribution shape remains outside the formula

The formula contains three means and nothing else. Two series with identical expected value can have radically different largest-trade contributions, losing-run lengths and skewness. C has gross expected value +0.100R, with three quarters of gains coming from three of twenty observations; a series with the same expected value and even outcomes would be a different undertaking despite an identical output figure.

Similar means do not make rules equivalent. Shape and dispersion affect the path, concentration and estimation uncertainty; high variance requires a larger sample for the same precision. A small sample may also miss rare events. These conclusions require specific distribution and dependence assumptions.

Path and ordering

A series total is independent of outcome order; its path is highly dependent on it. Reordering the same twenty trades changes the deepest drawdown and when the balance returns above its previous level. Expected value is blind to this by construction because it is a mean. Drawdown, its measurement and implications belong in Section 9. How the series’ path affects decisions during it belongs in Section 10. This article calculates only the mean and its uncertainty, without extending beyond that scope.

What the true value is

At hypothetical N = 200 with C’s unchanged s, the mechanical envelope around gross mean 0.10R is about −0.172 to +0.372R; around net 0.015R, about −0.257 to +0.287R. C contains only twenty outcomes; the table adds no further 180 records. With dependence, adjustment direction and size follow from covariances. Report results with data status, N and a suitably justified uncertainty assessment.

When the distribution changes

An estimate describes its source sample and transfers to the future only under an unchanged-outcome-distribution assumption. Convenient though this is, it need not hold. Detecting when it has failed is difficult because the same data may fit either an ordinary drawdown or changed conditions.

Four situations can explain a different result: changed costs, changed instrument movements, a changed rule and ordinary draws from an unchanged distribution. The first two may occur without rewriting the rule. The third needs a new version label; the fourth is not a distribution change.

What can change the result later Cost Spread, commission, execution and financing Market process Different moves, tails and outcome dependence Rule and randomness A new version or ordinary sample variation
Educational model: what can change the result later. Read the article’s assumptions alongside the diagram; no strategy-test result is shown.

Distinguishing these four cases requires data often unavailable after a losing streak and a criterion recorded in advance; any such criterion can err in either direction. Its construction is discussed in Article 8.9. Here it is enough to establish that expected value alone neither resolves nor is designed to resolve this question.

Amounts and account currency

Conversion into money requires pip value and volume. One positive conversion factor for the whole series changes only scale; varying values require individual conversion. Position size and its relationship with drawdown are discussed in Section 9.

In a linear execution model with fixed pip costs and unchanged signal selection, changing volume scales amounts without changing E’s sign or p*. Check these assumptions: minimum fees, execution conditions or limits may prevent per-unit C remaining constant.

A minimum commission independent of volume violates these assumptions: pip costs can then change with position size. The calculation appears in 8.3. This is not the only possible source of changing costs.

Rule feasibility

A positive-expected-value rule whose condition occurs during unavailable hours, or requires a faster reaction than the working mode allows, is practically equivalent to having no usable rule. The calculation contains no availability measure and cannot answer that question. Eliminating styles infeasible under personal constraints is discussed in Article 8.10. Intermediary terms may impose separate feasibility limits: minimum position duration, permission to trade around data releases or required order distance from current prices. Check these before calculating anything, because they can invalidate a rule regardless of expected value; they are discussed in Section 12.

It does not replace written rules or a test

An empirical mean uses an explicit series; theoretical expected value uses an explicitly assumed distribution. Neither calculation replaces unambiguous rule specification. Inferring a real edge requires cost, uncertainty and sample-selection information, plus assessment outside development data. Specification criteria are set in 8.1; the testing procedure is developed in 8.9.

Completing the exercise without confusing data status.

The distribution below is defined before sampling. p =34% may be any model probability; it does not represent 40.8 actual wins among 120 trades. No dates, instrument from a real record or out-of-sample result are assigned to it. With your own data, first report integer winner, loser and zero counts, full results, system version and sample-collection method; then calculate. Assumed independence belongs to the model, rather than information read from a nonexistent journal.

15. Self-check exercise and the next step

Exercise: threshold and precision for an explicit model.

EUR/USD, 1 pip = 0.0001; long position; reference Bid-to-Bid distances W = 45 and L = 18 pips; fixed levels. Illustrative completed-trade cost C = 0.7 spread + 0.3 commission + 0.2 entry slippage + 0.4 exit slippage = 1.6 pips. Close before rollover. p = 34% is a model probability. N = 120 is a contemplated future independent sample size, rather than records with “34% of 120” hits.

  1. Calculate gross and net E in pips and in R = 18 pips.
  2. Derive the threshold and check E = (W+L)(p−p*).
  3. Calculate the two-point model’s standard deviation: σ = (W+L)√[p(1−p)], in R and pips, then σ/√120.
  4. Find the algebraic sample size at which 1.96σ/√N < net E. Explain why this does not guarantee a positive study outcome.

Answer. Gross E = 0.34×45 − 0.66×18 = 3.42 pips; net 1.82 pips = 0.101111…R. p* = 19.6/63 = 31.1111%. Identity: 63×(0.34−0.311111…) = 1.82. σ = 63√(0.34×0.66) = 29.843653 pips = 1.657981R; fixed cost leaves variance unchanged. SE at N = 120 is 2.724340 pips = 0.151352R. The mechanical net E ± 1.96SE includes zero. N > (1.96×29.843653/1.82)² = 1.032.935773…; the smallest integer is 1033. This calculation uses a known hypothetical distribution; a real sample has no guaranteed mean or variance in advance.

With short targets, cost consumes a larger share of expected outcomes. The next Article 8.3 on scalping develops this mechanism. Position sizing belongs in Section 9.

Step-by-step solution: seven checks

1. Cost and the two ledgers. Four illustrative components sum to 1.6 pips per completed trade. W and L are reference Bid-to-Bid quantities before price costs, so deduct all C. With actual Ask entry and Bid exit prices, spread and slippage would already be in the difference, leaving commission. Agreement between both approaches on one trade checks that cost is not added twice.

2. Threshold. Without cost, p₀ =18/63 =28.5714%. With cost, p* =19.6/63 =31.1111%. The increase is 1.6/63 =2.5397 percentage points, calculated from unrounded values; subtracting visible 28.6% from 31.1% gives an approximate 2.5 points. At p =34%, the margin is 2.8889 points. Since W+L =63 pips, 63×0.028888… =1.82 pips net. This margin alone cannot rank other strategies’ E magnitudes.

3. Sign.In this model, p exceeds the threshold, so net E is positive. There is no need to wait for 120 random realizations to calculate the model value’s sign. Empirical research differs: p and average exits would be estimated, and a positive sample mean would require quantified uncertainty. “The model has positive E” and “my rule has a confirmed edge” rely on different foundations.

4. Units.With 1R =18 pips, W =2.5R, L =1R and C =0.088888…R. Gross E =0.34×2.5−0.66 =0.19R; net 0.101111…R. Multiplying by 18 gives 3.42 and 1.82 pips. Reporting 0.101R is suitable for presentation, but the subsequent N condition uses 1.82/18 without truncation. A rounded denominator can change final sample size by several observations.

5. Two cost comparisons.C/W =1.6/45 =3.5556%, while C/E_gross =1.6/3.42 =46.7836%. The first ratio concerns one positive gross outcome; the second the difference between positive and negative components of the mean. Cost small relative to target may consume much of that difference. Neither 3.6% establishes immaterial cost nor 46.8% an infeasible rule: net E and the full signal model decide.

6. Dispersion.The difference between the two outcomes is W+L =63 pips. Two-point variance is p(1−p)(W+L)², giving σ =29.843653 pips rather than an arbitrary deviation unrelated to the distribution. Subtracting a fixed 1.6 shifts both outcomes but preserves their gap and variance. SE of the model mean from 120 independent draws is 2.724340 pips. The future realized mean remains random; its expected value is 1.82.

7. Precision and sampling.The normal mechanical envelope for the model mean at N =120 has margin 1.96×2.724340 =5.339707 pips, or about −3.5197 to +7.1597. In R, it is about −0.19554 to +0.39776. This is no empirical interval from 120 records; such data are absent. The inequality 1.96σ/√N <1.82 gives 1.032.935773, so the smallest integer is 1.033. This is a boundary under a fixed known model and approximation, rather than a guarantee of a positive lower bound in real research.

What the final check does and does not confirm

The calculation passes unit, cost-total, sign and threshold-identity checks. The full model also specifies distribution shape, allowing variance to be derived without individual records. In a real sample, p and s alone cannot assess extreme-trade dependence or time clustering. Preserve complete outcomes, dates, instruments and skipped cases. The model example does not supply those data for you.

Two further scenarios can be checked: raise C from 1.6 to 3.2 with other parameters fixed, then reduce W from 45 to 40. The first gives net E 0.22 pip and threshold 33.6508%; the second gives 0.12 pip and threshold 33.7931%. Both remain positive at model p =34%, but their margins narrow substantially. Combining the changes gives −1.48 pips and threshold 36.5517%. Changing an actual rule’s target may also change p, so this is not a new-version backtest.

The exercise supplies a working sequence rather than ready-made parameters: data status, price convention, costs, mean, threshold, dispersion, dependence and sensitivity. Short targets are developed in 8.3, holding-time costs in 8.5–8.6 and independent validation in 8.9. Your own records can follow the same sequence only when their definitions match those used in the formula.

Simulate random trade sequences in the Monte Carlo Simulator, run full drawdown checks with the Drawdown Calculator, and compute live log expectancy in the Expectancy Calculator.

FAQ — frequently asked questions

Does a high win rate mean an edge?

It alone cannot determine the result’s sign. Average gain, average loss and full cost are needed. With 75%, W = 8 and L = 30 pips, expected value before costs is −1.5 pips. This is an illustration, rather than market statistics.

Should spread also be deducted from an Ask-to-Bid result?

If the result uses actual Ask buying and Bid selling prices, spread is already in their difference. Deduct only costs excluded from it, such as commission and swap charges or credits. Full C is deducted from a reference gross result not already containing those costs.

How many trades establish an edge?

There is no universal count. Net mean size, variance, outcome dependence, variant selection and condition stability matter. N > (1.96s/x̄)² substitutes current estimates rather than providing a guarantee or complete study plan.

Can ten consecutive losses coexist with positive E?

Yes. In an independent model, probability depends on win rate and trade count; positive E also depends on gain and loss sizes and cost. Section 8 calculates a streak anywhere in the sample recursively, accounting for overlapping blocks.

Does profit factor above 1 confirm an edge?

For the same complete net series with nonzero total losses, PF > 1 means a positive historical total and mean. It establishes neither mean uncertainty nor whether the result survives outside rule-selection data.

Must a result selected after many tests be false?

No. Selection weakens interpretation and requires accounting for the tested variant count and further validation. It does not alone prove an absence of edge. Testing and assessment of another backtest are discussed in 8.9.

Sources and bibliography

  1. Bailey et al., The Probability of Backtest Overfitting — variant-selection risk and repeated data use. The abstract and opening sections were used; the research was not reproduced.
  2. Barber, Odean, Trading Is Hazardous to Your Wealth — a study of US equity accounts, rather than evidence about FX. The study concerns US stock-market accounts and does not examine FX rules.
  3. White, A Reality Check for Data Snooping (2000) — testing the best selected specification’s superiority relative to a benchmark. The abstract and introduction were used, without reproducing the testing procedure.
  4. Harvey, Liu, Zhu, …and the Cross-Section of Expected Returns — multiple testing in cross-sectional factor research requires a higher threshold. The available abstract and bibliographic information were used, rather than the full paper.
  5. NIST, Confidence Limits for the Mean — the t-interval formula for a mean and assumptions for interpretation.
  6. ESMA: Retail CFD investor outcomes and transaction-cost drag evidence.
  7. BIS: Triennial Survey benchmarks on FX market liquidity and execution costs.

Your learning progress

Finished this lesson? Mark it yourself. Opening or scrolling a page never marks it complete.

Progress requires JavaScript and browser storage.

Saved only in this browser. No account or cross-device sync. Clearing site data can erase your progress.

Jarosław Wasiński

Editor-in-chief, ForexMechanics.com • Macro & FX analyst

Independent analyst and practitioner with over 20 years of experience in financial markets. Actively involved in Forex since 2007, with a focus on fundamental analysis, OTC market structure, and disciplined capital risk management.

  • Creator and editor-in-chief of MyBank.pl, providing reliable financial education since 2004.
  • Author of hundreds of in-depth market commentaries, structural analyses, and educational materials for traders and investors.
  • Advocate for market transparency, promoting education grounded in hard data and institutional reports (BIS, ESMA, CFTC).

Full author profile, credentials & published research →

All content is educational and informational only – it does not constitute investment advice or a recommendation. Remember: leveraged trading (Forex/CFD) carries a high risk of rapid capital loss.