- Create a strategy with TradingView as its alert source. My strategies, then Create strategy: a strategy name typed in, TradingView picked as its alert source, then Next to what it trades, where Stocks is picked.
- A TradingView alert becomes a paper trade. A TradingView alert reaches a private Nyria strategy: the BTCUSDT long entry lands in its Logs and fills on Nyria Paper, then the exit alert closes it.
- Create a strategy with TradingView as its alert source. Creating a strategy from My strategies: QQQ First Hour typed in, TradingView picked from the alert sources, Stocks, Private, QQQ with its current price as the max cost per share, then the Review step's flow from alert to broker.
- Copy the webhook URL and alert message. The Integration tab: Indicator as the script type, then the alert message and the webhook URL copied.
- Set the alert condition in TradingView. TradingView's Create alert on SPY dialog: Condition changed from Price to Supertrend str (10, 3), then Expiration set to the custom date 2026-12-03.
- Add the webhook URL to a TradingView alert. TradingView's alert notification options: Webhook URL ticked and the strategy's trades.nyria.io webhook address pasted into its field.
- Deploy a bot on Nyria Paper. Deploying a bot on a TradingView strategy: $500 per entry, the review tracing your TradingView alert to Nyria Paper, Deploy, then the new bot's page, Active.
Alert source · TradingView
Automate TradingView alerts
Paste a strategy's webhook URL into a TradingView alert. When it fires, Nyria places the order at your broker.

Setting it up
Want the full walkthrough, from the Pine alert to a paper test and a live bot? Read how to automate TradingView alerts to your broker.
Create the strategy in Nyria
Sign in to Nyria and create a strategy. Choose stocks, options or crypto. Set what an entry and an exit do on each side.
Copy the webhook URL
Copy the strategy's webhook URL from its Integration tab.
Create the TradingView alert
In TradingView, open your chart and select Alert. Under Condition, pick your strategy or indicator. For a strategy, choose Order fills only in the dropdown under it.
Paste the webhook URL
In the alert dialog, open Message, paste your alert message and select Apply. Open Notifications, tick Webhook URL, paste your Nyria webhook URL. Select Apply, then Create.
Deploy the bot
Back in Nyria, deploy a bot and pick its broker account. The next alert becomes an order.
Watch the setup

Steps in the video
- 0:00Pick Nyria Paper or a broker. Open Integrations. Nyria Paper is free and needs no broker, so start there. Charles Schwab, Tradier and tastytrade connect through their own sign-in, and Alpaca takes an API key.
- 0:58Create a strategy. Select Create strategy and name it. Then, select your alert source. This example uses TradingView. Pick stocks and a ticker, then create the draft.
- 1:28Create the alert in TradingView. Copy the webhook URL and the alert message from the Integration tab. In TradingView, select Message, paste the message and select Apply. Then select Notifications, tick Webhook URL, paste the URL and select Apply.
- 3:13Check the format. Select Check format and add an entry and an exit alert. Nyria shows the ticker, side and order it read.
- 3:32Deploy a bot. Select Deploy bot, set a budget per entry and pick an account. Nyria Paper is free, so test there first. On a live broker account, pick it on the Account step. Send a sample alert and watch the paper order fill.
Optional formats
TradingView's default message works as written. So does plain text like long entry SPY. TradingView fills in placeholders like {{ticker}}.
Stock entry
{
"ticker": "{{ticker}}",
"action": "buy",
"price": {{close}}
}A stock buy with ticker and price.
Options entry
{
"ticker": "SPY",
"action": "OPEN",
"direction": "LONG"
}LONG uses the strategy's call rule, SHORT its put rule. It picks the strike and expiry.
Exit
{
"ticker": "{{ticker}}",
"action": "exit"
}Close the open position on this ticker.
Pine Script example
//@version=5
strategy("My Automated Strategy", overlay=true)
// Your strategy logic here
longCondition = ta.crossover(ta.sma(close, 14), ta.sma(close, 28))
shortCondition = ta.crossunder(ta.sma(close, 14), ta.sma(close, 28))
if (longCondition)
strategy.entry("Long", strategy.long)
alert('{"ticker": "' + syminfo.ticker + '", "action": "buy"}', alert.freq_once_per_bar_close)
if (shortCondition)
strategy.close("Long")
alert('{"ticker": "' + syminfo.ticker + '", "action": "exit"}', alert.freq_once_per_bar_close)Use alert.freq_once_per_bar_close so one bar can't send more than one alert.
TradingView sends webhooks only on paid plans with two-factor on.
TradingView pricingQuestions
How do I send TradingView alerts to my broker?
Create a strategy with TradingView as the source and paste its webhook URL into a TradingView alert. It stays inactive until a test alert reads correctly. Steps per broker: TradingView to Schwab, TradingView to Alpaca, TradingView to tastytrade and TradingView to Tradier.
Does a TradingView alert need a JSON template?
No. Send plain text like long entry {{ticker}} or the default TradingView strategy message; JSON works too. Paste a sample into the strategy's Integration tab and select Check format to see what Nyria would place.
TradingView alerts, by broker
TradingView to Schwab
Stocks and ETFs, Options up to 4 legs
TradingView to Alpaca
Stocks and ETFs, Options up to 4 legs, Crypto spot
TradingView to tastytrade
Stocks and ETFs, Options up to 4 legs
TradingView to Tradier
Stocks and ETFs, Options up to 4 legs
TradingView to Nyria Paper
Stocks, options, crypto, free
Weighing tools first? See TradingView automation tools compared.
Guides
How do I automate TradingView alerts to my broker?
The alert, the webhook URL, the message, a paper test, then live.
Read guideWhat tool turns trading alerts into broker orders?
What an alert is, three ways to automate it, and what to check before you trust it.
Read guideCan TradingView auto trade without code?
A chart alert, a pasted webhook URL and a plain-text message: orders at your broker with no code.
Read guideForward test a TradingView strategy free
Up to 10 paper bots, simulated fills, live market data.
Read guideTradingView alert not firing?
The alert never fires: expiry, trigger, condition, script errors and limits.
Read guideConnect TradingView webhooks to Alpaca
Generate an Alpaca API key, paste Nyria's webhook URL into TradingView, and alerts become orders at Alpaca.
Read guideHow do I auto execute trades from a TradingView strategy?
An alert on the strategy, Order fills only, and the strategy placeholders in the message.
Read guideUse cases
Other alert sources
Compared with TradersPost, SignalStack, Collective2, 3Commas, PineConnector, Cornix, WunderTrading, Alertatron, PickMyTrade, Option Alpha, Composer, Capitalise.ai, StockHero, Coinrule, WebhookTrade, Algoway, TradingConnector, AutoView, Tickerly, Tradetron, Cryptohopper, Surmount, Trade Ideas, MetaCopier and Botifytrades.
Point a TradingView alert at Nyria
The webhook URL goes in the alert box. No card required.