alert_create
Set up a TradingView alert using a custom Pine Script condition, symbol, interval, and message to receive notifications when specific technical patterns occur.
Instructions
Create a new alert
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": {
"condition": "<condition>"
},
"name": "alert_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No | TradingView symbol | |
| message | No | Alert message text | |
| interval | No | Chart interval | |
| condition | Yes | Alert condition (e.g., "crossover(ta.sma(close,20), ta.sma(close,50))") |