How to Automate Crypto Trades with TradingView Webhooks
Turn any TradingView alert into an automatic crypto trade on Bybit, Bitget, Blofin and more — no coding required. Set up in minutes with Crodl.
TradingView is the go-to charting platform for crypto traders. But most people stop at setting alerts — they still execute trades manually. With Crodl, you can turn any TradingView alert into an automatic trade on your connected exchange, no coding required.
This guide walks you through the full setup: what webhooks are, how to connect them to Crodl, and tips for running reliable automation.
What Are TradingView Webhooks?
A webhook is a URL that TradingView sends an HTTP POST request to whenever an alert fires. Instead of just getting a phone notification, the alert triggers an action — in this case, placing a trade on your exchange.
Crodl gives you a unique webhook URL for each trigger you create. When TradingView fires the alert, Crodl receives the signal and places the corresponding order on your connected exchange within seconds.
Important: Webhooks require a TradingView Essential plan or higher. Free TradingView accounts do not support webhook notifications. You can check TradingView's current plan options on their pricing page.
How to Set Up TradingView Webhook Automation
Step 1 — Connect your exchange
Sign in to Crodl and add your exchange API key. Crodl currently supports Blofin, Bybit, Bitget, Bitunix, and Hyperliquid. API-only access means your funds stay on your exchange at all times.
Step 2 — Create a trigger
In Crodl, create a new trigger. A trigger defines what happens when a webhook signal arrives: which pair to trade, position size, direction (long or short), and any take-profit or stop-loss rules. For more on setting effective stop losses, see our risk management guide.
Step 3 — Copy your webhook URL
Each trigger gets a unique webhook URL that includes your trigger ID. Copy this URL — you will paste it into TradingView in the next step.
Since the trigger ID is embedded in the URL, you do not need to customise the alert message body in TradingView. Just paste the URL and save.
Step 4 — Set up the TradingView alert
In TradingView:
- Open your chart and apply the indicator or strategy you want to automate.
- Click "Create Alert" (the alarm clock icon).
- Set your alert condition as normal.
- Scroll down to the "Notifications" section and enable "Webhook URL."
- Paste the Crodl webhook URL you copied in Step 3.
- Click "Create."
When the alert fires, TradingView sends the signal to Crodl, which places the order on your exchange. The entire process — from alert to order placement — typically takes 1-3 seconds depending on exchange and network conditions.
What Can You Automate?
TradingView webhooks combined with Crodl triggers give you flexibility that exchange-native bots cannot match:
- Any TradingView indicator — RSI, MACD, Bollinger Bands, SuperTrend, or any custom indicator.
- Custom Pine Script strategies — if you have written your own Pine Script strategy, you can automate its entry and exit signals directly.
- Multi-timeframe setups — trigger a trade from a daily chart signal while managing it on a lower timeframe.
- Advanced TP/SL logic — define take-profit and stop-loss rules in Crodl that go beyond what most exchanges offer natively.
Note: each trigger is linked to a single exchange. If you trade on multiple exchanges, you can set up separate triggers for each one.
TradingView Webhooks vs Exchange Bots
| Feature | TradingView + Crodl | Exchange-native bots |
|---|---|---|
| Custom indicators | Any indicator or Pine Script | Limited to exchange presets |
| Strategy flexibility | Fully customisable | Grid, DCA, or preset strategies |
| Exchange support | 5 exchanges from one platform | Single exchange only |
| TP/SL control | Advanced rules in Crodl | Basic exchange TP/SL |
| Coding required | No | Sometimes |
| Runs when browser closed | Yes (server-side) | Yes |
Tips for Reliable Webhook Automation
Test on a demo account first
Crodl supports demo trading for Blofin, Bitget, and Bybit. Before risking real capital, set up your trigger with a demo API key and verify that alerts result in the expected trades.
Use server-side alerts
TradingView alerts run on TradingView's servers, so they fire even when your browser is closed. This is the default behaviour on paid plans — just make sure you are not relying on a client-side indicator that only runs when your chart is open.
Start with small position sizes
Even after testing on demo, start live trading with smaller positions than you plan to use long-term. This lets you verify execution, slippage, and timing in real market conditions without significant risk.
Monitor your first few trades
Watch the first handful of automated trades to make sure everything works as expected. Check that entries, exits, and TP/SL orders are placed correctly. Once you are confident, you can step back and let the automation run.
Set alert expirations wisely
TradingView alerts can expire. If you want a trigger to run indefinitely, set the alert to "Open-ended" so it does not stop firing after a set period.
Frequently Asked Questions
Do I need to pay for TradingView to use webhooks?
Yes. Webhooks are available on TradingView's Essential plan and above. Free accounts do not support webhook notifications.
How fast is the execution?
From the moment TradingView sends the webhook to when Crodl places the order on your exchange, the typical latency is 1-3 seconds. Actual fill time also depends on exchange liquidity and market conditions.
Can I automate both entries and exits?
Yes. You can create separate triggers for opening and closing positions, or use Crodl's built-in TP/SL rules to manage exits automatically.
What happens if my webhook fails?
If the exchange rejects the order (e.g., insufficient margin), Crodl logs the error. You can check your trigger history in the dashboard to diagnose issues.
Can I use Pine Script strategies?
Yes. Any Pine Script strategy that generates alerts can be connected to a Crodl trigger via webhook.
Ready to Automate Your Trading?
Stop executing trades manually. Create a free Crodl account, connect your exchange, and set up your first trigger in under 5 minutes.
If you prefer a hands-off approach, you can also copy experienced traders automatically without needing to set up your own strategy.
This content is for educational purposes only and does not constitute financial advice. Cryptocurrency trading involves significant risk of loss. Past performance does not guarantee future results.
Ready to automate your trading?
Connect your exchange, set up automations, and start trading smarter — all from one platform.
Start Trading Free