Sending Orders from TradingView to Your Broker
This guide explains how to route TradingView alerts to your broker automatically.
Prerequisites
Before you begin, make sure you have:
- The algorithm already added to your TradingView chart and generating signals
- A paid TradingView plan — webhook alerts require Essential or higher; free accounts cannot send webhooks
- A supported broker account (see each section below)
- An account on TradersPost (traderspost.io) or QuantLynk (via your QuantVue account at quantvue.io)
Option A: TradersPost
Supported Brokers
Tradovate, Alpaca, TD Ameritrade / Schwab, Webull, Robinhood, Tastytrade, TradeStation, and others.
Step 1: Connect Your Broker
- Log in to your TradersPost dashboard
- Click Connections in the left sidebar
- Click Connect and select your broker
- Follow the authorization steps — some brokers use API keys, others use OAuth login
- Once authorized, your broker will show as Active
Step 2: Create a Strategy
A Strategy in TradersPost is what generates your unique webhook URL and defines what you're trading.
- Click Strategies → New Strategy
- Give it a name (e.g.
NQ Algorithm) - Set the Asset Class that matches your instrument (Futures, Equities, etc.)
- Set the Ticker to match your chart (e.g.
NQ1!) - Save the strategy
Step 3: Create a Subscription
A Subscription connects your Strategy to a specific broker account and sets your position size.
- Open your Strategy and click Add Subscription
- Select your connected broker and the account you want to trade on
- Set your Quantity — the number of contracts or shares per signal
- Set Order Type to Market unless your algorithm specifies otherwise
- Leave Paper Trading enabled until you have verified everything is working
- Save
Step 4: Copy Your Webhook URL
- Open your Strategy
- Click the Webhook tab
- Copy the full webhook URL — keep this handy for the next step
Step 5: Create the TradingView Alert
-
On your TradingView chart, right-click the algorithm and select Add Alert
-
Set the Condition to the algorithm's name
-
In the Message field, enter exactly:
{{strategy.order.alert_message}} -
Under Notifications, toggle on Webhook URL
-
Paste your TradersPost webhook URL into the field
-
Set Expiration to Open-ended so the alert does not expire
-
Click Create
TradingView will now send every trade signal from the algorithm to TradersPost, which will forward the order to your broker automatically.
Step 6: Confirm It's Working
After creating the alert, wait for the next signal or trigger a test:
- Check the Activity tab in your TradersPost Strategy — you should see incoming signals logged there
- Verify the order appeared in your broker account (paper or live)
- If the signal arrived but no order was placed, check that your Subscription is Active and your broker connection is still authorized
Once confirmed, go back to your Subscription and disable Paper Trading to switch to live execution.
Option B: QuantLynk
QuantLynk is QuantVue's built-in order routing system. If you are using a QuantVue algorithm, QuantLynk integration is already built into the script — you only need to enter your credentials and create the alert.
Supported Brokers
Tradovate, NinjaTrader Brokerage, Rithmic, and others. Check your QuantVue dashboard for the current list.
Step 1: Get Your QuantLynk Credentials
- Log in to your QuantVue account at quantvue.io
- Navigate to QuantLynk in the dashboard
- Create a new alert and connect it to your broker account
- Once saved, copy your User ID (
qv_user_id) and Alert ID (alert_id)
You can also find these values pre-filled in the webhook generator inside QuantLynk. Generate a sample order there and both IDs will appear in the payload preview.
Step 2: Enter Your Credentials in the Algorithm Settings
- On your TradingView chart, click the Settings icon next to the algorithm name
- Find the QuantLynk User ID and QuantLynk Alert ID input fields
- Paste in your credentials from Step 1
- Click OK
Step 3: Create the TradingView Alert
-
On your TradingView chart, right-click the algorithm and select Add Alert
-
Set the Condition to the algorithm's name
-
In the Message field, enter exactly:
{{strategy.order.alert_message}} -
Under Notifications, toggle on Webhook URL
-
Paste the following URL into the field:
https://lynk.quantvue.io/quantlynk/place-order -
Set Expiration to Open-ended
-
Click Create
The algorithm will build the correct JSON payload for each order automatically using the credentials you entered in Step 2. You do not need to write or edit any JSON.
Step 4: Confirm It's Working
- Check your QuantLynk dashboard for incoming order activity after the next signal fires
- Verify the order appeared in your broker account
- If a signal was received but no order placed, confirm your credentials are entered correctly in the algorithm settings and that your broker connection in QuantLynk is active
Paper Trade First
Regardless of which service you use, run in paper trading mode for at least one to two weeks before switching to live execution. This lets you verify that signals are routing correctly, orders are sized properly, and your broker account is behaving as expected before real capital is involved.
Troubleshooting
The Webhook URL option is not available in TradingView Webhook notifications require a paid TradingView plan. Upgrade to Essential or higher.
The alert was created but no signals appear in TradersPost or QuantLynk Make sure the alert condition is set to the correct algorithm and that Webhook URL is toggled on in the alert's Notifications tab. A common mistake is creating the alert without enabling the webhook toggle.
Signals are arriving but no orders are being placed
For TradersPost — check that your Subscription is Active and not paused. For QuantLynk — verify your qv_user_id and alert_id are entered correctly in the algorithm settings (no extra spaces).
Orders are the wrong size For TradersPost, the quantity is set in the Subscription. For QuantLynk, the algorithm controls quantity — check the algorithm's position sizing settings.
The broker rejected the order Confirm your account has sufficient margin and that the instrument is enabled for trading on your account. Futures products often require specific enablement through your broker. Also verify the market was open at the time the signal fired.
The alert expired When creating the alert, always set Expiration to Open-ended. If the alert has already expired, delete it and recreate it with the correct expiration setting.