candlestick_patterns
Scan recent bars for candlestick patterns and assess if each is a genuine reversal signal based on trend context.
Instructions
Detect candlestick patterns in the most recent bars.
Args: symbol: Ticker. market: "crypto", "stock" or "idx". interval: Candle size. lookback: How many recent bars to scan (1-20).
Each hit reports the trend it appeared in and whether that makes it a genuine reversal — a hammer inside an uptrend is not a bottom signal.
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": {
"symbol": "<symbol>"
},
"name": "candlestick_patterns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market | No | stock | |
| symbol | Yes | ||
| interval | No | 1d | |
| lookback | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||