Rule-Based vs Discretionary Trading
By Priya Sharma — Senior Vice President, Portfolio Management · Published September 4, 2026 · 7 min read
Rule-based trading means every buy and sell decision follows written conditions that would produce the same answer no matter who applied them, while discretionary trading means a person decides each trade using judgment, experience and whatever information seems relevant at the time. Rules give you consistency and something you can test on past data; discretion gives you flexibility to react to things the rules never imagined. Most people who say they follow a system actually mix the two, and the mixing is where results usually drift.
What counts as a rule
A trading rule is a condition precise enough that two people, or a computer, would reach the same decision from the same data. Compare:
| Discretionary version | Rule-based version |
|---|---|
| "Buy when the market looks strong" | "Buy when the price closes above its 200-day average" |
| "Get out if it starts to look bad" | "Sell if the price falls 8% below its highest close since entry" |
| "Hold the best tech stocks" | "Each month, hold the three names from this fixed list with the highest 6-month return" |
| "Don't risk too much" | "Risk 1% of the account per trade, based on the distance to the stop" |
The examples on the right are illustrations, not recommendations. The point is that every phrase is measurable. "Strong", "bad" and "too much" are not.
A useful test: could you hand the rules to a stranger and get identical trades back? If not, there is discretion hiding in the wording.
Rule-based trading: strengths and weaknesses
Strength: it can be tested
Fixed rules can be run over years of past prices. You cannot backtest "I'll know it when I see it." See what backtesting is for how that works.
Strength: it removes in-the-moment emotion
Fear and excitement push people to sell after falls and buy after rises. A written rule does not care how the news feels.
Strength: it is consistent
The rule that applied in a calm month applies in a panic. That consistency is also what lets a computer run it, which is the basis of every trading bot.
Strength: it can be explained
When a rule-based strategy trades, you can point to the exact condition that triggered it. That makes mistakes easier to find.
Weakness: rules are built from the past
Every rule set was designed by someone looking at history. The more rules there are, and the more they were adjusted to fit past data, the more likely they are to fail on new data. This is overfitting.
Weakness: rules cannot see what they were not told about
A rule that reads prices does not know about a fund closure, a stock split or a market halt unless someone added a check for it. Good automated systems add separate safety checks for exactly these cases.
Weakness: following rules through losses is hard
A rule will keep you in a losing strategy if the strategy's rules say to stay. That is the price of consistency.
Discretionary trading: strengths and weaknesses
Strengths
- Flexibility. A person can react to an event that has no precedent.
- Context. Experienced traders may weigh information that is hard to turn into numbers.
- Adaptation. A person can decide a market has changed and stop doing what no longer works.
Weaknesses
- Inconsistency. The same person makes different decisions in the same situation depending on mood, fatigue and recent results.
- No honest test. You cannot backtest judgment. Memory is a poor record; people remember wins more clearly than losses.
- Bias. Common patterns include selling winners too early, holding losers too long, and trading more after a lucky streak.
- Time. Discretion needs attention. A missed day is a missed decision.
A rule-based example in a real crisis
To show what a written rule does in practice, take Big Tech Trend, one of the five AlgolaneBots strategies. Its core rule is a monthly check of market health. In a healthy market it holds the strongest technology stocks and funds from its list. In a weak one, it moves toward short-term bonds, gold and defensive sectors. Nobody decides in the moment; the check either passes or it does not.
Here is how that rule behaved in a historical backtest, a computer test on past prices. Nobody earned these results, and future results will differ. Its caveat: the stock list was chosen with hindsight, and three stocks made 81% of the profit.
| Over the same period | Yearly return or fall | Time to recover |
|---|---|---|
| Big Tech Trend, full test 2011-2026 | +37.3% a year, worst fall -29% | Deepest fall, from June 2026, not yet recovered |
| S&P 500, full test 2011-2026 | +14.0% a year, worst fall -34% | |
| Nasdaq 100, full test 2011-2026 | +18.3% a year, worst fall -35% | |
| Big Tech Trend, 2022 rate-hike bear market | fell 13% | 2 months |
| S&P 500, 2022 rate-hike bear market | fell 24% | 23 months |
In 2022, a slow, grinding decline, the monthly health check had time to move the strategy toward defensive holdings. A discretionary trader might have done the same, or might have held on hoping for a bounce, or sold at the bottom. The rule did not have to make that choice under pressure.
The same rule did less well in the very fast 2020 Covid crash, when the strategy fell 26% against 34% for the S&P 500 and recovered in 3 months against 4: better than the index, but a monthly check simply cannot react within days. Rules have the strengths and blind spots of their design.
When rules and judgment get mixed
The hybrid trap
Many people start with rules and then override them "just this once". The trouble is that overrides tend to happen at the worst moments: skipping a buy signal after a frightening fall, or abandoning a stop because the trade "should" come back. Over time, the record stops reflecting either the rules or a deliberate discretionary approach.
If you want to combine the two, do it at the level of choosing strategies, not individual trades:
- Use judgment to decide which rule sets to run and how much money each gets.
- Let the rules make the individual trades.
- Set conditions in advance for when you would stop a strategy altogether, and write them down.
That way your discretion is applied calmly, on a timescale of months, rather than in the middle of a falling market.
Signs a "system" is really discretion
People often believe they trade by rules when they do not. A few warning signs:
- The rules live in your head. If they are not written down, they change with your mood, and you will not notice.
- You have exceptions. "I follow the signal, except when earnings are coming up" is a new rule only if it is written down and applied every time. Otherwise it is judgment.
- Your sizing varies. Putting more into trades you "feel good about" is discretion, even if the entries follow a rule.
- You cannot reproduce last month. If you could not rebuild your past trades from your rules and the price history alone, some decisions were made on the spot.
- Your record keeps changing shape. If you tweak the rules after every losing stretch, you are adjusting to recent results, which is discretion with a delay.
None of this is a moral failing. It simply means the results you see are not results of the rules, so a backtest of those rules will not describe what you actually did. That gap is one of the most common reasons people say a strategy "worked in testing but not for me". A program running fixed rules closes the gap by construction, which is the main practical argument for automating a rule set once you have one you trust.
Writing better rules
If you write your own rules, or evaluate someone else's:
- Keep them few. Each additional condition is another chance to fit noise.
- Make every term measurable. Replace adjectives with numbers.
- Include costs. A rule that only works with free trading does not work.
- Define exits as clearly as entries. Many systems specify when to buy in detail and leave selling vague.
- Plan for the unusual. Splits, halts, stale data and closed funds need their own checks.
- Test out of sample. Check the rules on a period you did not use to design them, then forward test on paper.
Key takeaways
- Rule-based trading uses measurable conditions that always give the same answer; discretionary trading relies on judgment at each decision.
- Rules can be backtested and automated, but they are built from the past and can be overfitted.
- Discretion is flexible but inconsistent and impossible to test honestly.
- Overriding rules trade by trade tends to combine the worst of both approaches.
- If you mix them, apply judgment to which strategies to run, and let rules handle the trades.
This is general education, not personal financial advice.
Try rules without risking money
All five AlgolaneBots strategies are fully rule-based, and you can watch their rules work on a $10,000 paper account during a free 90-day trial with no card needed. Create your account and read how each strategy decides in the strategies section.
Where the numbers come from: every strategy figure is from AlgolaneBots's own historical backtests, run on past prices with the method on how we test. Nobody earned them, and future results will differ. General market facts are checked against regulator and company sources. This guide is general information, not personal advice. Read the risk disclosure and how we write our guides.