Charting tips

Automate alerts with webhooks

A normal alert pushes a message to you; a webhook alert pushes it to a program. When the alert fires, TradingView sends an HTTP request to a URL you specify, wiring up notification bots, logging systems, or your own service.

Basic setup

When creating an alert, tick "Webhook URL" and enter your endpoint. On trigger, TradingView sends the alert message as a POST request to that address. Your server just needs to listen and parse what it receives.

Carrying data in the message

The message box accepts placeholders so each push includes live info, e.g.:

{{ticker}} triggered at {{close}}, time {{time}}

Write the message as JSON so the receiver can parse it and decide whether to "notify me" or "take an action".

Safety notes

Key takeaways
  • Webhooks POST to your service on trigger, enabling automation.
  • Use placeholders + JSON so messages carry live data.
  • Keep the URL secret, validate input, and test with paper first.

The desktop app runs persistently, keeping webhook automation steady.

Download the desktop app, free