Skip to main content

TradingView Setup

Last updated: Jan 16, 2026

Configure webhooks to send alerts to RelayDesk

Connect TradingView alerts to RelayDesk

Prerequisites

  • TradingView Essential, Plus, Premium, or Ultimate account (webhooks require paid plan)
  • A RelayDesk Signal created in Signal Library
  • Your Signal webhook URL copied

Creating a Webhook Alert

Step-by-step process:

  • Open your TradingView chart
  • Click the Alert button (clock icon) or press Alt+A
  • Set your condition (e.g., "Crossing" indicator crosses signal line)
  • Under "Notifications", enable "Webhook URL"
  • Paste your RelayDesk Signal webhook URL
  • Configure the message body (see below)
  • Name your alert and click "Create"

Webhook Message Format

RelayDesk expects JSON format in the alert message:

{
  "action": "entry",
  "side": "long"
}

Supported values:

  • action: "entry" or "exit"
  • side: "long" or "short"

Using TradingView Variables

You can include TradingView placeholders in your webhook:

{
  "action": "entry",
  "side": "long",
  "symbol": "{{ticker}}",
  "price": {{close}},
  "time": "{{timenow}}"
}

Note

The symbol, price, and time fields are optional. RelayDesk uses the symbol configured in your bot.

Testing Your Webhook

  • Trigger a test alert from TradingView
  • Check RelayDesk → Dashboard → Activity Log
  • Verify the signal was received
  • Confirm your bot executed (if active)
  • Check Alpaca to verify the order was placed

Common Issues

If alerts aren't working: 1) Verify webhook URL is correct, 2) Check JSON format is valid, 3) Ensure bot is active, 4) Confirm Alpaca connection is working

Advanced: Multiple Bots, One Alert

With the Signal Library system, one TradingView alert can trigger multiple bots:

  • Create one Signal in RelayDesk
  • Connect multiple bots to that Signal
  • Use the same webhook URL in TradingView
  • All connected bots will execute when alert fires

Pro Tip

This is perfect for running the same strategy on multiple symbols or timeframes.

tradingviewwebhooksintegration

Was this article helpful?

TradingView Setup | RelayDesk Documentation | Relaydesk