stratester.com

Feature

Bot builder

In the Lab a bot is a list of rules. Each rule reads like a sentence: WHEN these conditions are true, THEN do this. Conditions and actions are blocks you pick from a palette and fill in with numbers.

Rules

A rule has one or more conditions and one action. You choose how the conditions combine: all of them (and), any of them (or), or exactly one (xor). Any single condition can be inverted with not.

Rules run from top to bottom on every candle close, and a rule that fires updates the portfolio before the next one is checked. Put exits above entries when they could happen on the same candle.

botscript
when rsi(14) < 30 and cooldown 24
then buy 100%

Building blocks

There are 33 conditions and 4 actions in six groups: price, indicators, patterns, timing, portfolio and actions. Each block page explains exactly how the engine computes it.

Price, indicator and pattern conditions can read bigger candles than the run uses, such as a daily trend filter on an hourly bot. Actions trade at market or place a limit or stop order, and every fill pays the fee and slippage set on the bot.

Templates and autosave

New bots can start blank or from a template (dip buyers, trend followers, breakout systems and more). Every change saves automatically a moment after you stop typing.

Limits

  • Up to 50 rules per bot and 20 conditions per rule.
  • Saved bots per plan: 3 on Free, 10 on Starter, 50 on Pro, unlimited on Quant.
  • Bots are long-only: they buy and sell BTC against cash.

Bot builder: frequently asked questions

Do I need to code?

No. Blocks read like sentences and every field is a dropdown or a number. If you prefer typing, the same bot is available as botscript.

What does xor mean?

Exactly one of the conditions must be true. It is rarely needed; and and or cover most strategies.

Does the order of rules matter?

Yes. Rules are checked top to bottom on each candle, and each fill changes the position before the next rule is checked.

Why is my bot not buying again while it holds?

By default a bot holds one position at a time. Turn on stacking in the risk guards to add to a position.

How many bots can I save?

3 on Free, 10 on Starter, 50 on Pro and unlimited on Quant.

Simulated results are hypothetical. They include only the fee and slippage you set on the bot, not every real-world cost or market condition, and past performance does not guarantee future results. Nothing here is financial advice.