Home › Resources › Automate TradingView with TradersPost
How to Automate TradingView with TradersPost
TradingView is a charting and signal platform — it doesn't place orders. TradersPost is the missing layer: it accepts a TradingView webhook alert, translates it to a broker order, and routes it to your Tradovate, Rithmic, NinjaTrader, MT4/MT5, or Alpaca account. Here's the full setup, plus the Pine Script alert message format our store's scripts use.
Step 1: Sign up for TradersPost
Create an account at traderspost.io. The Solo plan ($30/mo as of writing) covers one broker connection and unlimited strategies, which is enough for a single prop firm eval. Use coupon code PINESCRIPTS at checkout for 20% off your first month.
Step 2: Connect your prop firm broker
In TradersPost → Brokers → New, pick your prop firm's broker. Common ones:
- Apex / Topstep / MFFU — Tradovate or Rithmic
- FTMO — MetaTrader 5 or cTrader
- The Funded Trader (forex) — MetaTrader 5
You'll be asked for the broker's API credentials. Tradovate uses an OAuth flow; Rithmic uses login + password. The connection is read/write — TradersPost can place orders, see fills, and read account state.
Step 3: Create a strategy in TradersPost
Strategy → New. Map it to:
- Symbol — e.g.
MNQfor Tradovate,NAS100for MT5 - Quantity — number of contracts per signal
- Bracket / OCO — turn this on so the stop and target fire as a single order group
TradersPost will give you a webhook URL like https://webhooks.traderspost.io/trading/webhook/<uuid>/<token>. Save it.
Step 4: Wire the alert in TradingView
Add the Pine Script to your chart. In the script's input panel, you'll see a JSON message field. Right-click the chart → Add Alert. In the alert dialog:
- Set Condition to the strategy and the appropriate fire-on (e.g. "Order fills only")
- Paste the TradersPost webhook URL into the Webhook URL field
- Set the Message body to the JSON the strategy emits — see template below
The JSON payload
The Pine Scripts in our store emit alerts in TradersPost's expected format:
{
"ticker": "{{ticker}}",
"action": "{{strategy.order.action}}",
"quantity": {{strategy.position_size}},
"price": {{close}},
"sentiment": "{{strategy.market_position}}"
}
You don't have to type this — every strategy from our store ships with the alert message pre-filled. Copy it from the input panel and paste into TradingView.
Step 5: Paper-test before connecting to a live eval
TradersPost has a paper-trading environment. Run the strategy on paper for at least 5 sessions and confirm:
- Entries fire at the price the script signaled (within slippage)
- Stops and targets are placed correctly as bracket orders
- The strategy doesn't fire duplicate orders on a single bar
Step 6: Connect to your prop firm eval account
Once paper looks clean, switch the strategy's broker target to your live eval account in TradersPost. Start with the smallest contract size for the first day. Watch the first 3–5 fills manually before walking away.
Common gotchas
- Symbol mismatch. TradingView calls it MNQ1!. Tradovate calls it MNQM26 (current front-month). TradersPost handles the mapping but check the strategy's symbol field.
- Time zone. The Pine Script's session filter uses your chart timezone. Set both the script and TradersPost to America/New_York for futures.
- Premium TradingView plan needed. Webhook alerts require Essential ($14.95/mo) or higher. Free plan won't work.
Get a Pine Script with the JSON pre-wired.
Pine Script + PDF guide. Webhook payload included. Plug-and-go with TradersPost.
View Plans