find_support_resistance
Identify clustered support and resistance zones from swing pivots, returning the nearest levels below and above the current price with their distances.
Instructions
Find clustered support/resistance zones from swing pivots.
Groups pivot highs/lows that lie within tolerance_pct of each other
into zones; each zone's touches is its strength. Returns the nearest
support (below price) and resistance (above price) zones with
their distance from the current price.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| symbol | Yes | ||
| exchange | No | ||
| timeframe | No | 1h | |
| max_levels | No | ||
| tolerance_pct | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||