draw_shape
Add visual annotations to TradingView charts by drawing lines, rectangles, and text markers at specified price-time points, supporting style overrides for clear 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}') |