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ể.
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 |