TradingView to 3Commas: webhook URL and signal setup
3Commas bots can start a deal when TradingView sends them a webhook. The catch: a TradingView alert fires on one condition at a time, so your bot reacts to every single signal. Alarumist sits between TradingView and 3Commas. It collects several TradingView alerts and sends one signal to your 3Commas bot only when all the alerts you chose have fired within your time window.
How the 3Commas webhook works with Alarumist
Normally you paste the 3Commas webhook URL and the 3Commas JSON message straight into a TradingView alert. With Alarumist you split this in two:
- In TradingView, each alert uses the Alarumist webhook URL and the Alarumist message you copy from your dashboard.
- In Alarumist, you paste the 3Commas message (the JSON with your bot details). Alarumist sends it to 3Commas for you when your conditions are met.
So you never need to put the 3Commas webhook URL into TradingView yourself.
What you need
- A 3Commas account with a bot that accepts TradingView signals.
- A TradingView plan that supports webhook alerts (webhooks are not available on the free TradingView plan).
- An Alarumist Premium plan. 3Commas, Alertatron and Custom URL alerts are included for $15/month. See pricing.
Step-by-step setup
1. In the left menu press “Create New Alert”.

2. Add Symbol and Alert Description.
Select alert type 3Commas. You will see a textbox to paste the message from 3Commas.
Choose the timeframe and the number of alerts you want to aggregate from TradingView.
Add Message for each alert (not mandatory).
3. Now, open TradingView, create a new alert, and copy/paste the "Webhook URL" and the "Message" for each alert.
Use the Copy icon to copy the content (the prefix for each message is mandatory).Alert 1:


Repeat the process with other alerts.
4. Login to 3Commas. Go to the DCA Bot section, choose a bot and press the message signal.
The message is copied to the clipboard.
5. Return to Alarumist and paste the message in the 3Commas textbox. Then press "Save Alert".

6. You're done. Enjoy.
Example: RSI AND EMA cross → one 3Commas deal
Say you only want your bot to open a deal on BTCUSDT when RSI drops below 30 and price crosses above the 200 EMA within the same 4 hours.
- In Alarumist, create an alert for BTCUSDT with type 3Commas, 2 alerts to aggregate, and a 4-hour time range. Paste your 3Commas bot message.
- In TradingView, create two alerts (one for RSI, one for the EMA cross). Both use the Alarumist webhook URL, each with its own Alarumist message.
- When only the RSI alert fires, nothing is sent. When both fire inside 4 hours, Alarumist sends one signal and your bot starts a deal.
Troubleshooting
- The bot did not start a deal. Check that every TradingView alert fired inside your time range, and look at the alerts log in Alarumist.
- 3Commas rejects the signal. Copy the message again from your 3Commas bot. The JSON must be complete, including the curly braces.
- TradingView shows no Webhook URL option. Webhooks need a paid TradingView plan, and TradingView may ask you to turn on two-factor authentication first.
- The alert never reaches Alarumist. Make sure each TradingView message starts with the prefix Alarumist gave you. The prefix is required.
FAQ
Where do I find the 3Commas webhook URL?
You don't need it in TradingView when you use Alarumist. You only copy the bot's message from 3Commas and paste it into Alarumist. In TradingView you use the Alarumist webhook URL.
Can I combine more than two TradingView alerts?
Yes. Premium combines up to 12 alerts.
Does it work with other bots?
Yes. The same setup works for Alertatron, Telegram, email, or any service that accepts a webhook. See the Custom URL guide and the Telegram guide.