TradingView Alerts to ProjectX: Ghost Setup Guide
How to automate TradingView alerts on ProjectX-powered prop firm accounts: native bracket orders and daily loss protection included.
What Topstep says. Topstep's Terms of Use, Section 28 (last updated September 21, 2026): “Using any VPN or VPS on Accounts is strictly prohibited and may result in account termination and forfeiture of profits.” Topstep's TopstepX API article (updated September 17, 2026): “All trading activity must originate from your personal device.” and “The line is order transmission: your server can watch and record, but it cannot trade.” Live Funded accounts cannot trade through the ProjectX API.
Ghost places orders from QuantCrawler servers. Your account, your call.
What You Need Before You Start
Step 1 - Connect ProjectX to Ghost
Go to Ghost Dashboard > Broker Connections > ProjectX.
Enter your ProjectX username (email) and your ProjectX API key (from your ProjectX dashboard under API / Developer).
Ghost authenticates and shows your account details when the connection is successful.
ProjectX uses a JWT-based session that Ghost refreshes automatically. You do not need to reconnect.
Step 2 - Find Your Webhook URL
Go to Ghost Dashboard > Tickers.
Find the ticker you want to automate or create a new one.
Copy the Webhook URL. It looks like: https://quantcrawler.com/api/ghost/webhook/{your-ticker-id}?secret={your-secret}
Keep this URL private: the secret in the URL is what authenticates your alerts.
Step 3 - Set Up Your TradingView Alert
Paste this payload into the TradingView alert message field. Replace sl and tp with your actual levels.
In TradingView, right-click on your chart or use the Alerts tab > Create Alert.
Set your condition (indicator cross, price level, or use a Pine Script strategy).
In the "Notifications" tab, enable "Webhook URL" and paste your Ghost webhook URL.
In the "Message" field, paste the JSON payload above (replacing sl and tp with your actual levels).
For Pine Script strategies, use {{strategy.order.action}} as the action value. TradingView fills it in automatically.
Supported Tickers on ProjectX
| Ticker | Full Name | Prop Firms |
|---|---|---|
| MNQ | Micro E-mini Nasdaq-100 | Topstep |
| MES | Micro E-mini S&P 500 | Topstep |
| NQ | E-mini Nasdaq-100 | Topstep (larger accounts) |
| ES | E-mini S&P 500 | Topstep (larger accounts) |
Daily Loss Protection for Topstep
Daily loss cap in Ghost
Set an optional max daily loss in Ghost settings. Once it is reached, Ghost blocks new entries until the 5:00 PM ET session reset (exits still process), protecting your Topstep daily loss limit independently.
Trailing drawdown context
Topstep's trailing drawdown follows your highest equity point upward. Ghost does not replicate it directly. Topstep tracks it. But keeping each day's loss within Ghost's cap is the key protection mechanism.
Native bracket orders
Ghost sends SL and TP to ProjectX as bracket orders at entry time. The stops live on the broker's servers. They fire even if Ghost or your internet is temporarily unavailable.
JWT auto-refresh
Ghost refreshes the ProjectX JWT session in the background. You do not need to reconnect after a session expires. Ghost handles it automatically.
Frequently Asked Questions
Does Ghost work with Topstep via ProjectX?
Yes. Topstep uses ProjectX as their execution broker. Connect your ProjectX account in Ghost using your ProjectX username and API key and your TradingView alerts execute directly on your Topstep Trading Combine or Express Funded account. Live Funded accounts cannot trade through the ProjectX API. Topstep says all trading activity must originate from your personal device; Ghost places orders from QuantCrawler servers. Your account, your call.
Where do I find my ProjectX API key?
Log in to your ProjectX account, go to Settings or API / Developer section, and generate a new API key. Paste it into Ghost's ProjectX connection screen together with your ProjectX username (the email you log in with).
Does Ghost support Topstep's trailing drawdown rule?
Ghost enforces the optional daily loss cap you set in Ghost settings: once it is reached, new entries are blocked until the 5:00 PM ET session reset and exits still process, which helps prevent breaching Topstep's daily loss limit. The trailing drawdown itself is tracked by Topstep. Ghost does not replicate it, but staying within daily loss limits is the key protection.
What happens if my ProjectX JWT expires?
Ghost automatically refreshes the JWT session. You should not need to reconnect unless your API key is revoked or your account status changes.
Can I run multiple Topstep accounts from one Ghost subscription?
Yes. Add each ProjectX account as a separate broker connection in Ghost and assign them to the same or different tickers.
My Topstep alerts stopped firing on their own. Did something break?
Check the alert expiry first. TradingView alerts on the Essential and Plus tiers expire on a timer; Premium is the first tier that lets an alert run indefinitely. An expired alert sends nothing at all, so Ghost logs no incoming webhook, which looks exactly like a broken ProjectX connection. Restart the alert in TradingView and it resumes.
Continue Learning
TradingView Webhook Setup Guide →
Full payload reference and how Ghost webhooks work
TradingView to Tradovate →
Futures automation for Lucid and Tradeify
Trade Copier Compliance Guide →
What prop firms allow for automation and copy trading
Prop Firm Drawdown Rules →
Trailing drawdown, daily limits, and consistency rules
Ghost Webhook Automation →
Connect TradingView to 11 brokers
Risk Disclosure: Trading involves substantial risk of loss and is not suitable for all investors. This content is for educational purposes only and does not constitute financial advice.
Last updated: November 2026