Generate TradingView alert JSON for your ProjectX accounts
Loading...
Click "Refresh Accounts" to load live ProjectX accounts
strategy.exit() or
strategy.close_all(), set up two separate TradingView alerts —
one for entries, one for exits. The relay can also auto-detect closes from
{{strategy.order.action}} by checking position state, but explicit
"data": "close" is more reliable.