Guide
Can you trade directly from TradingView?
How to autotrade on TradingView: an alert can call a webhook, but it never places an order by itself. The trading panel only trades by hand.
What the trading panel does
The panel sits under the chart. You pick a broker from its list, log in with that broker's own credentials, and the chart gains an order ticket. From there you buy, sell, set a limit price and cancel, and the account's positions and orders show beside the chart. Paper Trading, TradingView's own simulator, is always in the list.
Every order in that panel is one you clicked. There is no setting that makes the panel place an order when a condition on the chart becomes true.
Why alerts don't place orders
An alert is a condition on the chart plus an action when it fires: a pop-up, an email, a push notification or a webhook. None of those actions is send an order to the trading panel. A broker logged in to the panel changes nothing about this, so the alert tells you and you still click.
The webhook is the one action that leaves TradingView. It sends the alert's message to a URL you choose, and whatever owns that URL can read the message and place an order at a broker. That receiver does not need the panel, and it works with brokers that are not in the panel's list at all.
How to autotrade on TradingView
- 1
Name the trade in the message
The alert message has to say the ticker, the side and whether it opens or closes a position. For options it also needs the expiry, the strike and call or put. Leave out anything the receiver can decide itself.
- 2
Check your TradingView plan
Webhook alerts need a paid TradingView plan and two-factor authentication turned on for your account. A free plan can still notify you.
- 3
Point the webhook at a receiver
The receiver is software that stays awake, reads each message and sends an order to a broker that publishes an API. You can write it yourself or use a service built for it.
- 4
Test on paper, check the fills
Run the alerts against a paper account until entries and exits both behave. Then compare each live order with the broker's own order history, which is the record that counts.
The same route with Nyria
Nyria is the receiver. Create a strategy with TradingView as the alert source, copy its webhook URL into the alert's Webhook URL box, and put a message in the alert. Nyria reads any wording or JSON, so plain text works:
Entry, in the alert message
long entry AAPL
Exit
exit AAPL long
The bot places the order at Charles Schwab, Alpaca, tastytrade or Tradier. An alert cannot set the size: the bot sizes each order from the budget per entry you set when you deploy it. Nyria attaches no stop order to a live entry, so a position closes when an exit alert arrives or when you close it yourself. The alert tester shows how a message will be read before anything trades.
Nyria does not appear in TradingView's trading panel. It sits on the other side of the webhook.
Paper first
Deploy the strategy on Nyria Paper, the free simulated broker, and let real alerts fire for a week or two. Read the strategy's Logs tab to see each alert and each order, then confirm every exit closed its entry. Paper fills pay the quoted spread and never slip, so a live account can fill at a worse price. When the paper run reads right, deploy a bot on the broker account.
Questions
- Does a connected broker make my alerts trade?
- No. A broker connected to the trading panel only lets you place orders by hand. An alert places an order only when its webhook reaches a receiver that holds a broker connection.
- Do I need the trading panel for webhook alerts?
- No. The webhook route does not use the panel, so it works with any broker the receiver connects to, listed in the panel or not.
- What does it cost?
- Paper is free. Live trading from $15 a month.
Guides
How do I automate TradingView alerts to my broker?
The alert, the webhook URL, the message, a paper test, then live.
Read guideWhy TradingView shows no brokers
The panel lists only integrated brokers in your region. Check your profile country, or use webhooks.
Read guideWhich brokers TradingView alerts can trade
What each live broker trades and how it signs in.
Read guideWhy is my TradingView webhook not firing?
Six checks, most common first, ending at the logged reason.
Read guideSend TradingView alerts to Discord
A Discord webhook URL in TradingView's Notifications, five steps, and how to auto-trade the channel.
Read guideSend your first alert to paper
No card required. Paper is free. Live trading from $15 a month.