Pick the Capital.com epic on your Strategy
Capital.com names every instrument by an epic, which can differ from the TradingView symbol. Choose the ticker on your Strategy under My Brokers from the broker's own list so routing for TradingView webhook automation is mapped correctly.
- Gold is
GOLD, Brent isOIL_BRENT, WTI crude isOIL_CRUDE, S&P 500 isUS500, Nasdaq 100 isUS100, DAX isDE40, EUR/USD isEURUSD - Every epic is listed on the Supported symbols pages, one page per market: shares, crypto, commodities, currencies and indices
Add strategy and create TradingView alert
Attach your Pine strategy, validate backtest results, then create an alert for buy/sell events.
Set webhook URL and message payload
Use your TradeAdapter webhook URL and JSON payload to route alerts from TradingView to Capital.com with consistent execution.
Recreate alerts after strategy changes
Recreate TradingView alerts whenever strategy inputs change to keep real-time trade execution synchronized.
TradingView alert message template
Credentials live on the broker you saved under My Brokers; market, ticker, order type, and quantity are configured once on that broker's Strategy — never in the TradingView alert. If your strategy uses Limit order type, or has Stop Loss / Take Profit enabled, also include "order_price": "{{close}}" in the alert. If your strategy has "Sync with TradingView position" enabled, also include market_position and prev_market_position from your strategy.
{
"strategy_name": "capital_com-momentum",
"order_action": "{{strategy.order.action}}",
"order_contracts": "{{strategy.order.contracts}}"
}