Skip to content

Guide

Can TradingView auto trade without code?

Yes, for the trading side. Set an alert on a chart, an indicator or a strategy, paste a Nyria webhook URL into its notifications, and a bot places the order at your broker. You write no code to place orders, and the message can be plain text such as SPY long entry. TradingView sends webhooks on its paid plans only, with two-factor sign-in on. Test the alert on Nyria Paper first, which is free.

Official documentation

Auto trade TradingView, no code

  1. 1

    Create a strategy in Nyria

    Select Create strategy, pick TradingView as the alert source, choose stocks, options or crypto, and set what an entry and an exit do on each side.

  2. 2

    Copy the message and the URL

    Open the strategy's Integration tab. The Create the alert step shows a message and the webhook URL, each with a copy button. The alert builder writes a message for a stock, option or crypto alert if you prefer your own wording.

  3. 3

    Create the alert in TradingView

    Open the alert dialog and set the Condition to the indicator, drawing or strategy you watch. Open Message, paste the message and select Apply. Open Notifications, tick Webhook URL, paste the strategy's URL and select Apply, then Create.

  4. 4

    Check the format

    Back in Nyria, select Check format, then Check and save. The strategy turns Active once Nyria reads every side, and the Logs tab shows the ticker and side it read.

  5. 5

    Deploy on paper, then live

    Select Deploy bot, choose Nyria Paper and set a Budget per entry. When the paper orders match what you meant, deploy a second bot on your Charles Schwab, Alpaca, tastytrade or Tradier account.

Watch the setup

How to automate TradingView alerts to your broker (free paper account first)
Start on free Nyria Paper and build a TradingView strategy. Check the alert format, deploy a bot.
Steps in the video
  1. 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.
  2. 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.
  3. 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.
  4. 3:13Check the format. Select Check format and add an entry and an exit alert. Nyria shows the ticker, side and order it read.
  5. 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.

Messages to copy

Entry, as plain text

SPY long entry

Exit

exit SPY long

What no code covers

  • Placing orders needs no code. An alert on a built-in indicator or a drawing needs none either.
  • A Pine Script strategy is code you or someone else wrote. Its alerts work the same way once the URL is pasted in.
  • The alert cannot set the size. Each bot sizes the order from its Budget per entry.
  • Exits come from your exit alerts.

Questions

Do I need a paid TradingView plan?
Yes. TradingView sends webhooks on its paid plans only, with two-factor sign-in turned on. Nyria is free to test on paper.
Does the message need a template?
No. Plain text or JSON in your own wording works, as long as it names the ticker and the side.
Which brokers can it trade at?
Binance, Coinbase, OKX, MEXC, Charles Schwab, Alpaca, Kraken, Hyperliquid, Kraken Futures, tastytrade, Tradier and My Funded Perps, or Nyria Paper with no broker at all.
What does it cost?
Paper is free. Live trading from $15 a month.

Next

Try a paper bot first

No card required. Paper is free. Live trading from $15 a month.