compute_bar_metrics
Calculates per-candle volume, spread, close-position, and body ratios plus trend percentage from stock data, giving objective numbers to identify VSA and Wyckoff signals without auto-labeling.
Instructions
Tính chỉ số THÔ theo từng nến (volume_ratio, spread_ratio, close_position, body_ratio) + trend % — nền tảng khách quan để tự nhận diện tín hiệu VSA (No Demand, Climax, Up-thrust, Stopping Volume...) hoặc sự kiện Wyckoff (SC, AR, ST, Spring, SOS, LPS) theo đúng ngưỡng mô tả trong skill phương pháp. Tool này KHÔNG tự gán nhãn signal — chỉ trả số liệu, việc đọc/kết luận là của bạn (Claude), dựa trên skill hướng dẫn phương pháp cụ thể.
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>",
"resolution": "<resolution>"
},
"name": "compute_bar_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Số nến lấy về — cần >= 70 để chỉ số volume/spread ratio có đủ dữ liệu warm-up (median 50 nến) | |
| symbol | Yes | Mã cổ phiếu, ví dụ HPG, VNM, FPT | |
| resolution | Yes | Khung thời gian nến |