Back

Automation via Webhooks

Three Ways To Automate On Hyperliquid

Alerts - draw a trendline, set a price level. When it triggers, the trade opens and the systematic trade engine manages the position automatically.

Indicators - an MA cross, a VWAP touch, an RSI signal. One alert, one snippet. Position auto-sized from your risk profile.

Strategies - every entry, exit, pyramid, and position flip executes on Hyperliquid the moment your PineScript strategy fires.

Your alerts and strategies execute. Your risk is managed. Go surf or sleep.

We use TradingView for this, but any system that sends webhooks with a JSON payload will work. Until now, alerts sent via webhook fire the entry but leave you to manage the position manually or set a second alert to close it.

Now you can just focus on the entry alert and the trade is automatically managed across the three phases with our systematic trade engine.

How It Works | TradingView Alerts Example

1. Copy your snippet - if you don't have an account, create one here to get your webhook URL and snippets. Open the Webhooks & Snippets page. Use the PERPS or SPOT tab and copy the snippet for the direction you want (Long, Short, or Close). For PineScript strategies, use the Strategy tab instead.

2. Create the alert - in TradingView, set your alert condition (trendline, indicator, strategy). Check Webhook URL and paste yours. Paste the snippet into the Message box.

3. Create and done - when the alert fires, the position opens auto-sized from your balance. The systematic trade engine arms automatically. Risk defined, breakeven managed, profits trailed. You don't touch the position.

The systematic trade engine is on by default and leverage is always set to 1x. If you prefer to manage trades yourself, save a profile with ACTIVATE OFF. This uses your configured size, SL%, TP%, and leverage without arming the trade engine.

XYZ assets (commodities, stocks): Webhook execution, quick-tap trading and hypr(rsk, be, atr) all work on XYZ. hypr(SL) is spot-only, so it does not apply to XYZ (which are perps).

Saved Settings

Settings control how every automated trade executes: position size, risk, stop placement, timeframe, exit method, and leverage. Create named settings in the PERPS dashboard panel under Settings. The Automated Trades tab configures risk profiles, timeframe, trail width, and trade management. The Alerts & Strategies tab selects which profile your webhooks use by default.

Two modes:

ACTIVATE ON - the systematic trade engine arms on every fill. Position is auto-sized from your balance and risk %. The three-phase exit engine manages the trade automatically.

Save Settings - Activated
Select Profile

ACTIVATE OFF - for strategies with their own exit logic. Uses your configured size, SL%, TP%, leverage, and execution method. No trail engine.

Save Settings - Custom

How settings are used:

- Default (Auto): every webhook trade uses Auto defaults (Prop 0.5%, 1D, Auto stop, 1x leverage) unless overridden

- App dropdown: select a saved setting in Alerts & Strategies tab; all webhooks without a profile in the payload use it

- Per-alert: add "profile":"Name" to the webhook snippet to use a specific setting. Run multiple strategies with different risk on different assets

TradingView Indicators

We have many free indicators on TradingView for volatility, momentum, volume, and trend analysis. Several include built-in alerts that can be wired for automated execution as explained above. These indicators are visualizations of many techniques and filters used in our proprietary automated strategies.

Example: The ROC Regime Filter indicator fires alerts on regime phase transitions and macro pivots. Set the alert, paste your webhook URL and snippet, and the position opens or closes automatically.

Any TradingView indicator with alert conditions can trigger webhooks. Use our indicators or your own.

TradingView Strategies

Our flagship strategy is free and open-source on TradingView. No subscription required to use or modify it.

Automate ST strategy on BTC

Automate on Hyperliquid - Strategy Webhook Template FREE

A production-grade trade system for automating strategies on Hyperliquid via webhooks. Five-level priority chain (entries, pyramids, trailing exits, smart stops, redundant stops), four ATR trailing architectures with volume-weighted volatility, entry quality filters (wick nullification, SFP detection, volume confirmation), and pyramid scaling. Three built-in signal systems (EMA crossover, Turtle breakout, Swing Failure Pattern) that you can toggle independently or replace with your own logic.

Helpful hint: when developing your own strategies or system, the compounding effect is so powerful that it blows out any edge you may have created. In order to develop your edge and strategy, do not compound your returns when backtesting.

View on TradingView →

Use the built-in signals as-is, customize the entry logic to your own edge, or use the trade engine as a foundation for entirely new strategies. Historical mode for full backtesting; Bot Mode calculates last 300 bars only for lighter live execution.

Visit us on TradingView to access all 10 open-source scripts and indicators.

Strategy Setup

1. In the app, Menu → Webhooks & Snippets → Strategy tab: copy the Webhook URL and your snippet.

2. In TradingView, create a new alert on your strategy.

3. Check Webhook URL and paste yours. Paste the snippet into the Message box.

4. Set expiration to Open-ended and create.

Trendline Alerts

Draw a line on your chart. When price crosses it, hypr() executes: open a long, open a short, or close a position.

Use any TradingView drawing: trendlines, horizontal lines, rays, channels. Each line gets its own webhook with the action you want.

Setup

1Draw a trendline, horizontal line, or ray at your level.
2In the app, Webhooks & Snippets - copy the Webhook URL and the snippet for the action you want (Long, Short, or Close). The snippet uses {"{ticker}"} which TradingView fills in automatically from your chart.
3Right-click the line - Add Alert on Trendline. Set trigger to Once Per Bar Close.
4Paste the Webhook URL and check the checkbox. Paste the snippet into the Message box.
5Name it clearly (e.g. "BTC long, 88k support bounce") and create.

One line. One snippet. Done.

- Ticker mapping: hypr() auto-maps common TradingView tickers to Hyperliquid names (e.g. XAUUSD to GOLD, XAGUSD to SILVER). If your ticker is not recognized, replace {"{ticker}"} with the Hyperliquid name directly (e.g. GOLD).

- Tiered Stops: Draw multiple lines at different levels with partial close snippets. Scale out as levels break.

- Entries at Key Levels: Draw support/resistance lines with long/short snippets. Price touches your level, position opens.

- Once Per Bar Close: Prevents wicks from triggering false executions.

- One Alert Per Line. Delete the alert if you remove the line.

60,000+ backtests, years of development, and a library of proprietary indicators distilled into one open-source framework. The Idea below walks through the journey and shows how regime filters can analyze and improve trade entries.

60k Backtests Origin Story - Analyze Trades w/ Regime Filters

How three realities converged: Hyperliquid, AI, and years of proprietary indicator development. A walkthrough of trade analysis using the Automate ST template with ROC Regime and Regime Factor filters.

Read on TradingView →

What a fully built strategy looks like running on the same trade engine:

Production strategy on the Automate ST framework