Skip to content
Connecting market data
Connect wallet

Help › Trading

Custom rules bot

A Custom rules bot is built from your own rules: if these conditions are true then do these actions.

More

It checks them in order each time a candle closes on its chart.

When to use it

When none of the ready-made types does exactly what you want.

Settings

Every bot trades in your own Hyperliquid account. In the setup you pick the market, the amount and the leverage; Safe, Balanced and Aggressive fill in the rest from the coin's own volatility, and Customize settings opens every setting below. Rivemont's fee is from 0.1% per fill, lower with your 30-day volume, plus Hyperliquid's own trading fee.

Chart
The candles its rules are checked on (5m to 1d).
Rules
Up to 10, each with 1 to 6 conditions (all of them, or any of them) and 1 to 4 actions, a cooldown in minutes and a most-runs limit.
Conditions
RSI, moving averages and their cross, Bollinger Bands and middle line, MACD, Supertrend, price, price change, breakout, and the bot's position, its profit, the funding rate, the hour and the weekday (UTC).
Actions
Buy or sell an amount (market, or a limit order some % away that waits N candles), close a share, go long or short (stop and reverse), place a ladder of limit orders, cancel its waiting orders.
Largest position
The position never goes past it either way; an order is cut to fit.
TP, SL and Trailing
Optional exits from the average entry.

Example

Rule 1: if RSI(14) is below 30 and the position is flat, buy $200. Rule 2: if RSI(14) is above 70, close 100%. With an SL of 4%, a falling market closes the position at −4%.

Set up a Custom rules bot →

What can go wrong

  • Rules do exactly what they say.Test them in the backtest first: a rule that is true on every candle trades on every candle.