Skip to main content

I Want to Set Alerts Correctly

Is this you?


Quick Checklist

  1. Get your XeroLite webhook URL — In XeroLite: Webhook & Settings tab → copy the full URL (includes API key).
  2. Paste it in TradingView — In the alert dialog, Webhook URL field → paste the URL. No extra spaces.
  3. Use valid JSON in the message — Use the Alert Request Builder to generate the message, or follow Alert Request Format v1.2. Check for typos, commas, and quotes.
  4. Test with paper trading — Use a paper account first. Trigger the alert and confirm the order appears in XeroLite Incoming Alerts and Transactions.
  5. IP whitelisting (if enabled) — If you restricted access by IP, add TradingView’s outbound IPs so alerts can reach your webhook.

Common Mistakes

MistakeWhat happensFix
Wrong or old webhook URLAlerts never reach XeroLiteCopy URL again from Webhook & Settings and update every alert.
Invalid JSON (missing comma, extra comma, wrong quotes)Alert rejected or order failsUse Alert Request Builder or validate JSON.
Port 80/443 blocked or firewall blockingTradingView can’t reach your serverOpen ports, allow through firewall. See Troubleshooting.
IP whitelisting blocks TradingViewRequests rejectedAdd TradingView IPs to whitelist.

See Also