Cluster support and resistance zones
technical-analysis_support-resistanceCluster swing highs and lows of caller-supplied bars into horizontal support and resistance zones with touch counts. Price $0.03 USDC. POST /api/v1/technical-analysis/support-resistance. An unpaid call returns the x402 payment terms and does not run.
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": {
"bars": "<bars>"
},
"name": "technical-analysis_support-resistance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bars | Yes | bars, array. Required. | |
| minTouches | No | minTouches, integer, from 1 to 1000. Required. | |
| swingWindow | No | swingWindow, integer, from 1 to 500. Required. | |
| zoneWidthPct | No | zoneWidthPct, number, from any to 1. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| levels | No | levels. Array. | |
| params | No | params. Object. | |
| warmup | No | warmup. Object. | |
| sources | No | sources. Array. | |
| limitations | No | limitations. Array. |