Quick answer
Use a webhook secret/token so random internet traffic can’t trigger trades.
- Set a secret when creating the TradingView account (or in settings)
- Include
secretin every TradingView alert message
Symptoms (when you need this)
- You want protection against unauthorized webhook calls
Best practices
- Use a long, random token
- Keep it private (don’t paste it into public screenshots)
- Rotate it if you suspect it leaked
Example
{"action":"buy","ticker":"EURUSD","secret":"YOUR_TOKEN"}
Verify it worked
- Trigger an alert with the correct secret → should work
- Trigger an alert with the wrong secret → should be rejected (Logs should show it)
This article is auto-synced from the Danetrades Copier knowledge base. If something is outdated, please contact support.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article