Skip to content
Pine Script · TradingView to Hyperliquid

Run your TradingView
Pine Script strategy

on Hyperliquid.

Antei runs TradingView Pine Script strategies on Hyperliquid without rewriting them. Paste or upload a Pine Script v3 to v6 strategy, let Fix It repair what will not compile, and backtest it on Hyperliquid market data with TradingView's own strategy statistics. Then start it in paper trading and deploy it live when you are ready. Your funds stay in your own Hyperliquid account.

01 · How it works

How Pine Script works on Antei

  1. Create your account

    Sign up at antei.ai and open Pine Script under Build in your dashboard.

  2. Import your script

    Paste the Pine code or upload a .pine file of up to 200 KB. Antei detects the market and chart timeframe, or you set them yourself, and libraries the script imports can be pasted alongside it.

  3. Fix what will not compile

    Fix It repairs common errors in stages and checks every change with a compile, a verification and a dry run. Anything that could change your trading logic comes back as a proposal you review.

  4. Backtest on Hyperliquid data

    Run a 7 day, 30 day, 90 day or one year backtest. The report shows TradingView's strategy statistics next to what the same trades would have cost on Hyperliquid.

  5. Paper trade, then go live

    Start in paper trading with simulated fills against live Hyperliquid prices. When the results look right, deploy it live with your capital, leverage and drawdown limits.

02 · Capabilities

What you can do with Pine Script

A native Pine runtime

Scripts run on Antei's own Pine Script runtime instead of being translated into another language, with a TradingView parity mode for backtests.

Indicator to strategy

Turn an indicator into a strategy by mapping its alertcondition(), plotshape() or alert() signals to entries and exits.

Fix It repairs

Rule based repairs for errors that stop a script compiling, each one checked before you see it, plus an optional AI fix you review.

TradingView statistics

Backtest reports include the strategy.* statistics you know from TradingView, plus fees and fills as they would be on Hyperliquid.

Versioned settings

Change inputs, market or timeframe and Antei saves a new version, so every deployment knows exactly which settings it runs.

Honest market data

Backtests use Hyperliquid market data. If another source fills a gap the report says so, and a run with missing data stops instead of guessing.

03 · Safety

Your strategy runs. Your funds stay put.

  • Paper trading never places a real order. Only a live deployment does, within the limits you confirm.
  • Antei trades through a Hyperliquid API wallet that can place orders but can never withdraw your funds.
  • Every Pine job runs in a fresh sandboxed process with strict resource limits.
  • Kill a live deployment at any time: Antei cancels its orders and closes its positions.
Sign up and import your Pine Script →

04 · FAQ

Pine Script questions, answered

Can I run my TradingView strategy on Hyperliquid?

Yes. Import the Pine Script strategy into Antei, backtest it on Hyperliquid market data, then run it in paper trading or live. Antei runs the script on its own Pine runtime and places orders on Hyperliquid through an API wallet you approve.

Which Pine Script versions does Antei support?

Pine Script versions 3 to 6. The script needs a strategy() declaration; an indicator can be turned into a strategy by mapping its alertcondition(), plotshape() or alert() signals to entries and exits.

What happens if my Pine Script has errors?

Fix It repairs common problems automatically and checks every change with a compile, a verification and a dry run. Changes that could alter your trading logic are shown as proposals for you to accept or reject.

Do I need TradingView alerts or webhooks?

No. Antei runs the strategy itself on Hyperliquid market data, evaluating it at each bar close, so there are no alerts or webhooks to keep alive and nothing has to stay open on your computer.

Which markets can a Pine Script strategy trade?

Hyperliquid perpetual futures, on chart timeframes from one minute to one week. Spot pairs are not supported for Pine Script strategies.

Start with Pine Script

Create your Antei account.
Paper trade first, go live when ready.