TradingView Automation

Turn your TradingView alerts into real orders across one or many accounts — no coding.

TradingViewAlerts to ordersOptions ready
In short

You can turn your TradingView alerts into real orders on your broker accounts with AutoTrader Web. Create an alert in TradingView, point its webhook at your own private AutoTrader Web link, and when the alert fires your order is placed — a single order, an option, or a full option structure you choose. Send it to one account or a whole group, and add your own risk limits. You bring the strategy; the tool only places the orders you set up. You need a paid TradingView plan and an AutoTrader Web account.

Automate your TradingView alerts into real orders on your broker accounts. Turn any indicator, strategy or price alert into a live order — on one account or many — without writing any code. TradingView sends the signal; AutoTrader Web places the order you set up.

TradingView is part of our wider Alert Automation feature, which explains the full alert format, option structures and risk limits. This page covers the TradingView-specific setup.

What you can do

  • Turn a TradingView alert into a single order the moment it fires.
  • Trade options without typing the full symbol — just give the strike and expiry, or pick a ready-made structure such as a straddle or an iron condor that you configure.
  • Send one alert to one account or a whole group of accounts.
  • Attach a target and a stop-loss to the order, or place a full bracket or cover order with variety=AT_BO — on every broker we support, with a stop that can trail the price.
  • Add your own risk limits, like a maximum loss or an auto-exit time.

You bring the strategy and the signal. The tool only places the orders you set up, and you can stop it at any time.

How to set it up

  1. Get your private webhook link. In AutoTrader Web, open your Alert Automation settings and create a webhook token. You get a private link — you do not put your API key into TradingView.
  2. Create an alert in TradingView (press Alt + A), turn on Webhook URL, and paste your private link.
  3. Write your order in the alert Message box, one setting per line. For example, buy one lot at market:
account=MY_ACCOUNT
symbol=NIFTY
exchange=NFO
producttype=NORMAL
optiontype=CE
strike=ATM
expiry=weekly
tradetype=BUY
ordertype=MARKET
lots=1

Not sure your alert is right? Check it here before you put it in TradingView — the same checks that run when your alert reaches us:

Try it: check an alert before you use it

Type or paste an alert message. It is checked here the same way it is checked when it reaches us — the same required fields, the same allowed values and the same reasons for refusing it.

This alert is accepted

Everything we can check without the live market is in order. Here is the order it describes.

Goes toAccount MY_ACCOUNT
InstrumentSBIN on NSE
SideBUY
Size10 quantity
Order typeMARKET
ProductINTRADAY
ValidityDAY

What this does not check: that the account or group name exists, that the symbol matches a live contract, that your strike and expiry are trading today, or whether your broker accepts the order. Those need the live market and are checked when your alert actually arrives — you will see the result on the Alert Trail.

Reading this with JavaScript off? The alert shown above is a complete, valid example: it buys 10 quantity of SBIN on NSE as an intraday market order in the account MY_ACCOUNT. Every field it uses is described in the tables on this page.

The full alert format — every field, option settings, ready-made structures and risk limits — is in the Alert Automation guide.

Trading a stock or future? You can paste TradingView’s own symbol (like {{ticker}}, NIFTY1! or NIFTYU2026) instead of typing ours — see Using your TradingView symbol.

Coding in Pine? You can skip writing the alert text — our free, open-source Pine library builds it for you. Add import StocksDeveloper/StocksDeveloperAlerts/1 as atw to your script and call a function like atw.option(...). See the Alert Automation guide for every function, or get the library on TradingView.

Worked examples (with video)

Prefer to follow a complete example? These step-by-step guides build a TradingView strategy, backtest it, and automate it with AutoTrader Web — each with a full video walkthrough (Hindi):

Both use the plain-text alert format shown above.

Trade options and strategies

You can send a single option order, or ask for a full option structure (straddle, strangle, spreads, iron condor, iron fly) with one line. You choose the structure and set the values; AutoTrader Web builds and places each leg for you. See ready-made option structures.

Trade many accounts at once

Use group=YOUR_GROUP instead of account= to place the same order in every live account in a group. One TradingView subscription can drive many accounts this way. First create a group under Accounts → Group Accounts — see Group Accounts.

Already using the classic JSON setup?

The older setup, which uses a longer JSON message and a Pine Script library, still works and your existing alerts keep running. For new setups we recommend Alert Automation. If you need the old format, see the classic setup.

Your alert fired but no order was placed

Start on the Alert Trail screen in AutoTrader Web (Alert Auto. → Alert Trail). It lists every alert we received, the step it reached, and the reason it stopped. That reason is the answer — you do not have to guess, and you do not need to ask us first.

If your alert is not on that list at all, it never reached us. Open the alert in TradingView and check it is still active, that the Webhook URL box is ticked, and that it holds your private link.

If it is on the list but was refused, the reason is nearly always one of these three, and each is a small edit in TradingView:

What you wroteWhat happensThe fix
account: MY_ACCOUNTNothing is read. A line with a colon is skipped, so the whole alert is empty to us.Use an equals sign: account=MY_ACCOUNT. Change every : to =.
TradingView’s default message, like SBIN, 1 Crossing UpNothing is read. It is a sentence, not an order.Clear the Message box and write your own order in it, one setting per line.
A message starting with { that contains "command"Nothing is read. That is the classic format, and it only works with a classic webhook link.Rewrite it in the format above, or point the alert back at your classic link.

None of these have anything to do with your wallet, your licence or your broker. The alert stops while we are still reading it, long before any of that is involved.

To be sure before you go live, paste your message into the alert checker — it gives you the same reason we would.

Does your alert look late?

The time shown against an alert on your chart is the time the candle started, not the moment your alert fired. On a one-minute chart the candle marked 09:30 runs until 09:30:59, so an alert on that candle can fire at any second inside that minute — which is why an alert sometimes looks 20 or 30 seconds late when nothing is slow.

Add timenow={{timenow}} to your alert and you can see the exact firing time. See TradingView alert looks delayed or late.

Before you automate

Please read the precautions first. In short: stop your alerts when you are not using them, test with the smallest size first, and avoid changing settings during live market hours (TradingView can repaint a signal). Automation has its own risks — make sure you understand your alerts before you rely on them.

Frequently asked questions

Does AutoTrader Web support TradingView?

Yes. You can connect your TradingView alerts to AutoTrader Web so they place real orders on your broker accounts. It works with alerts from indicators, strategies and price levels.

Can I place automated orders from a TradingView alert?

Yes. Point your TradingView alert's webhook at your private AutoTrader Web link, and put your order in a short text message. When the alert fires, the order is placed. You set up the rule and can stop it any time.

See the full setup →

Can I run one TradingView alert across many accounts?

Yes. Send the order to a group and it is placed in every live account in that group. You only need one TradingView subscription to trade many accounts this way.

Do I need a paid TradingView plan?

Yes. Automation uses TradingView's webhook feature, which is part of a paid plan. The free plan cannot send alerts to an outside service, so it cannot reach AutoTrader Web. Please check the TradingView website for the latest plan details.

Do you provide TradingView strategies or indicators?

No. AutoTrader Web is a tools-only platform. You bring your own strategy, indicator or alert, and the tool only places the orders you set up. We do not give trading strategies, tips or advice.

How much does TradingView automation cost?

TradingView automation is part of AutoTrader Web. See the pricing page for current plans and what is included.

See pricing →

My TradingView alert fired but no order was placed. Why?

Open Alert Auto. then Alert Trail in AutoTrader Web. Every alert we received is listed there with the step it reached and the reason it stopped, so you can read the real reason yourself. If the alert is not listed at all, it never reached us — check in TradingView that the alert is still active and that its Webhook URL box is ticked with your private link. If it is listed but refused, it is usually the way the message is written: settings must use an equals sign like account=MY_ACCOUNT, TradingView's own default message holds no settings at all, and the older JSON message only works with a classic webhook link.

See the full checklist →

Why does my alert say nothing could be read from it?

The message had no settings we could recognise. The most common cause is writing each line with a colon, like account: MY_ACCOUNT — a line written that way is skipped, so the whole alert comes through empty. Settings are written with an equals sign, like account=MY_ACCOUNT. Change every colon to an equals sign and the alert will work. You can paste your message into the alert checker to confirm it before you use it.

Check your alert →

Next steps

Was this page helpful?

Last updated 18 August 2026