Webhooks & Automation

    Pro Signals V5 can send its alerts as JSON to any webhook URL, so a bot, spreadsheet or trading app can read them without parsing sentences. This page explains the format and how to set it up safely.

    Set it up

    1. 1
      Switch alert messages to JSON
      In the indicator settings, under Display, set Alert messages to JSON.
    2. 2
      Create one alert
      Condition: "Pro Signals", then "Any alert() function call".
    3. 3
      Add your webhook URL
      In the alert's Notifications tab, tick Webhook URL and paste the address your app gave you. Webhooks need a paid TradingView plan.
    4. 4
      Send a test
      Point the webhook at a request inspector first and check the payload arrives.

    The payload

    Every alert sends one object with an events array. One candle can carry more than one event.

    Example
    {
      "source": "pro_signals",
      "ticker": "EURUSD",
      "timeframe": "1H",
      "events": [
        {
          "event": "signal",
          "direction": 1,
          "stars": 4,
          "entry": 1.0842,
          "stop": 1.0801,
          "tp1": 1.0883,
          "tp2": 1.0924,
          "tp3": 1.0965
        }
      ]
    }

    Fields

    FieldMeaning
    sourceAlways pro_signals, so your app knows where it came from.
    tickerThe chart symbol.
    timeframeThe chart timeframe.
    events[].eventWhat happened, for example signal. Other events cover targets, stops, exits, trend changes, band touches and structure breaks.
    events[].direction1 for long (BUY), -1 for short (SELL).
    events[].starsThe signal's star rating, 0 to 5.
    entry, stop, tp1, tp2, tp3The trade plan prices.

    Automation safety

    • Test on a demo or paper account for weeks before going live.
    • Set a maximum position size and a daily loss limit inside your bot.
    • Filter by stars in your bot as well as with Minimum stars, so one setting change can't flood it.
    • Remember alerts fire once per candle close. Your bot should handle duplicates and missed messages.
    • Recreate the alert after changing any indicator setting.

    For phone notifications and the text format, see Alerts.

    Was this page helpful?