Drawdown recovery calculator
calculate_drawdown_recoveryThe gain needed to recover from a drawdown and, optionally, how many losing trades in a row at a fixed risk per trade cause it. Computed with the same function as Clear Tape's free drawdown recovery calculator page (linked in the result), not estimated. Returns the inputs, each result with its unit, the formula and the page link. Educational, not investment advice.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"loss": "<loss>"
},
"name": "calculate_drawdown_recovery"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language of the returned text: "en" (default) or "zh" (Simplified Chinese). | en |
| loss | Yes | Drawdown in percent of the account (20 = 20%). Above 0, below 100. | |
| riskPct | No | Optional: risk per trade in percent of the account. Above 0, below 100. |