draw_trend_line
Draw a straight trend line between two exact candle time and price points on a TradingView chart, with optional color, width, and right extension.
Instructions
Draw a straight line between two points (exact candle time and 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": {
"p1": "<p1>",
"p2": "<p2>"
},
"name": "draw_trend_line"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| p1 | Yes | ||
| p2 | Yes | ||
| color | No | Hex colour, e.g. #ff1744 red, #00c853 green | |
| width | No | ||
| extend_right | No |