Skip to content

TradingView alerts

Every webhook workflow has its own address. Paste it into a TradingView alert’s Webhook URL, and put a message like this in the alert’s Message box:

{
"symbol": "{{ticker}}",
"side": "{{strategy.order.action}}",
"quantity": "{{strategy.order.contracts}}",
"sl": 1.075,
"tp": 1.09,
"id": "{{timenow}}-{{ticker}}"
}
Field Required What it is
symbol Yes The market, for example EURUSD or BTCUSDT.
side Yes buy or sell.
quantity Yes How much the signal trades. Each follower’s own sizing is applied to it.
type No market (the default), limit or stop.
price For limit and stop The order’s price.
sl No Stop loss price. stop_loss and stopLoss work too.
tp No Take profit price. take_profit and takeProfit work too.
id No Your own ID for the signal. If the same ID arrives twice, the second is ignored.

Numbers can be sent as numbers or as text, so TradingView placeholders work either way. A stop loss must be on the losing side of the price and a take profit on the winning side, or the signal is rejected.

Brokers don’t always agree on names. If TradingView sends EURUSD but your broker calls it something else, add a symbol mapping on the account’s subscription to the workflow.

The webhook address works like a password: anyone who has it can send signals to your workflow. If it leaks, open the workflow and regenerate it, then update your alerts.

Each address accepts up to 30 signals a minute, and messages up to 16 KB.