Bybit logoBybit + TradingView

How to Connect Bybit to TradingView

Send TradingView alerts straight to Bybit as automated orders. Works with Spot, USDT Perpetual, and Inverse Perpetual on the Unified Trading Account — no code required.

No coding requiredFree tier availableSetup in ~10 minutes

Bybit is built for derivatives traders, and derivatives are exactly where slow, manual execution hurts most. A perpetual entry that fires while you are away from the screen is a missed trade. Connecting Bybit to TradingView removes that risk: every alert your strategy generates is executed on Bybit automatically, day or night.

OmniTrade24 sits between TradingView and Bybit. Each strategy you create gets its own webhook URL; you drop that URL into a TradingView alert, and we place the matching order on your Bybit account through an API key you own and control. Below is the full setup — from creating a trade-only Bybit key to firing your first automated perpetual order.

Skip the manual setup — automate this in minutes.

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

What you can automate on Bybit

Bybit Spot
USDT Perpetual (linear)
Inverse Perpetual (coin-margined)
Unified Trading Account (UTA)
Leverage up to 100x
Long & short automation

How to connect TradingView to Bybit

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

1

Create your Bybit API key

  1. 1.Create a new API key. In Bybit, open Account & Security → API and click Create New Key. Choose System-generated API keys.
  2. 2.Set trading permissions. Enable Contract Trade and Spot Trade (Unified Trading). Do not enable Withdraw — OmniTrade24 only ever places and closes trades.
  3. 3.Restrict to our IP. Bind the key to trusted IPs and add 64.227.147.170, then confirm with 2FA. Bybit requires an IP binding for trade-enabled keys.
  4. 4.Copy your keys. Copy the API Key and Secret. The secret is only displayed once, so save it before closing the dialog — you will paste both into OmniTrade24 next.
2

Connect Bybit to OmniTrade24

Sign in to OmniTrade24, open Settings → API credentials, and paste your Bybit 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 Bybit 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 Bybit 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 Bybit 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:

Use a trade-only key — never enable Withdraw. Your funds stay inside Bybit at all times.
Bind the key to our server IP (64.227.147.170) so it cannot be used from any other machine.
Your secret is AES-256 encrypted at rest and never returned in plain text.
No alert, no trade: execution only happens when a valid TradingView webhook arrives.

Best strategies to automate on Bybit

High-leverage perpetual scalping, automated long/short flips, and running Spot and Perpetual strategies together on one Unified Trading Account.

Skip the manual setup — automate this in minutes.

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

Ready to connect TradingView to Bybit?

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

No credit card required • 100 free executions/month

Connect TradingView to Bybit — FAQ

Common questions about automating Bybit trades with TradingView and OmniTrade24