Step-by-step guide
How to connect TradingView to any Indian broker
TradingView cannot place orders with Indian brokers by itself. To automate it, you send a TradingView webhook alert to a bridge such as AlgoDelta, which places the order in your broker account. Steps: connect your broker in AlgoDelta, create a bridge, paste its webhook URL and message into a TradingView alert, then test with a small quantity. You need a TradingView plan that includes webhook alerts.
What you need
- A TradingView plan with webhook notifications.
- A broker account at a supported broker (30+ are supported).
- An AlgoDelta account (free trial) and, if your broker requires it, a static IP.
Step-by-step setup
- Connect your broker. In AlgoDelta, add your demat account. Pick the connection type – some brokers offer a no-static-IP option.
- Create a bridge. Choose Custom Bridge for the simplest setup or JSON Bridge for script-specific orders, target, SL, trailing SL, option selection and exit on opposite. Select one account or a group.
- Copy the webhook URL and message. AlgoDelta shows both.
- Create the TradingView alert. On your chart, add an alert on your strategy or indicator, tick Webhook URL, paste the URL, and paste the message into the alert's message box.
- Test. Trigger the alert with a small quantity, check the order and any rejection reason in AlgoDelta, then go live.
Watch the setup video · Strategy bridge video
6 accounts · 4 brokers
Any number of accounts at any of 32 brokers – including several accounts at the same broker.
Strategy vs indicator alerts
| Strategy alert | Indicator alert | |
|---|---|---|
| Source | Pine Script strategy() order fills | alertcondition() or alert() in an indicator |
| Quantity | Use {{strategy.position_size}} or bridge sizing | Bridge sizing |
| Best for | Back-tested strategies with entries and exits | Signals such as Supertrend or UT Bot crosses |
Trading options from index signals
Most Indian traders chart the Nifty or Bank Nifty index but trade options. The JSON Bridge can pick the contract for you – ATM-based, premium-based or symbol-based – with weekly or monthly expiry and exit on opposite. Options automation.
Common mistakes
- Duplicate orders from alerts firing on every tick – use "once per bar close" and exit on opposite.
- Repainting indicators that send signals that later disappear from the chart.
- Expired broker session on brokers that need a daily login.
- IP not whitelisted at the broker – register your static IP in the broker's API settings.
- Candle delay on higher timeframes – see fixing TradingView candle delay.
Broker-specific notes
| Broker | Static IP | Daily login |
|---|---|---|
| TradingView to Zerodha | No-static-IP option | No daily login |
| TradingView to Angel One | No-static-IP option | No daily login |
| TradingView to Dhan | Static IP: ask support | One-click token refresh |
| TradingView to Upstox | Static IP: ask support | Daily login |
| TradingView to FYERS | Static IP: ask support | Daily login |
| TradingView to Kotak Securities | No-static-IP option | One-click token refresh |
| TradingView to Groww | Static IP: ask support | No daily login |
| TradingView to Alice Blue | No-static-IP option | Daily login |
| TradingView to Shoonya (Finvasia) | Static IP: ask support | Daily login |
| TradingView to Flattrade | Static IP: ask support | Daily login |
As of October 2026. All brokers.
Frequently asked questions
How do I connect TradingView to my broker?
Create a bridge in AlgoDelta and copy its webhook URL. In TradingView, create an alert on your strategy or indicator, paste the webhook URL and the alert message shown in AlgoDelta, then send a small test alert before going live.
Do I need a paid TradingView plan?
Webhook alerts are a TradingView feature available on its paid plans, so you need a plan that includes webhook notifications. Check TradingView's current plan page.
What is the difference between Custom Bridge and JSON Bridge?
Both connect TradingView indicators or strategies to your broker. Custom Bridge is the simplest to set up. JSON Bridge adds script-specific orders, target, stop-loss, trailing stop-loss, rollover, option strike selection and exit on opposite, and it can be called from Python or any code.
How do I avoid duplicate orders when TradingView sends repeated alerts?
Use bar-close alerts in Pine Script, use strategy alerts with position size, and turn on exit on opposite in the JSON Bridge so a repeated signal does not stack positions. You can also pause a bridge without deleting it.
Can a TradingView signal on Nifty buy the right option strike automatically?
Yes. The JSON Bridge selects the option contract for you: ATM-based (with an ATM gap for ITM/OTM), premium-based (closest premium to your target within a max variation) or symbol-based, with weekly or monthly expiry and exit on opposite signal.
Do I need a static IP for algo trading in India?
Many brokers now accept API orders only from a whitelisted static IP. AlgoDelta gives you a dedicated static IPv4 or IPv6 per account. Several brokers also have a no-static-IP connection in AlgoDelta, including Zerodha (without API), Angel One, Kotak Securities No IP, Alice Blue No IP and Jainam Lite.
Connect TradingView in minutes
Create a bridge on the free trial and send your first alert.
AlgoDelta is a pure technology platform. It is not a stockbroker, investment adviser, research analyst or portfolio manager, does not hold client funds or securities, and does not provide tips, recommendations, profit-making systems or assured returns. Trading in securities and derivatives involves risk of loss. You are responsible for your own trading decisions. Risk disclosure.