draw_horizontal_line
Draws a horizontal line at a specified price on the open TradingView chart, with optional color and width for annotating support, resistance, or price levels.
Instructions
Draw a horizontal line at a price.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"price": "<price>"
},
"name": "draw_horizontal_line"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | Hex colour, e.g. #ff1744 red, #00c853 green | |
| price | Yes | ||
| width | No |