FAQ
Home
Support Center
FAQ
Crypto Derivatives
Futures Contracts
Futures Guide
How to Set up Signal Trading With TradingView?

How to Set up Signal Trading With TradingView?

2023-09-13 01:30
Binance Webhook & TradingView Integration
Frequently Asked Questions
Binance Webhook & TradingView Integration

What is a webhook?

A webhook is a method that allows TradingView to communicate real-time data directly to Binance. Essentially, it lets specific conditions set on TradingView immediately trigger trading orders on Binance.

How does this integration work?

TradingView users can create alerts or execute trading strategies via webhook. When these alerts or strategies are triggered, a webhook message, containing trade specifics, such as the trading symbol, side, and quantity, will be dispatched to Binance. Upon receiving these, Binance will automate the trade execution.

Who can access this feature?

Currently, only USDⓈ-M Futures users can access this feature. Binance supports both default and Portfolio Margin trading modes.
To access webhooks, you need a TradingView Pro, Pro+, or Premium account. The service is predominantly designed for USDⓈ-M default trading users.

What are the prerequisites to use this integration?

  • A subscription to either the TradingView Pro, Pro+, or Premium account, as only these tiers support webhooks.
  • Ensure you're trading pairs that are recognized and listed on Binance.
  • Currently, only the One-Way position mode is supported.

How to set up a webhook in TradingView with the Binance integration?

Step 1: Create a webhook on Binance

1. Log in to your Binance account and go to the USDⓈ-M trading interface. Select your desired trading pair.
2. Go to the [Strategy] tab and choose [Webhook Signal Trading]. Click [Create Now].
3. Read the notes and click [Confirm and Proceed].
4. Create a name for your signal and choose a trading pair for which you wish to receive signals. Click [Create Signal].
5. You'll see your webhook URL and the alert message. Keep these handy as you'll need to enter them into the TradingView alert settings later.
6. Click [Run Webhook], then review and accept the Terms and Conditions.

Step 2: Configure TradingView

1. Log in to your TradingView account. You’ll need a TradingView Pro, Pro+, or Premium account to integrate with Binance.
Select a USDⓈ-M trading pair (e.g., ETHUSDT.P for ETH Futures perpetual contract) and click [Launch chart].
2. Import existing strategies under [Indicators] - [Technicals].
Alternatively, go to the [Strategy Tester] tab and select your desired strategy to customize.
3. Go to the [Properties] tab and enter your Binance strategy execution parameters.
Note: "Contracts'' represent your order size. E.g., 0.1 contracts = 0.1 BTC for BTCUSDT.
4. Confirm your parameters and you’ll see the strategy under the [Overview] tab.
5. Click the [Add alert] icon to add an alert for your chosen strategy.
6. Under the [Settings] tab, name your alert and enter the message from your Binance webhook setup.
Please make sure the message matches the one in the Binance webhook.
Example Message Format: {"symbol":"{{ticker}}","side":"buy","qty":"1","price":"{{close}}","trigger_time":"{{timenow}}","signal_id":"175cbc02-79eb-44ef-ac67-d0d818c6f928","UID":"xxxxx"}
7. Under the [Notifications] tab, paste the Alert webhook URL you got from Binance. Click [Save].
8. Click [Run Webhook] to confirm.
9. You’ll see all alerts under the [Alerts] panel on the right of the TradingView interface. You can hover over an alert to view its details.
You may stop, edit, or remove alerts as needed.

1. What is TradingView?

TradingView is a comprehensive charting and analysis platform tailored for all traders and investors. It offers detailed, real-time data feeds from multiple global exchanges, covering a wide range of financial instruments. The platform's strength lies in its array of tools:
  • Extensive charting tools: Over 100 built-in technical indicators allow users to analyze market trends and patterns comprehensively.
  • Custom indicators: Beyond the built-in tools, there's an expansive library of custom indicators and scripts developed by an active community. These tools provide bespoke solutions and insights for traders with specific needs.
  • Broker integration: For those with compatible brokers, TradingView can serve as an all-in-one solution. Users can overlay their broker's real-time price feed directly onto TradingView's charts, allowing for seamless analysis and trading.

2. What trade types are supported as part of the webhook integration?

Currently, the integration supports limit and market orders with a GTC (Good 'Til Canceled) duration. However, you can set TP (Take Profit) and SL (Stop Loss) manually on your positions.

3. Are there any usage limits?

Each user can have a maximum of 100 active signals (including both paused and running). While each signal can trigger an unlimited number of trades, signals will auto-terminate after 20 failed attempts.

4. What are some common errors?

You might encounter errors like:
  • Insufficient margin;
  • Mismatch in position mode;
  • Invalid price/quantity.
You may also see "Symbol does not match". This means there is a discrepancy between the symbols used on TradingView and Binance.

5. How to access my trade history and order status?

You can view your trade history, order status, PNL, and more under the [Webhook Signal Trading] tab on Binance. For a detailed breakdown, click on a signal.

6. What should I do if my trades are not executed?

If your trades aren't being executed:
  • Confirm the signal is active on Binance. If it's not, activate it by clicking [Run Webhook].
  • Ensure that the trade details sent from TradingView match the symbols on Binance.

7. Who can I contact for support?

If you need any assistance, you can contact Binance’s customer support. Please provide your UID and relevant signal details.