---
title: Write a rule in plain English
description: "A rule is a sentence with a trigger, an action and optional limits. The builder writes that sentence for you while you click, which makes it easy to check before anything runs. ## The blocks | Block | What it…"
url: "https://rulemancer.com/blog/docs/write-a-rule/"
updated: "2026-11-25"
category: "Bots & rules"
---

# Write a rule in plain English

A rule is a sentence with a trigger, an action and optional limits. The builder writes that sentence for you while you click, which makes it easy to check before anything runs.

## The blocks

| Block | What it decides | Example |
| --- | --- | --- |
| IF | Trigger condition | price drops 5% in 24 hours |
| AND / OR | Extra filters | RSI(14) below 30 |
| THEN | Order to place | buy $100 of BTC |
| REPEAT | How many times it may fire | at most 3 times |
| STOP | When the bot gives up | after 6 trades or 8% loss |

## Available conditions

Price change, price cross, price range, RSI, MACD crossover, moving-average cross, volume change, Bollinger Bands, market cap and breakout — plus time-based DCA schedules. All of them are evaluated when a candle closes on your chosen timeframe (15m, 1h, 4h or 1d).

## A worked example

*IF BTC drops 5% in 24 hours AND RSI(14) is below 30, THEN buy $100 of BTC.* Add **REPEAT at most 3** so a long slide cannot turn into ten buys, and a stop-loss at 4% so a failed dip is capped.

## Rules that will not fire

Two filters that contradict each other — "RSI below 30" and "price up 10% in the same window" — pass validation and never trigger. If a bot has been running for a week with no fills, check the rule monitor: it shows the current reading of every condition.

## Related reading

- [How to write your first IF/THEN crypto trading rule](https://rulemancer.com/blog/first-if-then-crypto-rule/)
- [Grid, DCA and momentum: three strategies and when each one breaks](https://rulemancer.com/blog/grid-dca-momentum-strategies/)

[All documentation](https://rulemancer.com/blog/docs/)  ·  [Start free](https://rulemancer.com/register)
