Compute Fibonacci retracement and extension levels
technical-analysis_fibonacci-levelsCompute retracement and extension prices between a supplied swing low and high, or between the highest high and lowest low of caller-supplied bars. Price $0.02 USDC. POST /api/v1/technical-analysis/fibonacci-levels. An unpaid call returns the x402 payment terms and does not run.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "technical-analysis_fibonacci-levels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bars | No | bars, array. Optional. | |
| levels | No | levels, array. Required. | |
| lookback | No | lookback, integer, from 2 to 20000. Required. | |
| swingLow | No | swingLow, number. Optional. | |
| direction | No | direction, string, one of up, down. Required. | up |
| swingHigh | No | swingHigh, number. Optional. | |
| extensions | No | extensions, array. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | params. Object. | |
| warmup | No | warmup. Object. | |
| sources | No | sources. Array. | |
| swingLow | No | swingLow. Number. | |
| direction | No | direction. String. | |
| swingHigh | No | swingHigh. Number. | |
| extensions | No | extensions. Array. | |
| limitations | No | limitations. Array. | |
| retracements | No | retracements. Array. |