This page completes TradingView webhook automation into Binance. Configure the alert, message JSON, and webhook URL — then validate results in TradeAdapter.
Video
Watch the TradingView setup walkthrough
Use a Binance symbol on TradingView
On your chart, confirm the symbol is from Binance. For this route, use SPOT or SWAP symbols only.
Add a Pine strategy to the chart
Open Pine Editor, add your strategy code, and click Add to chart. TradeAdapter automation works with Pine strategies (not indicator-only alerts by default).
Create a TradingView strategy alert
In Strategy Tester, verify results, then click Add alert on the strategy so buy/sell events can automate TradingView alerts to TradeAdapter.
Set alert message and webhook URL
Paste your JSON alert payload in Message, then add your TradeAdapter webhook URL under Notifications (a paid TradingView plan).
- Copy the alert JSON from your Strategy under My Brokers, or start from the template below
- Copy your personal webhook URL from your Profile after you sign in
Verify execution on My Trades
After an alert fires, open My Trades: the By Strategy timeline shows every executed, rejected and unconfirmed order for real-time trade execution visibility. Filter it by type or pick one strategy to see why an order stopped.
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. TradingView only sends the strategy name plus per-signal values. 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": "binance-momentum",
"order_action": "{{strategy.order.action}}",
"order_contracts": "{{strategy.order.contracts}}"
}
Field reference
- strategy_name
- The name you gave this Binance Strategy under My Brokers. Identifies which saved credentials and trading settings to use — never put API keys in the alert.
- order_action, order_contracts
- Filled automatically by TradingView from your Pine strategy at alert time.
- time
- Alert timestamp, filled automatically by TradingView.
How test orders work
- Spot: test orders still use your live Binance.com API credentials.
- Margin: Binance does not support test orders — validate with the smallest live size.
- Futures: use Binance Futures testnet credentials from the Futures testnet API path and check the Demo / testnet account box when you save that broker under My Brokers.