How to Automate TradingView Alerts to Capital.com

Update (October 2026): Capital.com now supports Leverage (L) and Close by Trade Type (T)

Two new parameters are available for Capital.com alerts.

Leverage (L)
Use L together with Q when Q is a percentage. Q sets the position value as a percentage of your account balance, and L sets the leverage applied to that position.

BUY EURUSD Q=10% L=50

This opens a trade worth 10% of your account balance at 50x leverage.

Close by Trade Type (T)
Use T with CLOSE to close only one side of your positions on a symbol.

CLOSE EURUSD T=SELL

This closes all EURUSD SELL positions and leaves any BUY positions open. T=BUY works the same way for BUY positions.

Full details and examples are in the update posts: