Building strategies
A strategy is a set of rules: when to enter a trade and when to exit it, plus settings such as the stop-loss, position size and costs. You build it in the Backtest drawer — the bar-chart icon on the right edge of the window.
The strategy runs on whatever coin and timeframe the chart is showing.
Entry and exit
The drawer has two sections:
- ENTRY — the conditions that open a trade.
- EXIT — the conditions that close it.
A trade can also close at its stop-loss or take-profit (see Risk settings). A strategy doesn't need exit conditions if those are set.
Conditions
A condition is one rule, written like a sentence — for example SMA(50) crosses above SMA(200), or RSI(14) less than 30.
To add one, click + at the bottom of a group (Add condition). The condition editor asks for:
- Indicator — what to look at: Simple Moving Average, Exponential Moving Average, Relative Strength Index, Money Flow Index, Chaikin Money Flow, Money Flow Wave, MACD, Bollinger Bands, Stochastic RSI, SeaOrb Tide, Average True Range, Donchian Channels, Relative Volume, Average Directional Index, Stochastic, Supertrend, or Price. The list shows full names; once picked, the box shows the short label (SMA, RSI, DC…), which is also what conditions and the chart use.
- Period and any other settings the indicator has (MACD's slow and signal periods, for example).
- Component — for indicators with several lines, which one: the MACD line, signal line or histogram; a Bollinger or Donchian band; %K or %D; a SeaOrb Tide line such as Bullish Divergence; a price field such as Close, High or Volume; and so on.
- Condition — the comparison:
- Greater Than / Less Than — true on every bar where it holds.
- Crosses Above / Crosses Below — true only on the bar where it crosses.
- Is Equal To — for indicators where an exact level makes sense.
- Rising / Falling — the value went up (or down) since the previous bar.
- Fires — for event signals, such as a SeaOrb Tide buy dot.
- Compare Against (for comparisons and crosses):
- a fixed value — for example 30;
- another indicator — for example price crossing above an EMA;
- entry price — a percentage away from the price the trade entered at, for exits like "close is 5% above entry". Use a negative number for below.
- Lookback and Match — make a condition look back over recent bars. A lookback of 3 with Any means "true on any of the last 3 bars"; with All, "true on every one of the last 3 bars". 0 means the current bar only.
- Timeframe — Chart by default. Choose another to judge the condition on a different timeframe — for example, enter on a 1-hour chart only while the daily RSI is above 50. A higher-timeframe value only counts once that higher-timeframe candle has closed. The timeframe applies to every indicator in the condition, on both sides: "MACD line crosses above signal line" on 1w compares the weekly lines. Price is always the chart's own, so "close crosses above SMA (100)" on 1w compares the chart's price with the weekly SMA. The condition shows its timeframe as a tag, such as @1w.
Click a condition's sentence to edit it, or its trash icon to delete it.
Groups, AND and OR
Conditions live in groups, and both entry and exit can have several groups.
- Inside a group, the pill at the top says whether ALL conditions must be true or ANY one of them. Click it to switch.
- Between groups, an AND / OR pill says whether every group must be true, or any one of them.
New entry groups are combined with AND and new exit groups with OR — the usual choice: enter only when everything lines up, exit as soon as any reason to leave appears.
Example — trend + pullback. One entry group set to ALL:
- Price (Close) greater than EMA(200) — only trade in an uptrend;
- RSI(14) less than 40 — and only on a dip.
One exit group set to ANY: RSI(14) greater than 65, plus a take-profit. The first condition filters out the entries the second would make in a downtrend.
Risk settings
- Stop-Loss — closes the trade if price moves against you by this percentage. Off by default.
- Take-Profit — closes the trade once price has moved in your favor by this percentage. Off by default.
Both act like real orders resting on an exchange: they can trigger partway through a candle. See How backtests work for the details.
Position and execution
- Initial Capital — the simulated starting balance (default 10,000).
- Position Size — the percentage of available cash used for each trade (default 100%).
- Direction — Long (profit when price rises) or Short (profit when it falls). Shorting is meant for futures.
- Order Type, Entry Offset, Limit Offset, Entry Timeout — how entries are placed. Market (the default) enters at the next candle's open. The others are explained in How backtests work.
Costs
- Taker Fee and Maker Fee — the exchange's trading fees (default 0.1% each).
- Slippage — the price moving against you between deciding and filling (default 5 basis points, 0.05%).
- Funding Rate and Funding Interval — the periodic payment between long and short positions on perpetual futures. Off by default.
Realistic costs matter: a strategy that trades often can look profitable before costs and lose money after them.
Running and saving
The backtest runs again automatically whenever you change a condition or a setting. On very large ranges, automatic runs pause and the ▶ Run button turns amber — click it to run.
- Save stores the strategy in your Strategies list. Use the arrow beside it for Save As New to keep the original and save a copy.
- Clear resets the drawer to its defaults. It doesn't delete any saved strategy.
- An amber Unsaved changes label means the drawer differs from the saved version; the strategy's card shows an amber asterisk too.
See Saving and sync for how saved strategies are kept and backed up.
Still stuck? Choose Contact Support in the app, or email [email protected].