Ghost Automation

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

ProjectX account - Topstep uses ProjectX as their execution broker. Your ProjectX credentials come from Topstep when your account is funded or activated.
ProjectX username and API key - Generate an API key from your ProjectX dashboard. Ghost authenticates with your ProjectX username (email) plus that API key. No password is stored.
A paid TradingView plan - Webhooks require a paid plan. Essential, the entry tier, is enough.
Two-factor authentication on TradingView - TradingView only permits webhook alerts on accounts with 2FA enabled. Turn it on before you build the alert. Without it the alert saves but never fires the webhook, so nothing reaches your funded account.
Ghost subscription - QuantCrawler Elite or Ghost-only subscription with a ProjectX ticker configured.

Step 1 - Connect ProjectX to Ghost

1

Go to Ghost Dashboard > Broker Connections > ProjectX.

2

Enter your ProjectX username (email) and your ProjectX API key (from your ProjectX dashboard under API / Developer).

3

Ghost authenticates and shows your account details when the connection is successful.

4

ProjectX uses a JWT-based session that Ghost refreshes automatically. You do not need to reconnect.

Step 2 - Find Your Webhook URL

1

Go to Ghost Dashboard > Tickers.

2

Find the ticker you want to automate or create a new one.

3

Copy the Webhook URL. It looks like: https://quantcrawler.com/api/ghost/webhook/{your-ticker-id}?secret={your-secret}

4

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.

{ "action": "buy", "entry": {{close}}, "sl": 21000.00, "tp": 21400.00 }
1

In TradingView, right-click on your chart or use the Alerts tab > Create Alert.

2

Set your condition (indicator cross, price level, or use a Pine Script strategy).

3

In the "Notifications" tab, enable "Webhook URL" and paste your Ghost webhook URL.

4

In the "Message" field, paste the JSON payload above (replacing sl and tp with your actual levels).

5

For Pine Script strategies, use {{strategy.order.action}} as the action value. TradingView fills it in automatically.

Supported Tickers on ProjectX

TickerFull NameProp Firms
MNQMicro E-mini Nasdaq-100Topstep
MESMicro E-mini S&P 500Topstep
NQE-mini Nasdaq-100Topstep (larger accounts)
ESE-mini S&P 500Topstep (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

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

© 2026 QuantCrawler. Not financial advice. Trading involves substantial risk of loss.