Docs › Setup guides › TradingView setup
TradingView setup
Paste your HoldAlarms webhook URL into the TradingView alert instead of your endpoint's URL. HoldAlarms forwards the message unchanged to your destinations.
1. Before you start
You need a TradingView plan that includes webhooks, with two-factor authentication turned on (TradingView: webhooks).
2. Add the webhook URL
- In TradingView, create or edit an alert and open Notifications.
- Tick Webhook URL and paste the URL from the "Your webhook URL" panel on your dashboard. It looks like
https://api.holdalarms.com/hook/<your token>. - Put the message your endpoint expects in the alert's Message field.
Keep the URL secret: the token in it identifies your account.
3. The message
TradingView sends application/json when the message is valid JSON, otherwise text/plain. HoldAlarms forwards the body unchanged with the same content type. Other TradingView headers are not passed on.
Optional: add "fired_at": "{{timenow}}" to a JSON message. The dashboard then shows how long each alert took from firing to reaching HoldAlarms. Use {{timenow}}, not {{time}} (that is the bar's open time). The field is forwarded unchanged, so leave it out if your endpoint rejects unknown fields.
4. Duplicates
The same body and content type from the same account within 20 seconds is acknowledged but not forwarded again and not counted. A changing field such as fired_at keeps genuinely separate alerts apart.
5. Heartbeats for scheduled alerts
A heartbeat is a TradingView alert that fires on a fixed schedule (every 1, 5 or 15 minutes) and posts to a heartbeat URL from your dashboard. If no beat arrives within the interval plus 60 seconds, HoldAlarms emails you once, and again when beats resume. Monitoring starts with the first real beat. Beats are not alerts and are never forwarded. A heartbeat can't tell you about a single alert that wasn't sent.
6. Test it
Click "Send test alert" on the dashboard. You can also check your own endpoint first with the free Webhook Checker for TradingView.
← Setup guides · TrendSpider setup →
HoldAlarms is not affiliated with TradingView. TradingView is a trademark of TradingView, Inc.