In the fast-paced world of trading, staying updated with the latest market movements is crucial. TradingView offers an excellent way to track these changes, and with the integration of webhooks, you can effortlessly send these alerts directly to Discord. This seamless connection saves time and ensures you never miss a significant market shift, enabling you to make informed decisions quickly.
This guide will provide you with a comprehensive walkthrough on setting up TradingView alerts to be sent directly to your Discord server using webhooks, covering each step in detail to ensure a smooth setup.
JSON Examples for Discord
Discord message format, example 1
{
"content":"{{ticker}} alert triggered! Current price: {{close}}."
}
~~~~~~
Discord message format, example 2
{
"embeds": [
{
"title": "TradingView alert at {{time}}",
"description": "**{{ticker}}** crossed ${{close}} on {{exchange}}",
"color": 10311878
}
]
}
Discord message format, example 3
{
"embeds": [
{
"title": "{{ticker}} Alert",
"url": "https://www.tradingview.com/chart/?symbol={{exchange}}:{{ticker}}",
"color": 3447003,
"fields": [
{
"name": "Price",
"value": "{{close}}",
"inline": true
},
{
"name": "Volume",
"value": "{{volume}}",
"inline": true
}
],
"timestamp": "{{time}}"
}
]
}

