跳到内容
DDavinchu TradeOS
功能产品工作台适用人群价格合作伙伴常见问题博客
EnglishEspañolРусскийУкраїнська中文PolskiDeutsch
登录注册
功能产品工作台适用人群价格合作伙伴常见问题博客登录注册
Davinchu 博客

Sharpe ratio, Z-score, AHPR and GHPR explained

Formulas and examples for the Sharpe ratio, Z-score (runs test), AHPR and GHPR in trading account statistics: what each metric means and how to read them together.

发布日期2026年10月11日更新日期2026年10月15日作者Davinchu 团队阅读时间5 分钟

文章

全部文章Davinchu TradeOS overviewHow to use MT5Compound interestForex trading sessionsFunding rateCopy trading: picking a traderGrid and martingale riskMT5 tester vs live accountYour first 30 days in tradingStop loss and take profit in MT5Margin, margin call, stop outMT4 vs MT5Edgewonk vs DavinchuTradezella, TradesViz, DavinchuFX Blue vs DavinchuIntelinvest, Snowball, DavinchuLiquidation price: Bybit, BinanceInvestment tracking: Excel or appChecking an EA before buyingSelling EAs and signalsMT5 alerts in TelegramWhy an EA isn't tradingVPS for an EAPassing a prop challengeEvaluating a strategyTrading plan and checklistTilt and overtradingMT5 investor passwordInstalling an EA in MT5Showing results to investorsReturn: TWR and XIRRBybit trade historyCrypto portfolio trackingReviewing students' journalsTrading teamProfit factorTrading expectancyRisk/reward ratioThe 1% ruleSharpe, Z-score, AHPR, GHPRTrailing vs static drawdownLimiting losses in MT5Crypto trading journalRead-only API keyLot size calculationTrading journal templateMT5 account monitoringMyfxbook alternativesTrading journal for MT5Prop firm risk managementCalculating drawdownStocks from IBKR and T-BankJournals and monitoring compared
本文尚未翻译成您的语言——以下为该语言版本:英语。

In short. The Sharpe ratio shows how steadily a strategy earns relative to the spread of its results. Z-score shows whether neighbouring trades depend on each other (streaks or alternation). AHPR and GHPR are the average return per trade: arithmetic and geometric, i.e. with compounding. All four are in the MetaTrader 5 strategy tester report and in monitoring services, but they are calculated differently — only compare values from the same method.

Sharpe ratio

The classic Sharpe ratio is excess return (above the risk-free rate) divided by the standard deviation of returns, usually annualised. In trading account statistics it is often calculated more simply — per trade: average trade result / standard deviation of results.

Example: average result +$12.5, standard deviation $110 — Sharpe ≈ 0.11 per trade. The higher the value, the less the result depends on lucky outliers. A per-trade Sharpe and a fund's annual Sharpe are different numbers and cannot be compared.

Z-score

A runs test: how far the sequence of wins and losses is from random.

Z = (N × (R − 0.5) − P) / √(P × (P − N) / (N − 1)), where N is the number of trades, R the number of runs (consecutive trades of the same sign), P = 2 × W × L, W and L the number of winners and losers.

  • Z below −2 — fewer runs than random: wins tend to follow wins, losses follow losses.
  • Z above 2 — more runs: results tend to alternate.
  • Between −2 and 2 — no significant dependency. The ±2 threshold corresponds to about 95% confidence.

Below 30 trades Z-score says almost nothing. A dependency is a reason to test changing the size after a win or a loss — but only on a long history.

AHPR and GHPR

A trade's holding period return HPR = 1 + result / balance before the trade. AHPR is the arithmetic mean of HPRs, GHPR the geometric mean: (HPR₁ × HPR₂ × … × HPRₙ)^(1/n). They are usually shown in percent: (mean − 1) × 100.

Example: two trades, +10% and −10%. AHPR = 0% — «break-even on average». GHPR = √(1.1 × 0.9) − 1 ≈ −0.5% per trade, and the account really lost 1%: 1.1 × 0.9 = 0.99. GHPR is never above AHPR, and the bigger the spread of results, the bigger the gap. The account grows at the GHPR rate.

90%95%100%105%110%012345678910Balance vs the startTrade number−1%−4.9%Balance: +10% and −10% in turnAHPR: 0%GHPR: −0.5%
The arithmetic mean (AHPR) promises zero, while the balance follows the GHPR line down: every pair of trades is 1.1 × 0.9 = 0.99, a 1% loss. The account grows and shrinks at the GHPR rate.

Reading them together

MetricAnswers the question
Sharpehow stable the result is relative to its spread
Z-scorewhether trades depend on each other
AHPRaverage return per trade without compounding
GHPRhow fast the account actually grows or shrinks

None of them replaces profit factor, expectancy and drawdown — they are extra quality checks.

How Davinchu calculates them

In Davinchu these metrics are on the «Trades» tab of the account page, across every closed trade of the selected period and from net results, including commission and swap:

  • Sharpe Ratio — the average trade result divided by the standard deviation of results, with no risk-free rate and not annualised;
  • Z-Score — by the runs test with the formula above, together with a probability;
  • AHPR / GHPR — from the balance before each trade, adjusted for deposits and withdrawals; on exchange futures accounts Funding for the period is shown in their place.

That makes the values comparable across your accounts and periods: the method is the same. On the Free plan two accounts connect at no cost.

日志、风控与分析,一个面板全搞定

Free 永久免费:2 个账户、日志和 AI 分析。接入只需 5–10 分钟。

免费开始
DDavinchu TradeOS

面向交易者与团队的分析平台。

产品

交易日志账户分析账户监控MT5 风险管理器AI 分析交易计算器与工具全部功能Davinchu 适合谁

公司

关于我们价格安全合作伙伴博客交易术语表文档帮助中心联系方式

支持

文档帮助中心Telegram 客服Telegram 频道[email protected]

法律信息

隐私政策用户协议退款政策反洗钱政策
© 2026 Davinchu. 保留所有权利。高级交易分析平台
Davinchu 工作台演示打开实时工作台 →