draw_shape
Draw shapes and lines on TradingView charts, including horizontal/vertical/trend lines, rectangles, and text annotations. Specify points and optional styling for precise chart marking.
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}') |