Is TradingView Auto Trading Legal in India? (2026 Rules)
Yes. Auto trading from TradingView alerts is legal in India for retail traders, as long as your orders reach the exchange through your broker's API under SEBI's retail algo framework, which has applied in full since 1 April 2026. What changed in 2026 is how the order gets there. An order that arrives through a broker API counts as an algo order and carries an exchange-issued ID. And a TradingView webhook can no longer hit your broker's API directly. Something on an approved, whitelisted address has to place the order.
What the rules actually say
SEBI set the framework in its circular of 4 February 2025, on safer participation of retail investors in algorithmic trading. The exchanges then published the operational standards, and after a phased roll-out the framework applies to every broker from 1 April 2026. The parts that matter for TradingView automation:
| Rule | What it means for a TradingView alert |
|---|---|
| Orders received through a broker API count as algo orders | An order triggered by your alert is an algo order, even if the logic is a simple crossover |
| Every algo order carries an exchange-issued algo ID | Tagging happens in the order flow on a compliant connection. You don't add it yourself |
| Self-built algos below 10 orders per second per segment need no separate registration | A typical TradingView strategy places a handful of orders a day, far below the threshold |
| API access only through a unique API key and a whitelisted static IP, with two-factor login | The order must be sent from an address registered with your broker |
| Brokers are responsible for the algos they allow | Your broker can reject orders that don't meet its rules |
| Black-box strategies need a SEBI-registered Research Analyst behind them | Your own Pine Script is "white box". Buying hidden-logic signals is different |
The National Stock Exchange's FAQ on the retail algo framework (3 November 2025) states plainly that all orders received via API from clients are considered algo orders. That settles a common question: there's no "it's only an alert, not an algo" exception.
For the full background on the Algo-ID, read SEBI's Algo-ID mandate, explained. For the general legal position on algo trading, read is algo trading legal in India?
Why a TradingView webhook can't place the order by itself
Here is the part most guides skip. When your alert fires, TradingView sends a web request from its own servers. TradingView publishes the small set of IP addresses its webhooks come from, and every TradingView user's alerts come from those same addresses.
Your broker, meanwhile, only accepts API orders from an address registered to you. Brokers tie a whitelisted IP to one client, with narrow exceptions such as immediate family. So you can't register TradingView's shared addresses as yours, and the alert can't talk to your broker's API directly.
In practice there are three ways to close that gap:
| Route | How the order is placed | Trade-offs |
|---|---|---|
| Your broker's own TradingView feature | Some brokers receive TradingView alerts on their own systems and place the order themselves | Works only with that broker, with its order options |
| Your own server | A server on your whitelisted IP receives the webhook and calls the broker API | You write, host and monitor the code, and handle daily logins and errors |
| A trading platform | The platform receives the webhook and sends the order through your broker's API connection | Least setup, works across brokers. Pick a platform that uses official broker integrations |
The NSE FAQ also covers the hosted case: when an algo platform runs on the broker's own infrastructure, the static IP is the broker server's, not the client's.
Order types: plan for limits, not plain market orders
The NSE FAQ says algo orders can't be sent as plain market orders. In commodities, market and IOC orders are both barred for algos. Brokers apply this in their own ways. Zerodha's API rejects market and SL-M orders without market protection. Angel One's SmartAPI blocks market and IOC orders for algos. Fyers converts market orders into protected orders.
Practically, this matters most for options. A signal on a fast-moving NIFTY or Bank NIFTY candle can meet a wide spread on the option you're buying. Build your strategy expecting a protected or limit price, not an instant fill at the price on your chart.
Static IP and the daily login
Two more April 2026 changes affect anyone automating through an API:
- A whitelisted address. If you run your own script, you register your static IP with your broker. Zerodha and Angel One, for example, allow a primary and a secondary address and limit how often you can change them. On Tradetron, if your broker needs orders to come from a fixed address, use the virtual server option on that broker's page under Broker & Exchanges.
- A fresh login every trading day. API sessions in India need a fresh login with two-factor authentication each trading day. If you skip it, alerts still fire but no live order can be placed that day.
What TradingView itself requires
TradingView only sends alerts to a webhook URL on its paid plans, and asks you to turn on two-factor sign-in before webhooks work. Its webhook documentation also notes that the receiving server must reply within about three seconds, or the request is dropped. That's one more reason to send alerts to a service that's always on, rather than a laptop at home.
A quick compliance check
- Is the logic yours, or can you see it? Your own Pine Script is white box. If you pay for signals whose logic you can't see, ask for the provider's SEBI Research Analyst registration.
- Does the order go through an official broker API connection? Avoid tools that log in as you through a browser, or share one login among many users.
- Is the order sent from a whitelisted address? That's your own static IP, your broker's own TradingView feature, or a platform's broker integration.
- Are you below 10 orders per second? Almost every TradingView strategy is. If you're above it, register the algo through your broker.
- Do your order types match your broker's algo rules? Use limit or protected orders, and Day validity for MCX.
- Do you log in each trading morning? No session means no live order.
Where Tradetron fits
On Tradetron, your TradingView alert goes to your strategy's private webhook. The strategy decides what to trade and sends the order through your broker's API connection, which you set up once under Broker & Exchanges. Tradetron's Pine Script Strategy builder (PineBridge) sets the TradingView side up for you: it tags your script's orders, builds the strategy, and gives you the exact alert message. The step-by-step is in automate a TradingView Pine Script on Indian brokers.
Before any money is involved, deploy the strategy Live Offline: it runs on live prices and records every signal and trade, but Tradetron places no order and nothing reaches the exchange.
This article is for education, and isn't legal or investment advice. SEBI and the exchanges issue clarifications from time to time, and your broker's latest circulars apply to your account. Rules as of October 2026.
Frequently asked questions
Is TradingView auto trading legal in India?
Yes, for retail traders automating their own signals, provided orders go through a broker's API under SEBI's retail algo framework. Since 1 April 2026, such orders count as algo orders, carry an exchange-issued algo ID, and must come from a whitelisted address.
Can a TradingView webhook place an order on my broker directly?
Not to your broker's API from your own account. Broker APIs accept orders only from an address registered to you, and TradingView sends webhooks from its own shared servers. The order has to be placed by your broker's own TradingView feature, your own server on a whitelisted IP, or a platform that uses your broker's API connection.
Do I need to register my TradingView strategy with SEBI or the exchange?
Not if it stays below 10 orders per second per exchange segment, which almost every TradingView strategy does. Above that threshold, the algo has to be registered with the exchange through your broker.
Do I need a static IP to automate TradingView alerts?
If you place orders through your broker's API from your own script, yes: the order must come from a static IP registered with your broker. Platforms and broker-hosted tools handle this on their side. On Tradetron, brokers that need a fixed address have a virtual server option under Broker & Exchanges.
Can I use market orders for TradingView-triggered trades?
Not plain market orders. NSE's FAQ on the framework says algo orders can't be sent as plain market orders, and brokers either reject them, require market protection, or convert them. Plan for limit or protected orders.
Are alerts from someone else's Pine Script allowed?
Running a public script whose code you can read is no different from running your own: the logic is visible to you. Paying for signals whose logic is hidden is a black-box service, and the provider needs SEBI Research Analyst registration.
Does Live Offline count as algo trading under these rules?
No. In Live Offline the strategy runs on live prices and records every signal and trade, but Tradetron places no order, so nothing reaches your broker or the exchange.