Analysis & metrics

System Quality Number (SQN)

System Quality Number: commonly the mean trade result in R divided by its sample standard deviation, multiplied by the square root of the number of trades. Record the chosen convention. More observations can raise the statistic without proving a robust edge; dependence, selection bias and changing market conditions limit its interpretation.
Example.

For outcomes −1R, 0R, +1R and +2R, the mean is 0.5R. Using sample standard deviation s = √(5/3) ≈ 1.291R and n = 4 gives SQN = 2 × 0.5 / 1.291 ≈ 0.775. Four observations illustrate arithmetic rather than durable strategy quality.

Data convention

State whether outcomes are net, how initial R is defined and whether dispersion uses n−1. Implementations may use cash outcomes, a different dispersion convention or a trade-count cap. Reconcile conventions before comparing outputs.

Sample-size influence

The square-root factor increases the statistic for unchanged mean and dispersion. Duplicating a dependent sequence does not add independent information. SQN is not automatically a significance test or success probability.

Report alongside it

Include expectancy, R distribution, costs, drawdown, period and protected out-of-sample results. A mean driven by an extreme outcome needs sensitivity analysis. Zero dispersion does not produce an ordinary finite result; do not label it infinite quality.

Primary source checked 11 October 2026: www.backtrader.com.

FAQ

Does a high SQN justify greater leverage?

Not by itself. Sizing depends on capital, loss scenarios, limits and model uncertainty.

Is SQN the same as Sharpe?

No. Observation units, initial R and periods differ; Sharpe generally concerns excess-return series.

← 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).

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.