alert_create
Set a price alert on the active TradingView chart with custom conditions (crossing, greater than, less than), expiration, and mobile notifications to monitor key levels without manual oversight.
Instructions
Create a price alert on the current chart using TradingView's authenticated alert API
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | Yes | Price level for the alert | |
| message | No | Alert message | |
| condition | Yes | Condition: crossing, greater_than, or less_than | |
| frequency | No | on_first_fire fires once then deactivates. on_bar_close fires on every bar close where the condition holds, which is what you want for a level you keep watching. These are the only two values the API accepts (verified live). | on_first_fire |
| resolution | No | Series the condition is evaluated on: minutes as a bare number (1, 5, 15, 60, 240) or D, W, M. Must match the timeframe you actually trade. | 1 |
| mobile_push | No | Enable TradingView mobile push notification | |
| expiration_days | No | Days until expiration |