drawing_style
Change how an existing drawing looks. Get the id from chart_state. Use it to keep several drawings apart — a measured level and a projected one should not be the same colour, and a reader has only the picture to tell them by. Changes the chart you are building; call chart_link when you are done so the person can open it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | From chart_state. | |
| fill | No | Palette fill colour, or “none”. | |
| text | No | Text for annotation tools. | |
| color | No | A palette name. “up” and “down” are the reserved green and red — they assert a bullish or bearish claim, so use them for position zones and not for a measurement. | |
| width | No | Stroke width in pixels, 1 to 6. | |
| symbol | No | Defaults to the charted symbol. | |
| opacity | No | Strength of the whole drawing, 0.1 to 1. Fade a level that is context rather than the decision. | |
| arrowEnd | No | ||
| fontSize | No | Label/text size from 8 to 28. | |
| lineStyle | No | ||
| showStats | No | ||
| arrowStart | No | ||
| extendLeft | No | ||
| showLabels | No | ||
| extendRight | No | ||
| fillOpacity | No | Shape fill opacity from 0 to 1. |