Skip to content

Trading7 min read

Non-custodial MT5: how the HYPR Bridge EA keeps funds in your account

How the HYPR Bridge EA trades your Hyperliquid account from MT5 without holding your funds, what each key can and cannot do, and how to switch access off.

, Founder of Hypr Markets

Published

On this page

A non-custodial MT5 setup means that MetaTrader 5 places trades on an account that you alone control, and that nobody between you and the exchange can take your money. With a typical MT5 account you send your deposit to the company that runs the server, and the balance you see is a claim on that company. The HYPR Bridge EA works the other way round: your USDC stays in your own Hyperliquid account, and MT5 is a screen and a set of buttons for it.

"Non-custodial" is easy to write on a landing page and harder to check. This post shows the moving parts behind the HYPR Bridge EA: the three credentials involved, what each one can and cannot do, the limits around every order, what happens when something breaks, and how to switch everything off. It also says plainly what non-custodial does not protect you from. Nothing here is financial advice.

What non-custodial MT5 means here

Three facts make the setup non-custodial, and each can be checked:

  1. The money never moves. You deposit USDC into your own Hyperliquid account, from your own wallet, as described in how to deposit on Hyperliquid. Nothing is sent to Hypr Markets or to the operator of the terminal.
  2. Hyperliquid matches and settles. Orders go to Hyperliquid's order book. Positions and balances live there, and you can see them in the Hyperliquid app at any time.
  3. No key that can withdraw is ever held. For MetaTrader 5, Hypr Markets holds one key for your account, a trading key, and that kind of key cannot withdraw. Your wallet's private key never leaves your wallet.

Three credentials, three different powers

The HYPR Bridge EA involves three credentials. Knowing which one does what is most of the security model.

CredentialWho holds itCan tradeCan withdraw or transferHow to stop it
Your walletYouYesYesIt is yours: keep the seed phrase offline
Trading key (hypr-mt5 API wallet)Hypr Markets, encrypted at restYes, within the operator's limitsNoRevoke on the MetaTrader 5 page, or remove the API wallet in the Hyperliquid app
EA tokenYou, pasted into the EAYes, through the bridge and its limitsNoReplace token or Revoke token on the MetaTrader 5 page

What the trading key can and cannot do

During setup your wallet asks you to sign approveAgent for an address named hypr-mt5. Hyperliquid calls this an API wallet or agent wallet: a key that your account approves to sign on its behalf. Node provider Chainstack's API reference states that agents can place and cancel orders but cannot withdraw funds.

On top of what Hyperliquid allows, the bridge's code has no path that signs a withdrawal, a transfer to another address or a builder fee approval. The builder fee approval is the second signature in setup, and you sign it yourself with your wallet.

The key has an expiry you choose: 30, 90 or 180 days. Hypr Markets checks on Hyperliquid that the key was approved with exactly that expiry before the account goes live. When it expires, trading through it stops, and you approve a new key to carry on. Approving costs no gas and moves no funds.

What the EA token can do

The EA token is how the HyprBridge EA proves which account it trades. You see it once, after activation, next to your MT5 login and the bridge URL. The page masks it when you click I saved it, and it is not stored in your browser. Hypr Markets keeps only a hash of it.

The token lets the EA read your account (balance, positions, fills) and send orders to the bridge. The bridge then applies every limit described below and signs with the trading key. The token cannot withdraw, and it cannot change the operator's limits.

Treat it like a password anyway. Someone with your token and the bridge URL could trade your account within the operator's limits. If you think it leaked, press Replace token: a new one is created, and the old one stops working within about five seconds.

The EA itself can be checked too. The download page offers HyprBridge.ex5 and a zip of its sources, so you can read the code, compile it in MetaEditor and compare.

The limits around every order

The bridge never sends an order straight from MT5 to Hyperliquid. Each one passes a policy engine first, and the engine writes a signed receipt for every decision, allowed or refused. You can review the receipts in the account panel.

The checks, set by the operator in its console and enforced on every order:

  • Largest order in US dollars, and a daily budget (UTC days).
  • Allowed markets. A market the operator did not list is refused.
  • Price band. A market order whose price is too far from the mark is refused.
  • Maximum leverage per market, and maximum slippage for market orders.
  • A platform cap on order size, set by Hypr Markets, on top of the operator's.

A refusal comes back to the EA panel with the reason, such as LIMIT_VOLUME for an order above the limit. A closing order is not held to the per-order limits, so a large position can be closed in one order. The daily budget does count closes, so a trader who has used it up waits for the next UTC day or closes in the web terminal.

When something goes wrong

The account pauses itself in a few situations, and each pause blocks new risk while leaving the exit open:

  • Drift. If the bridge's view of your account and Hyperliquid's disagree, new orders wait while the bridge corrects its side to match Hyperliquid.
  • Hyperliquid outage. If the exchange cannot be reached, new orders are refused.
  • Operator pause. The operator can pause MetaTrader 5 trading on its terminal.
  • Panic halt. You can halt all automated and MT5 trading from the terminal at once.
  • Key expired or revoked. Nothing can be signed until you approve a new key.

In every one of these cases, closes still pass. And because your funds and positions never left Hyperliquid, you can always manage them in the web terminal or the Hyperliquid app, even if MT5, the EA or the bridge stops working.

How to switch it all off

From the most specific to the most complete:

  1. Revoke token ends EA access. The account and its trading key stay, and you can make a new token later.
  2. Switch off MetaTrader 5 in the account panel deletes the Hypr Markets copy of the trading key and ends the MT5 account.
  3. Also remove the key in my wallet, in the same panel right after switching off, takes the key off your Hyperliquid account too. It is one wallet signature, and you never leave the terminal.

Open positions stay open on Hyperliquid after each step. Close them first if you want to be flat.

What non-custodial does not protect you from

Being non-custodial limits theft of your deposit. It does nothing about losses from trading:

  • A trading key can open a large leveraged position that is liquidated. Hyperliquid's liquidation rules apply, and isolated or cross margin changes how far a loss can reach.
  • A leaked EA token lets someone trade your account within the operator's limits until you replace it.
  • Your wallet's seed phrase remains the key to everything. Phishing for it is a common way to lose funds.
  • The software can have bugs. The receipts, the reconciliation with Hyperliquid and the pauses are there to catch problems, not to promise there are none.

For operators, the same model applies to every client: neither the operator nor the platform can move client funds. The trust page and agent wallets describe the wider security model, and MetaTrader 5 on Hypr Markets covers how to offer the EA on a terminal.

Frequently asked questions

Is the HYPR Bridge EA custodial?

No. Your USDC stays in your own Hyperliquid account. The EA sends orders to a bridge that signs them with a trading key, and that key can trade but cannot withdraw or transfer funds. Withdrawals need your own wallet's signature.

What happens if Hypr Markets goes offline?

New orders from MT5 stop, because the bridge is down. Your funds and positions are on Hyperliquid, so you can still manage or close them in the Hyperliquid app or with any other front end that connects to your wallet.

Can the operator of the terminal see or move my money?

The operator sets the trading limits and earns its builder fee on your fills. It cannot withdraw or move your funds: it holds no key for your account, and the trading key cannot withdraw.

What should I do if my EA token leaks?

Open the MetaTrader 5 page on the terminal and press Replace token. The old token stops working within about five seconds, and any EA using it disconnects. Paste the new token into your own EA to reconnect.

Does non-custodial mean I cannot lose money?

No. It means nobody else can take your deposit. Trading leveraged perpetuals can still lose part or all of the account, including through liquidation.

All articles