Skip to content

Trading10 min read

How to connect TradingView to Hyperliquid, and what alerts can do

What TradingView alerts can and cannot do with Hyperliquid today, the common webhook setups and their risks, and how to run the same rule in Strategy Studio.

, Founder of Hypr Markets

Published · Updated

On this page

If you want to know how to connect TradingView to Hyperliquid, the short answer is this. TradingView can show Hyperliquid prices on its charts and fire alerts when your conditions are met. It does not, on its own, place orders on Hyperliquid. To turn an alert into a trade you need a second piece of software in the middle that receives the alert and signs an order, or you rebuild the rule in a tool that trades on Hyperliquid directly.

This post is for traders who chart on TradingView and want those signals to trade on Hyperliquid. It covers what TradingView does and does not support, the three common setups and what each puts at risk, the webhook bridge built into Hypr Markets terminals, a worked example rule, and how the same rule runs in Strategy Studio. Nothing here is financial advice, and an automated rule can lose money as fast as it can make it.

What TradingView can do with Hyperliquid today

In early July 2026, TradingView added Hyperliquid market data. Perpetuals and spot markets from Hyperliquid appear in Supercharts under the HYPERLIQUID prefix in symbol search. That means you can chart, draw and set alerts on Hyperliquid markets with the tools you already know. The coverage we read describes live pricing for charting. It does not describe order routing.

TradingView's Trade button connects a chart to a list of supported trading providers. We did not find Hyperliquid on that list at the time of writing, and the launch coverage describes data, not execution. TradingView changes its integrations often, so open the Trade button on a Hyperliquid chart and look for yourself. If Hyperliquid has since been added as a trading connection, that is the simplest route and you can skip the relay setups below.

So today the realistic split is: TradingView watches the market and decides when a rule has fired, and something else sends the order. The "something else" is the part that needs care.

How a TradingView alert becomes a Hyperliquid order

TradingView's own webhook documentation explains the mechanism. When an alert triggers, TradingView sends an HTTP POST request to a URL you provide, with your alert message in the body. If the message is valid JSON, the request is sent as JSON. Otherwise it goes as plain text.

Some limits shape every setup:

  • Webhook alerts are only allowed when two-factor authentication is enabled on your TradingView account.
  • Only ports 80 and 443 are accepted. Requests to other ports are rejected.
  • If your server takes longer than three seconds to respond, the request is cancelled.
  • IPv6 is not supported, and delivery can occasionally fail. The alert log has a webhook status column to check.
  • TradingView publishes the IP addresses it sends from, so a relay can allow only those.
  • Do not put passwords or credentials in the message body.

Hyperliquid has no inbox for webhooks. It accepts signed orders. So the relay's job is to read the alert (for example {"action":"buy","market":"ETH","size":0.1}), build an order for Hyperliquid and sign it with a key. Hyperliquid's signing documentation recommends using an SDK rather than hand-built signatures.

The common setups and their risks

Your own relay script

You write a small web service, often with the official Python SDK, host it on a server with a public HTTPS address and give its URL to TradingView. You control the code and nothing else holds your key. You also own every failure: the server going down, a duplicate alert placing two orders, a malformed message sizing a trade wrongly, or a bug that leaves a position without a stop.

An open-source relay or bot

Open-source and self-hosted projects receive TradingView alerts and trade on Hyperliquid, such as HyperTrade and TV-Connector. You deploy them on your own server and set them up with a key, usually in an environment file. This saves writing the plumbing. Read the code or at least its issues first, because it holds a signing key, and keep the server patched and the endpoint protected with a secret.

A hosted relay service

Hosted services give you a webhook URL and ask you to connect the account through their app. This is the least work and the most trust: you hand a third party a key that can trade your account. If the service is hacked, shut down or careless, the key is exposed. Check who runs it, what the key can do and how to revoke it before connecting.

What all three share

RiskWhat it looks like
Key exposureThe relay holds a key that signs orders
Duplicate or missed alertsTradingView says delivery can occasionally fail, and a retry on your side can double an order
Slow responsesA reply later than three seconds cancels the request
No guard railsA relay sends whatever the alert says, including a wrongly sized order

Use an API wallet, not your main key

Whatever relay you pick, give it an API wallet (also called an agent wallet), not your main wallet's key. Hyperliquid's page on nonces and API wallets describes the setup: your main wallet approves the API wallet to trade on its behalf. Use one API wallet per trading process, because nonces are tracked per signer. Node provider Chainstack's API reference states that agents "can place and cancel orders but cannot withdraw funds", so a leaked API wallet key cannot drain the account to another address, but it can still trade your account into losses. The Hyperliquid trading bot guide goes through API wallets in more detail.

Can a Hypr Markets terminal take TradingView webhooks?

Webhooks for TradingView is a webhook relay built into Hypr Markets terminals, new in November 2026 and on every plan once the operator switches it on. It removes the parts of the setups above that carry the most risk. There is no server to host and no key to copy into a file: the client approves a separate trade-only key named hypr-tv with their wallet on the terminal, creates a webhook there, and pastes its URL and a generated message into a TradingView alert.

Each webhook has its own limits (largest order, daily total, orders per minute, markets, slippage), an optional passphrase, and a switch that accepts alerts only from TradingView's published addresses. A repeated alert id is ignored, alerts older than the webhook's maximum age are refused, and the terminal answers TradingView before placing the order, so the order does not have to fit inside TradingView's three-second limit. The stop and target travel in the message and are placed as reduce-only triggers right after the entry. A Test button runs a dry run that signs nothing, and an alert log shows every step.

The step-by-step guide covers the setup, the alert message reference lists every field, and operators can read about the console side on the Webhooks for TradingView page.

A worked example: one rule, two places

Take a plain mean-reversion rule on ETH with 1-hour candles. This is an example for explaining the setup, not a recommendation.

  • Enter long when the 14-candle RSI crosses below 30.
  • Place a 1.5% stop loss and a 3% take profit.
  • Risk 0.5% of the account on each trade.

In TradingView you write this as a Pine Script strategy or a plain indicator alert, then set the alert's message and webhook URL. A relay turns each alert into one order. The stop and the target either travel in the message or have to be placed by the relay as separate orders, and that is where many homemade setups quietly fail: the entry fills but the exit is never sent.

Before relying on it, check the numbers on Hyperliquid's own data. A TradingView backtest does not include the exchange's fees, the builder fee some front ends add, funding on perpetuals or slippage unless you put them in. A rule that earns 0.30% gross per round trip can be close to flat once the exchange fee, a builder fee of up to 0.10% and slippage are taken off. The fees guide shows where each cost comes from.

Running the same rule in Strategy Studio

If you would rather not host a relay, Strategy Studio runs rules on Hyperliquid directly. It is part of the Hypr Markets terminal suite and is on Scale, the "Contact us" tier on the pricing page. An operator switches it on, and their clients build bots in their branded terminal with their own wallets. Hyperliquid matches and settles every trade.

Strategy Studio does not take TradingView alerts as input. You rebuild the rule from blocks, which is usually quick for rules made of common indicators. Clients drag blocks into five lanes: Enter, Exit, Protect, Size and Limits. The worked example becomes:

  1. Enter: an RSI block, "RSI of 14 candles crosses below 30", followed by an Open long block.
  2. Protect: a stop loss of 1.5% and a take profit of 3%.
  3. Size: a risk-based size of 0.5%.
  4. Limits: caps such as a daily loss pause, a drawdown stop and a maximum number of orders an hour.

The board offers 66 blocks and 14 starter templates, including an RSI dip buyer and an EMA trend follower. Each template says plainly when it works and when it struggles. Pine Script does not import. If your TradingView rule uses a custom indicator with no matching block, it cannot be rebuilt as is, and a relay is the better fit.

What you get that a plain relay lacks:

  • A backtest with costs. Results show Sharpe, drawdown, fees and funding, with a parameter sweep and a walk-forward check for overfitting.
  • Paper first. A strategy runs on paper before it goes live. The operator sets the minimum paper days and decides whether live trading is allowed.
  • Guard rails. Deploy checks stop a strategy that has no way out of a trade, operators cap strategies, allocation, leverage and slippage per trader, and one emergency stop covers every strategy on the terminal.
  • A key that cannot withdraw. Strategies trade through a key with no withdrawal rights.
  • A monitor that answers "why did it trade?" for every decision.

The trade-off is plain. A relay can act on anything TradingView can alert on, including Pine Script logic. Strategy Studio only runs rules the blocks can express, and the candles it reads come from Hyperliquid, so signals can differ slightly from your TradingView chart. For rules made of common indicators, funding, open interest and distance to liquidation, the block route removes the server, the webhook and the key hand-off. See the Strategy Studio page for the full list, and how to start a trading terminal on Hyperliquid if you want to run one for your own clients.

A safe order for getting started

  1. Write the rule down in plain words before touching a chart.
  2. Test it on Hyperliquid data with fees, funding and slippage included.
  3. Paper trade it for at least a few weeks.
  4. Go live with a small allocation and a loss limit you set in advance.
  5. Compare live fills with the paper results, and only then add size.

This works the same whether the rule runs through a relay or on the board.

Frequently asked questions

Can TradingView trade on Hyperliquid directly?

Not as far as we could find. TradingView added Hyperliquid as a market data source in July 2026, and the coverage describes charting, not order routing. Open the Trade button on a Hyperliquid chart to see whether that has changed. Until it does, trades need a relay that receives TradingView webhook alerts and signs orders for Hyperliquid, such as Webhooks for TradingView on a Hypr Markets terminal.

Do I need a paid TradingView plan for webhooks?

TradingView's webhook page names no plan. It says webhook alerts are only allowed when two-factor authentication is enabled on your account. Plan rules and alert limits can change, so check the pricing and alert limits on TradingView before building around them.

Is it safe to give a relay my Hyperliquid key?

Only an API wallet, never your main wallet key. An API wallet can place and cancel orders but cannot withdraw funds, so a leak limits the damage to trading losses. Still, give each relay its own API wallet, set a loss limit and revoke the wallet if you stop using the service.

Why did my TradingView alert not place an order?

The usual causes are a webhook that was not enabled on the alert, a message that is not valid for the relay, a server that took longer than three seconds to answer, a port other than 80 or 443, or two-factor sign-in being off. Check the webhook status column in TradingView's alert log first, then the relay's own log.

Can Strategy Studio read my TradingView alerts?

No. Strategy Studio does not take TradingView alerts as input. You rebuild the rule from its blocks, then backtest and paper trade it. It is on the Scale plan, and the operator of the terminal decides whether live trading is allowed.

All articles