Connect Dhan to TradingView Signals (India) — Webhook Bridge Guide
Route TradingView alerts to Dhan using AlgoCrab Bridge: broker API setup, webhook URL, JSON alert fields, and troubleshooting for Indian F&O traders.
AlgoCrab Team · Published 25 September 2026 · 10 min read
Why Dhan + TradingView is a common stack
Dhan is popular for fast UI and API access among active F&O traders. TradingView remains the default charting and alert layer. The missing piece is reliable execution when an alert fires — especially during the open and on expiry days.
AlgoCrab Bridge sits between TradingView’s webhook POST and Dhan’s order API after you connect Dhan inside AlgoCrab.
Prerequisites
Dhan account with API credentials as per DhanHQ documentation.
AlgoCrab account with Dhan connected under Connect Broker.
Bridge license and Bridge Setup running on Windows during market hours.
TradingView alert with webhook URL support on your plan.
Setup checklist
Connect Dhan on AlgoCrab and confirm session is active before market open.
Create a Bridge strategy; copy the webhook URL into TradingView alert settings.
Map alert JSON fields to entry, exit, quantity, and product type per Bridge docs.
Send a test alert off-market or with minimum quantity; verify AlgoCrab order logs.
Enable daily loss / quantity caps in your strategy card — webhooks do not replace risk rules.
Symbol and product type pitfalls
Dhan symbol formats may differ from TradingView tickers. Normalize NSE/BSE symbols in the alert message.
Intraday vs carry-forward product codes must match your intent; a wrong product type is a common first-week mistake.
When to use chart coding instead
If your logic lives entirely on Algocrab candles, consider Dovee rules on the chart editor instead of an external webhook. Bridge wins when your research stays on TradingView or MT4.