Tạo candlestick chart (nến) trong Google Sheet
sheets_create_candlestick_chartCreate a candlestick chart in Google Sheets from OHLC data (Date, Open, High, Low, Close). Provide the data range and chart title to visualize price movements.
Instructions
Tạo chart nến cho dữ liệu giá (OHLC). data_range PHẢI có ĐÚNG 5 cột liên tiếp theo thứ tự cố định: Date, Open, High, Low, Close — đúng convention chuẩn của Google Sheets (giống khi tự chọn data trên Insert > Chart bằng tay). Ví dụ: "Data!A2:E50" (không gồm dòng header).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Tiêu đề chart. | |
| data_range | Yes | Range 5 cột liên tiếp, thứ tự CỐ ĐỊNH Date-Open-High-Low-Close, dạng "TenSheet!A2:E50". Không gồm dòng header. | |
| anchor_cell | No | Vị trí đặt chart, dạng "TenSheet!G2". Bỏ trống -> tự đặt bên phải data_range. | |
| spreadsheet_id | Yes | ID của Google Sheet — lấy từ URL (docs.google.com/spreadsheets/d/<ID>/edit) hoặc dùng tool drive_list_spreadsheets để tìm theo tên. |