Binance logoBinance + TradingView

How to Connect TradingView to Binance

Turn TradingView alerts into automated Binance orders with a webhook — no coding, no bots to babysit. Spot, USDⓈ-M and COIN-M Futures, and Margin all supported.

No coding requiredFree tier availableSetup in ~10 minutes

If you build strategies in TradingView but still place every Binance order by hand, you are leaving the hardest part of trading — consistent execution — up to whoever happens to be at the keyboard. Connecting TradingView to Binance closes that gap: when your Pine Script strategy or indicator fires an alert, the trade lands on Binance automatically, in the same second.

OmniTrade24 is the bridge in the middle. You give each strategy a unique webhook URL, paste it into a TradingView alert, and we translate the alert into a real order on your Binance account using API keys you control. This guide walks through the whole path — creating a trade-only Binance API key, connecting it, and wiring up your first automated alert.

Skip the manual setup — automate this in minutes.

Free tier: 100 executions/month, no card required.

What you can automate on Binance

Binance Spot
USDⓈ-M Futures (perpetual & quarterly)
COIN-M Futures
Cross & Isolated Margin
Leverage up to 125x
One-way & Hedge mode

How to connect TradingView to Binance

Four steps take you from a chart alert to a live Binance order — no code involved.

1

Create your Binance API key

  1. 1.Open API Management. In Binance, go to Account → API Management and click Create API. Complete 2FA and give the key a name like "OmniTrade24".
  2. 2.Enable trading permissions. Turn on Enable Spot & Margin Trading and Enable Futures. Leave Enable Withdrawals off — OmniTrade24 never needs it.
  3. 3.Whitelist our IP. Set the API restriction to trusted IPs and add 64.227.147.170. This means the key only works from our execution server, even if it leaks.
  4. 4.Copy your keys. Copy the API Key and Secret Key. The secret is shown once, so store it safely — you will paste both into OmniTrade24 in the next step.
2

Connect Binance to OmniTrade24

Sign in to OmniTrade24, open Settings → API credentials, and paste your Binance API key and secret key. Run the built-in connection test to confirm the credentials work. Everything is encrypted with AES-256 before it is stored — your secret is never kept in plain text.

3

Create a strategy and copy your webhook URL

In the dashboard, create a strategy, pick your Binance market and default order settings, and save it. OmniTrade24 generates a unique webhook URL just for that strategy:

https://omnitrade24.com/webhook/your-strategy-token
4

Paste the webhook into a TradingView alert

Open your strategy or indicator in TradingView, click Alerts → Create Alert, and paste the webhook URL into the Webhook URL field (under Notifications). Set the alert message to JSON that tells OmniTrade24 what to trade:

// Buy spot
{"action":"BUY","symbol":"BTCUSDT","quantity":0.001}
// Sell spot
{"action":"SELL","symbol":"BTCUSDT","quantity":0.001}
// Open long (futures)
{"action":"LONG","symbol":"BTCUSDT","quantity":0.01}
// Open short (futures)
{"action":"SHORT","symbol":"BTCUSDT","quantity":0.01}
// Close long
{"action":"CLOSE_LONG","symbol":"BTCUSDT","quantity":0.01}
// Close short
{"action":"CLOSE_SHORT","symbol":"BTCUSDT","quantity":0.01}

Save the alert. From now on, every time your strategy fires, the alert hits your webhook and OmniTrade24 places the matching order on Binance automatically — typically within 100–500ms depending on your plan.

Supported alert actions

Each TradingView alert message is a small JSON payload with an action, a symbol, and a quantity. Use dynamic TradingView placeholders (like {{ticker}}) to pass the traded symbol automatically.

Buy spot
{"action":"BUY","symbol":"BTCUSDT","quantity":0.001}
Sell spot
{"action":"SELL","symbol":"BTCUSDT","quantity":0.001}
Open long (futures)
{"action":"LONG","symbol":"BTCUSDT","quantity":0.01}
Open short (futures)
{"action":"SHORT","symbol":"BTCUSDT","quantity":0.01}
Close long
{"action":"CLOSE_LONG","symbol":"BTCUSDT","quantity":0.01}
Close short
{"action":"CLOSE_SHORT","symbol":"BTCUSDT","quantity":0.01}

Is automated Binance trading safe?

Automation is only as safe as the way it is set up. OmniTrade24 is built so that a leaked or misused key still cannot cost you your funds:

Never enable withdrawal permission on the API key — trade-only keys cannot move funds off Binance.
Whitelist our server IP (64.227.147.170) so the key is useless from anywhere else.
Your API secret is encrypted with AES-256 before it is stored and is never shown in plain text again.
Alerts only execute when Binance and TradingView are both up, so you always keep manual control from the Binance app.

Best strategies to automate on Binance

Scalping and swing strategies on Binance Futures, spot DCA and rebalancing, and running separate Spot and Futures strategies side by side.

Skip the manual setup — automate this in minutes.

Free tier: 100 executions/month, no card required.

Ready to connect TradingView to Binance?

Create a free account, connect Binance, and turn your next TradingView alert into a live trade.

No credit card required • 100 free executions/month

Connect TradingView to Binance — FAQ

Common questions about automating Binance trades with TradingView and OmniTrade24