22:29:28 UTC
Strategy
PERPS
SPOT
https://www.hypr.run/h/FGgKbbNe3IvBBM8f
Strategy Automation
{"market":"PERPS","ticker":"{{ticker}}","position":"{{strategy.market_position}}"}
SL and TP are placed automatically when an order fills. Set sl_pct and tp_pct values in the snippet, or remove them to use your app settings. Set to false to disable.
LONG
{"market":"PERPS","ticker":"{{ticker}}","position":"LONG","size":100,"sl_pct":8.5,"tp_pct":30}
SHORT
{"market":"PERPS","ticker":"{{ticker}}","position":"SHORT","size":100,"sl_pct":8.5,"tp_pct":30}
CLOSE 100%
{"market":"PERPS","ticker":"{{ticker}}","position":"FLAT"}
CLOSE 50%
{"market":"PERPS","ticker":"{{ticker}}","position":"FLAT","pct":50}
Hyperliquid does not support stop losses for SPOT. To set a stop loss, use any of the Close position snippets below with a TradingView alert on an indicator, trendline, or price level. Set tiered stop losses with partial closes. The BUY snippet includes an optional tp_pct field — set it to a number (e.g. 10) to automatically place a TP sell limit order above when the buy fills.
BUY
{"market":"SPOT","ticker":"{{ticker}}","position":"LONG","size":100,"tp_pct":false}
SELL 100%
{"market":"SPOT","ticker":"{{ticker}}","position":"FLAT"}
SELL 50%
{"market":"SPOT","ticker":"{{ticker}}","position":"FLAT","pct":50}
SELL 25%
{"market":"SPOT","ticker":"{{ticker}}","position":"FLAT","pct":25}