What the official Strategy Tester documentation defines
TradingView's Sharpe help page defines SR = (MR − RFR) / SD using monthly account-equity returns. Its Sortino page replaces SD with downside deviation. The annual benchmark is set by the risk_free_rate parameter in the strategy declaration. The official RiskMetrics library's update notes confirm monthly periods are used consistently; older descriptions of switching to daily returns on short histories should not be applied to the current calculation.
| Input | Meaning | Comparison check |
|---|---|---|
| Return observation | Account-equity change over a monthly period | Do not substitute each trade's P&L percentage. |
| Sharpe denominator | Dispersion around the mean of all returns | Check population versus sample standard deviation. |
| Sortino denominator | Shortfalls below a target return | Check the target and whether the divisor includes all observations. |
| Risk-free rate | Annual parameter; default 2% | Use a rate in the same period and units as the returns. |
| Annualization | The published ratio formula has no square-root-of-12 multiplier | Label any additional annualization explicitly. |