Fire trades straight from TradingView alerts and strategies using the PipSync webhook endpoint.
Settings → Advanced → TradingView Alerts, then click Generate webhook URL.
It contains a secret token unique to this source:
https://pipsync.io/api/tradingview/webhook/YOUR_SECRET_TOKEN
The clock icon in the right toolbar, or Alt+A.
A strategy order, an indicator crossing, a price level — anything TradingView can alert on.
This is the payload PipSync receives. Use the template below.
Under Notifications → Webhook URL.
TradingView now POSTs your JSON to PipSync every time the alert fires.
{
"action": "{{strategy.order.action}}",
"symbol": "{{ticker}}",
"price": {{close}},
"sl": 0,
"tp": 0,
"lots": 0.01
}| Field | Required | Meaning |
|---|---|---|
| action | yes | "buy", "sell" or "close". "close" closes the open position on that symbol. |
| symbol | yes | The instrument name as your broker spells it — XAUUSD, US30, EURUSD. |
| price | no | Entry price. 0 means execute at market. |
| sl | no | Stop-loss price. 0 omits it — subject to the completeness gate. |
| tp | no | Take-profit price. 0 omits it. |
| lots | no | Fixed size for this alert. Omit to let your risk rules size the trade. |
| comment | no | Free text stored with the trade. |
GOLD, XAUUSD and XAUUSD.m are the same market at three brokers. Use the name from your own symbol list, or map it in the channel settings.Alert fires but nothing arrives? See webhook troubleshooting.
Send the raw signal, the timestamp and the account name — that is usually enough to answer on the first reply.