Home/Glossary/Confidence interval
Analysis & metrics

Confidence interval

An interval estimated from a sample using a procedure whose stated coverage refers to repeated studies under its assumptions. A classical 95% confidence interval does not assign a 95% probability to a fixed parameter lying inside the particular interval already calculated. It describes estimation uncertainty, rather than the next trade’s outcome range or a guarantee of persistent edge.
Example. The mean from 42 independent observations is 0.22R and the sample standard deviation is s = 1.30R. Under an iid normal model, SE = s/√42 ≈ 0.2006R and t₀.₉₇₅;₄₁ ≈ 2.01954 gives a 95% interval of approximately [−0.185R, 0.625R]. This concerns the model mean, not the next trade; dependence and heavy tails require further assessment.

How it works

The appropriate method depends on the parameter, distribution and dependence in the data. For a mean with unknown population standard deviation, a t-based interval is often used; heavy tails or dependent trades require further scrutiny. Report the method and sample rather than only saying “95%”.

For comparison, the normal approximation using 1.96 gives [−0.173165R, 0.613165R]. It differs from the t interval using estimated s and is not a bootstrap result.

Common mistake

An interval containing zero does not prove there is no edge. Excluding zero does not remove data errors, strategy-selection bias or regime changes. A mean interval cannot replace drawdown and tail-loss analysis.

Further learning

In the course: 15.9 Forex Trade Journal — R-Multiple, Expectancy, SQN, and MAE/MFE. Sources: NIST: confidence limits for the mean.

Precision and study design

More computational repetitions do not create real observations. Dependent trades and overlapping positions alter sample information. Choose an interval method before selecting a favourable result; an interval for the mean does not replace rare-loss analysis.

Primary source checked 11 October 2026: docs.scipy.org.

FAQ

Does a 95% interval contain 95% of future trades?
No. A confidence interval concerns a parameter estimate. A prediction interval for a future observation is a different construction.
Does an interval containing zero prove there is no edge?

No. It indicates uncertainty under the method and assumptions rather than proof of exactly zero effect.

← Back to the full glossary

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.