draw_shape
Add shapes like lines, rectangles, or text to TradingView charts by specifying shape type and coordinates, enabling visual annotations for analysis.
Instructions
Draw a shape/line on the chart
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text content for text shapes | |
| point | Yes | { time: unix_timestamp, price: number } | |
| shape | Yes | Shape type: horizontal_line, vertical_line, trend_line, rectangle, text | |
| point2 | No | Second point for two-point shapes (trend_line, rectangle) | |
| overrides | No | JSON string of style overrides (e.g., '{"linecolor": "#ff0000", "linewidth": 2}') |