HomeResources › TradingView to Tradovate Automation

How to Automate TradingView Alerts to Tradovate (Apex & Topstep Compatible)

Updated June 2026 · ~7 min read

Tradovate is the default execution platform for Apex Trader Funding evaluations and is also supported by Topstep. TradingView can generate signals from any Pine Script strategy, but it cannot place orders directly. To automate the full pipeline — from a chart signal in TradingView to a live order in your Tradovate eval account — you need a webhook bridge in the middle. This guide walks through the exact setup using TradersPost, with PickMyTrade as an alternative option.

What you need before starting

Before you touch a single webhook URL, make sure you have all four of these in place:

Step 1 — Set up your webhook in TradersPost

TradersPost acts as the middleman between TradingView and Tradovate. Here is how to get a live webhook URL:

  1. Create an account at traderspost.io. The Solo plan is sufficient for a single prop firm eval.
  2. In the dashboard, go to Brokers → New Connection and select Tradovate. You will go through an OAuth flow that grants TradersPost read/write access to your Tradovate account. Select your Apex or Topstep eval account specifically — not a live funded account.
  3. Go to Strategies → New Strategy. Set the symbol (e.g. MES or MNQ), quantity, and order type. TradersPost maps the symbol name for you, so you can use the generic contract identifier.
  4. Once the strategy is saved, TradersPost generates a unique webhook URL in the format: https://webhooks.traderspost.io/trading/webhook/<uuid>/<token>. Copy this URL — you will paste it into TradingView in Step 3.
PickMyTrade is an alternative to TradersPost that also supports Tradovate and Apex. It tends to have a simpler interface for new users. See the PickMyTrade setup guide for that path.

Step 2 — Configure your Pine Script alert

Your Pine Script needs to fire an alert that TradersPost can parse. There are two ways to do this in Pine Script v5:

Option A: strategy.entry / strategy.exit (recommended)

If you use strategy.entry() and strategy.exit() calls, you can set TradingView to fire alerts on "Order fills only." TradersPost reads the order direction from the JSON payload you supply in the alert message. Here is the standard payload format our scripts use:

{
  "ticker": "{{ticker}}",
  "action": "{{strategy.order.action}}",
  "quantity": {{strategy.position_size}},
  "price": {{close}},
  "sentiment": "{{strategy.market_position}}"
}

Option B: alertcondition()

If your script uses alertcondition() instead of strategy calls, you define the condition manually and wire a separate alert for each direction. Example:

longCondition = ta.crossover(ta.ema(close, 9), ta.ema(close, 21))
shortCondition = ta.crossunder(ta.ema(close, 9), ta.ema(close, 21))

alertcondition(longCondition, title="Long Entry", message='{"ticker":"MES","action":"buy","quantity":1}')
alertcondition(shortCondition, title="Short Entry", message='{"ticker":"MES","action":"sell","quantity":1}')

For each alertcondition(), you will create a separate alert in TradingView and point it to the same TradersPost webhook URL.

Step 3 — Create the TradingView alert

With your Pine Script on the chart and your TradersPost webhook URL copied, create the alert in TradingView:

  1. Right-click anywhere on the chart and select Add Alert, or press Alt+A.
  2. In the Condition row, select your strategy name from the first dropdown. In the second dropdown, select Order fills only (for strategy scripts) or the specific alertcondition name.
  3. Scroll down to the Notifications section. Check Webhook URL and paste your TradersPost URL into the field that appears.
  4. In the Message box, paste the JSON payload from Step 2. TradingView will expand the {{placeholders}} at alert fire time.
  5. Set expiration to a date far in the future (TradingView alerts expire by default — set at least 6 months out).
  6. Click Create.
TradingView only allows webhook alerts on Essential plan and above. If the Webhook URL field is grayed out, you are on the free plan and need to upgrade before continuing.

Prop firm compliance checklist

Before you go live on any Apex or Topstep eval account, verify that your Pine Script includes the following. These features are required to stay within prop firm rules — getting flagged for a rule violation is worse than a losing trade.

Free code snippets for all of the above are available at propfirmpinescripts.com/snippets/.

Common issues and fixes

The most frequent problems traders hit when wiring TradingView to Tradovate for the first time:

Skip the wiring — get a strategy that's already set up.

Every Pine Script from our store ships with the TradersPost JSON payload pre-filled, session filters, kill switch, EOD flatten, and a PDF setup guide. Plug in the webhook URL and you are live.

View Plans

One-time payment · Instant delivery · No subscription