- Do you have a Discord server set up for your own trading community? - Do you use divergences as part of your trading strategy? - Would you like to send automated notifications to your Discord server whenever a divergence appears on any chart?
If you have answered yes to all 3 questions above, please keep on reading.
The easiest way to receive automated Divergence alerts to your Discord server, is to combine the alert messages from "The Divergent" divergence indicator on TradingView with a Webhook endpoint on your Discord server.
Step 1: Open Discord, and go to Server Settings Step 2: Go to Integrations and create a new Webhook Step 3 (optional): Rename your Webhook to "The Divergent (Divergence indicator)" Step 4: Select the channel you wish to receive the divergence signals to (i.e. #divergence-signals) Step 5: Save your Webhook Step 6: Copy your Webhook URL to your clipboard and head over to TradingView Step 7: Apply "The Divergent" or "The Divergent (Pro)" indicator to your chart and configure it as you prefer (The free version of The Divergent can signal Regular Divergences only, while the Pro version can signal both Regular and Hidden Divergences) Step 8: Create a new alert, select "The Divergent" from the top drop down and select one of the Divergence signals (i.e. Regular Bullish) Step 9: Use the Webhook URL from your clipboard as the Webhook URL of the alert Step 10: Use the following alert message:
{"content": "The Divergent detected a Regular Bearish Divergence (RSI) on {{exchange}}:{{ticker}} ({{interval}}) TradingView #divergence BTC <thedivergent.io>"}
Sample message delivered on Discord:
"The Divergent detected a Regular Bearish Divergence (RSI) on BINANCE:BTCUSDT (60) TradingView #divergence BTC"
Feel free to change the content to match your chart / type of divergence you are signalling in the alert.
Note: It is important that you format your alert message as a JSON string, and that you key the message with "content". If you have never used JSON before, it is a good idea to validate your message via jsonlint.com to make sure it is a valid JSON string.
Repeat the same steps for other charts / divergences. Create as many alerts, as many markets / divergences you want to signal to your Discord server.
If you have any questions, please feel free to post it in the comments section below.
If this tutorial was helpful to you, please consider giving it a thumbs up!
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.