create_alert
Create a price alert that fires when price crosses a set level in TradingView, validating direction against live price and confirming the stored level.
Instructions
Create a price alert that fires when price crosses a level. Refuses a level on the wrong side of live price, and reads the alert back to confirm the stored level.
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": {
"level": "<level>",
"direction": "<direction>",
"message": "<message>"
},
"name": "create_alert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | Yes | ||
| message | Yes | ||
| direction | Yes | ||
| days_to_expire | No |