App · TradingView · Binance

Binance TradingView Webhook Bot for Traders in the UAE and Saudi Arabia

This **Binance TradingView webhook bot** is a Windows app that turns your TradingView alerts into orders on your own Binance account. TradingView sends each alert to the app's private web address. The app reads the coin, side, amount, stop and target, then places the order with your API key. It works with Binance spot and futures, margin and options, and the key never leaves your machine.

  • Ready Windows app
  • Setup help
  • Test small first
  • Software only
Binance TradingView webhook bot: a TradingView alert sent by webhook is checked, sized and placed as a Binance order on spot, futures, margin or options

How it works

Choose → Set up → Test → Go live

  1. STEP 01

    Choose

    Pick the app and tell us your signal source and your trading account.

  2. STEP 02

    Set up

    We help you install it on your Windows PC or VPS and enter your rules.

  3. STEP 03

    Test

    You run it on a demo, paper or small account first.

  4. STEP 04

    Go live

    You switch to your live account when the test matches your rules.

On this page
Binance TradingView webhook bot workflow: a TradingView alert reaches the app’s webhook address, passes the key check and your account rules, and becomes a Binance order
The app and your keys run on your own PC or VPS. Only the finished order goes to Binance.

Who this app is for

You built a strategy or an indicator on TradingView, and its alerts fire at all hours. Placing each one by hand on Binance is slow, and a late entry or a missing stop costs money. Traders in the UAE and Saudi Arabia who ask us about this app usually fit one of these cases:

  • their Pine Script strategy already sends buy and sell alerts,
  • signals fire overnight or during office hours,
  • two or more Binance accounts need their own size and market,
  • the stop and target have to go in together with the entry.

The app follows only the alerts you write. We do not sell strategies or signals, and what trades stays your call.

Futures, margin and options are high risk products. Check that Binance and the product you use are allowed where you live.

What you need before you start

TradingView sends webhooks on paid plans only. Its help page also says webhook alerts need two-factor authentication on your TradingView account. Turn that on first.

The app itself needs Windows 10 or 11, 64-bit, and a public IPv4 address. TradingView does not send webhooks over IPv6. It only accepts ports 80 and 443, and the app listens on port 80. You open that port in Windows Firewall, and in your VPS provider’s firewall or home router as well.

Our TradingView to MT5 webhook guide explains how alerts travel from TradingView to your machine in more depth.

How alerts reach the app

The app gives you a webhook address in this form:

http://YOUR-PUBLIC-IP/tv/YOUR-SECRET-TOKEN

In practice, the long random token works like a password. A Copy button puts the full address on your clipboard, and you paste it into the Webhook URL box in TradingView’s alert settings.

Three checks protect that address.

Three webhook checks: TradingView sender IP, secret token and alert key, before your account rules apply

Posts must come from TradingView’s own sender IP addresses, which TradingView lists on its webhook help page. The token in the address must match. And the message must carry your alert key. A post that fails any of them never trades.

TradingView cancels a webhook request when the server takes more than three seconds to handle it. The app therefore has to be running and reachable at the moment the alert fires.

The alert message the Binance TradingView webhook bot reads

The app uses no AI to guess what you meant. It reads each field exactly as written, and a wrong field means nothing trades. You pick your options in the app, and it builds the JSON message for you to paste into TradingView.

For example, a strategy alert could read:

{"key": "your-alert-key", "symbol": "{{ticker}}", "action": "{{strategy.order.action}}", "market": "usdm", "usdt": 50, "sl_pct": 2, "tp_pct": 4}
Binance TradingView webhook bot alert fields: symbol, action, market, USDT amount, stop and target percent from one strategy alert
Example values from the sample alert above, not a live trade.

Here is what each field does:

Field What it holds
key Your alert key, required on every alert
symbol Usually {{ticker}}, such as BTCUSDT.P or BTCUSD.P
action buy or long, sell or short, close, or closelong and closeshort
market usdm, coinm, spot, margin, isolated or options
usdt or qty A USDT amount, or a coin or contract quantity
sl and tp Stop and target as prices
sl_pct and tp_pct Stop and target as a percent from the entry price
account One named account, or all of them

If an alert leaves out the market or the amount, each account uses its own setting. The app also reads quarterly futures codes such as BTCUSDT25Z2026.

A strategy alert built on {{strategy.order.action}} sends buy or sell each time the strategy places an order. One alert therefore covers both directions. Our Pine Script developer page covers custom strategies if yours still needs alert code.

Binance markets the webhook bot trades

Each linked account trades one market, which you choose when you add it. An alert can still name another market for that one trade.

USD-M futures use market orders sized in USDT, on perpetual or quarterly contracts, in one-way or hedge mode. COIN-M futures trade whole contracts: 100 USD per contract for BTC, 10 USD for other coins.

On spot, a buy spends your USDT amount. A sell or close only sells coins the app itself bought, so your own holdings stay put.

Cross and isolated margin borrow what a buy needs. A margin sell first closes a long the app opened, and with none open it borrows and sells short. Closing repays the loan with interest.

Options work differently. A buy alert buys a call and a sell alert buys a put, unless the alert names the option type. By default the app picks the at the money strike and the nearest expiry at least 12 hours away.

Stops, targets and closing a position

On futures, the stop and target go in as conditional orders that close the whole position at the mark price. Spot and margin get one OCO order holding both. Binance’s spot API docs describe OCO as a pair of orders where one fill cancels the other.

When Binance refuses a stop on a futures or margin trade, the app closes that trade at once and the journal says why. If a new alert on the same symbol brings a stop or target, the old ones are cancelled first.

Spot and margin orders use one OCO for stop and target, while futures use conditional orders at mark price

A close alert shuts the whole position on that symbol at market and then cancels its stop and target.

API keys and several Binance accounts

You make the API key on Binance yourself. Tick only the permission the market needs, then restrict the key to the public IP the app shows. The key and secret stay on your PC and go only to Binance, and the app shows just their last four characters.

Each account has its own key, market, amount per trade, leverage and on and off switch. A leverage of 0 keeps Binance’s own setting. Every alert goes to all accounts that are switched on at the same moment, unless it names one account.

Testing on a Binance demo account

Demo keys come from demo.binance.com and cover spot and futures. Margin and options have no Binance demo, so they run in Real mode only.

The Check button reads the account balance to prove the key works. Test order, on demo only, places the smallest order the market allows and closes it again. We suggest you fire a few alerts on demo and read the journal before you add a Real account.

The journal, repeat orders and Pause

After each alert, a line shows up in the journal per account, with side, size, symbol and price. Each line also says Placed or Not placed, with the reason. It also logs the milliseconds from alert to Binance’s reply.

If Binance does not answer in time, the app looks up the order by its own ID before trying again. That check stops the same order from going in twice.

A Pause button at the top of the dashboard stops all new orders until you resume.

Running on UAE and Saudi time

Binance does not close for weekends, and many strategies fire at night. An alert at 02:00 UAE time (UTC+4) is 01:00 in Saudi Arabia (UTC+3), when most home PCs sleep. The app only takes alerts while its window is open, and closing the window stops it.

For that reason, a small Windows VPS suits the Binance TradingView webhook bot. It keeps running while your own computer is off, and it usually has the public IP the webhook needs.

How to get the app

To get started, send us your Binance markets, the number of accounts and how your alerts are set up on WhatsApp. We reply with a quote and help with the port, the key and the first demo alert. Our team works remotely from India.

The Tools page lists our other ready apps. If your signals come from Telegram channels instead, see the Binance Telegram trading bot.

Sources

Frequently asked questions

Can I run the Binance TradingView webhook bot on my home PC?

A home PC works only with a public IPv4 address and port 80 open on the router. Many home and mobile lines sit behind carrier-grade NAT, which shares one public address between many users. Webhooks usually cannot reach a PC on such a line, so a small Windows VPS is the safer choice.

Is it safe to open port 80?

Only the alert address answers on that port, and only to TradingView's servers. The dashboard where you manage accounts stays local and is not reachable from the internet. Treat the full alert address as a secret all the same, like a password.

Does it work with indicator alerts as well as strategies?

Indicator alerts work too. An indicator alert carries one fixed action, so you make one alert for buy, one for sell and one for close. A strategy alert with the order action placeholder covers both sides in a single alert.

Can an alert set the leverage?

It cannot, whatever the message says. The value on the linked account always wins. Keep in mind that a fast market can liquidate a futures position before its stop fills, so start with small amounts on demo.

What happens to options trades and stops?

Options trades get no stop loss or target from the app. Binance options take limit orders only, so the app buys the call or put with a limit just above the best ask. You manage the exit yourself on Binance.

Is the price listed anywhere?

The price is on enquiry. It depends on how many Binance accounts you link, which markets you trade and how much setup help you need. Send those details on WhatsApp and we reply with a quote.

WhatsApp · Email · Telegram

Ask about this app

Send your signal source and your account type on WhatsApp. We tell you how the app fits, what it costs and how to set it up.