Step-by-step guide

How to connect TradingView to any Indian broker

By the AlgoDelta team · Updated 18 Oct 2026

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

  1. Connect your broker. In AlgoDelta, add your demat account. Pick the connection type – some brokers offer a no-static-IP option.
  2. 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.
  3. Copy the webhook URL and message. AlgoDelta shows both.
  4. 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.
  5. 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

Strategy vs indicator alerts

Strategy alertIndicator alert
SourcePine Script strategy() order fillsalertcondition() or alert() in an indicator
QuantityUse {{strategy.position_size}} or bridge sizingBridge sizing
Best forBack-tested strategies with entries and exitsSignals 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

BrokerStatic IPDaily login
TradingView to ZerodhaNo-static-IP optionNo daily login
TradingView to Angel OneNo-static-IP optionNo daily login
TradingView to DhanStatic IP: ask supportOne-click token refresh
TradingView to UpstoxStatic IP: ask supportDaily login
TradingView to FYERSStatic IP: ask supportDaily login
TradingView to Kotak SecuritiesNo-static-IP optionOne-click token refresh
TradingView to GrowwStatic IP: ask supportNo daily login
TradingView to Alice BlueNo-static-IP optionDaily login
TradingView to Shoonya (Finvasia)Static IP: ask supportDaily login
TradingView to FlattradeStatic IP: ask supportDaily 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.

Step-by-step guide

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.

Options automation

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.

Static IP by broker

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.