Algorithmic Trading Strategies: 6 Types Explained, With Rules You Can Test
The main algorithmic trading strategies: trend following, mean reversion, breakouts, momentum, session and liquidity sweep, with rules and 130 backtests.
By Tom Evans · Updated · 11 min read

An algorithmic trading strategy is a set of exact rules for when to enter, where to put the stop, when to take profit and how much to risk, written precisely enough that a computer can follow them without judgement. Most strategies retail algo traders run fall into six families: trend following, mean reversion, breakouts, momentum, session and time-based strategies, and liquidity sweep strategies. Each one makes money in a different kind of market and loses money in the opposite kind, which is why the type matters less than whether you have tested it properly.
This guide explains each family, gives an example rule set you could test, and says where each one usually fails. It also shows how each family did in our own backtests of 344,081 strategy variants. Treat those as evidence about the family, not a promise for your market: a result on someone else's market, timeframe and costs tells you little about yours, so the aim is still to give you rules precise enough to test yourself.
Strategy descriptions are educational, not recommendations. Backtests are not future results, and leveraged trading carries a high risk of loss.
The six families at a glance
| Family | The idea | Works best when | Usually fails when |
|---|---|---|---|
| Trend following | Buy strength, sell weakness, hold until the trend ends | Markets make long, sustained moves | Price chops sideways |
| Mean reversion | Fade stretched moves back towards an average | Markets range and overshoot | A real trend starts |
| Breakout | Trade the break of a defined range or level | Volatility expands after a quiet period | Breaks fail and reverse (false breakouts) |
| Momentum | Ride an indicator's acceleration, such as a MACD or RSI shift | Moves follow through for a few bars | Signals fire late in a move |
| Session and time-based | Trade a repeating time window, such as the open | A market behaves differently at a set time | The time edge fades or costs eat it |
| Liquidity sweep | Fade a run beyond an obvious high or low | Stops get taken, then price reverses | The sweep is the start of a real move |
How each family did in 344,081 backtests
Strategy Lab searched 344,081 variants of these strategy families across US stocks, index ETFs, forex, metals, oil and crypto, with trading costs included. 204 stayed profitable on a final year that was locked away during the search, and the strongest 130 are published in the strategy library with their full rules and every trade. This is how each family did among those 130 published trading algorithms:
| Family | Published strategies | Median profit factor | Median win rate | Highest return in the library |
|---|---|---|---|---|
| Breakouts | 53 | 1.52 | 43.6% | ETHUSDT 4h Bollinger band breakout: +1,893%, Sep 2019 to Nov 2026 |
| Momentum | 23 | 1.56 | 44.3% | EURUSD daily CCI cross: +1,340%, Nov 2006 to Nov 2026 |
| Trend following | 21 | 1.47 | 38.0% | GBPUSD daily Hull MA cross: +532%, Nov 2006 to Nov 2026 |
| Trend pullbacks | 4 | 1.41 | 48.8% | AUDJPY 4h pullback to moving average: +88%, Jan 2020 to Nov 2026 |
| Mean reversion | 7 | 1.65 | 51.8% | AMD 1h RSI divergence: +127%, Jan 2020 to Nov 2026 |
| Liquidity, ICT and SMC | 13 | 1.73 | 38.3% | DOGEUSDT 4h fair value gap: +231%, May 2020 to Nov 2026 |
| Price action | 9 | 1.82 | 35.9% | GBPJPY daily pin bar: +329%, Nov 2006 to Nov 2026 |
Returns are after costs at 1% risk per trade. 61 of the 130 only take signals in one trading session, such as London or the US open.
Three things stand out:
- Breakouts survived most often. They are 53 of the 130 published strategies, more than any other family.
- Most survivors win less than half their trades. Median win rates run from 36% to 52%: the profit comes from winners that are larger than the losers, not from being right most of the time. See win rate vs risk reward.
- Every family failed far more often than it worked. Only about 1 in 1,700 variants held up on the locked year, so judge a family on how it does on data it never saw, not on its best backtest. More in is algo trading profitable?
1. Trend following
Trend following is one of the oldest systematic approaches. Richard Donchian traded channel breakouts in the 1960s, and the "Turtle Traders" that Richard Dennis and William Eckhardt trained in 1983 followed a breakout-based trend system with fixed rules for entries, sizing and exits.
Example rules to test:
- Market and timeframe: a liquid index or currency pair on 4-hour or daily candles.
- Entry: buy when the 50-period moving average crosses above the 200-period, or when price closes above the highest high of the last 20 bars.
- Stop: 2 x ATR below entry.
- Exit: a trailing stop, or the opposite crossover.
- Risk: a fixed 0.5% to 1% of the account per trade.
What to expect: trend systems typically win less than half their trades and rely on a few large winners. That makes them hard to sit through, and it means a short backtest with only a handful of trends in it can look far better or worse than the long run. Our trend following strategy guide goes through the rule choices in detail.
Backtested examples: every published trend following strategy, with its rules and every trade, in the strategy library.
2. Mean reversion
Mean reversion assumes that price stretched far from its average tends to snap back. Typical tools are the RSI (J. Welles Wilder, 1978), Bollinger Bands (John Bollinger, 1980s) and distance from a moving average.
Example rules to test:
- Market and timeframe: an index or major currency pair on 15-minute to 1-hour candles.
- Filter: only trade when a market-regime filter says the market is ranging, not trending.
- Entry: buy when the 2-period RSI drops below 10 while price is above the 200-period moving average.
- Exit: when price closes back above a short moving average, or after a fixed number of bars.
- Stop: a wide ATR stop or a time stop. Tight stops tend to get hit before the reversion happens.
What to expect: a high win rate with occasional large losses when a range turns into a trend. Costs matter a lot because the average win is small. See the mean reversion strategy guide.
Backtested examples: every published mean reversion strategy, with its rules and every trade, in the strategy library.
3. Breakout strategies
A breakout strategy defines a range or level and trades when price leaves it: the opening range, the prior day's high or low, a swing high, or a volatility squeeze.
Example rules to test:
- Level: the prior day's high and low.
- Entry: buy on a 15-minute close above the prior day's high, sell on a close below the low.
- Filter: only trade when a Bollinger or ATR squeeze shows volatility was compressed.
- Stop: the middle of the range, or 1 x ATR.
- Target: 2R, or exit at the session close.
What to expect: false breakouts are the main cost. A filter that waits for a candle close, or for higher-timeframe agreement, usually trades less often but gets fewer fake-outs. The best-known version is the opening range breakout. For a fully tested example with every trade, see our Keltner channel breakout strategy on QQQ: +71.7% over 6.8 years after costs, and honest about its weak last 12 months.
Backtested examples: every published breakout strategy, with its rules and every trade, in the strategy library.
4. Momentum
Momentum strategies enter when an indicator shows a move accelerating, such as a MACD signal-line cross, a Stochastic RSI turn or a moving-average crossover on a short timeframe, usually in the direction of a higher-timeframe trend.
Example rules to test:
- Bias: only long when price is above the 1-hour 50-period EMA.
- Entry: a MACD cross up on the 5-minute chart.
- Stop: below the most recent swing low.
- Target: 1.5R to 2R, with break-even after 1R.
What to expect: many signals, so costs and slippage decide whether there is an edge at all. Momentum signals that look good on one market often fail on others, so test across several markets.
Backtested examples: every published momentum strategy, with its rules and every trade, in the strategy library.
5. Session and time-based strategies
Many markets behave differently at set times: the London open, the New York open, the hour after a data release or the close. Session strategies only trade inside a chosen window.
Example rules to test:
- Window: the London session only, or the first two hours of the New York session.
- Entry: any of the setups above, but only inside the window.
- Exit: a fixed target, or a clock exit at the end of the window.
What to expect: time filters can turn a mediocre strategy into a decent one, but they are also the easiest way to overfit. If you test 24 different hours and keep the best one, the "edge" may be luck. Our guide to analysing a backtest by session and weekday shows how to check this honestly.
Backtested examples: London session breakout strategies and the 61 session-filtered strategies in the strategy library.
6. Liquidity sweep strategies
Popularised by "smart money" and ICT-style trading, these strategies wait for price to run beyond an obvious high or low, where stop orders are likely to sit, and then trade the reversal, often entering on a retest of a fair value gap.
Example rules to test:
- Level: the Asian session high or low, or the prior day's high or low.
- Trigger: price trades beyond the level, then closes back inside it.
- Entry: on a retest of the fair value gap the reversal leaves behind.
- Stop: beyond the sweep's extreme.
- Target: the opposite side of the range, or 2R.
What to expect: the rules are often described loosely, which makes them hard to test and easy to fool yourself with. Pin down every term (what counts as a sweep, how big a gap must be, how long a retest can take) before you test. See the liquidity sweep strategy guide.
Backtested examples: every published liquidity, ICT and SMC strategy, with its rules and every trade, in the strategy library.
Strategies retail traders usually can't run
Some algorithmic strategies depend on speed or infrastructure that individual traders don't have: high-frequency market making, latency arbitrage and most statistical arbitrage between instruments. They also tend to be banned by prop firms. If a strategy's edge depends on being faster than everyone else, a retail account will not have that edge.
How to choose and test a strategy
- Pick the family that matches how you already see the market. You will stick with a strategy you understand through its bad months.
- Write the rules so there is nothing left to judgement: market, timeframe, session, entry, stop, target, sizing and costs.
- Backtest with realistic costs, then hold back an unseen period. Our step-by-step guide to building an algo strategy covers this.
- Check it isn't overfit: enough trades, stable results when you nudge the settings, and results on other markets. See how to tell if a backtest is overfit.
- Stress test it, with Monte Carlo and higher costs, and if you trade a prop account, against the firm's rules.
- Paper trade before going live, and compare live results with the backtest.
In Strategy Lab you can build any of the six families without code. Describe the strategy to TES, the AI strategy coach, or assemble it from setups such as opening range breakouts, prior-day levels, RSI, MACD, moving-average crossovers, Bollinger squeezes, liquidity sweeps and fair value gaps, with session, regime and higher-timeframe filters. Strategy Lab reads the rules back in plain English before it runs, holds back the last 30% of the data as an unseen period and offers Monte Carlo, price noise, cost, other-market and prop-firm account tests.
Want a tested starting point? See backtested trading strategies that work, with the families that held up on a locked final year and the rules for each.
More strategy guides: London breakout, ICT Silver Bullet, RSI trading strategies and moving average crossovers.
Free tools for this: use the profit factor calculator to work out profit factor from your own trades and the Monte Carlo simulator to see the range of drawdowns your trade results could produce. They run in your browser, with no account needed.
Frequently asked questions
- What are the most common algorithmic trading strategies?
- Trend following, mean reversion, breakouts (including the opening range breakout), momentum, session or time-based strategies and liquidity sweep strategies. High-frequency market making and arbitrage are also algorithmic, but they need speed and infrastructure most individual traders don't have.
- Which algorithmic trading strategy is best for beginners?
- A simple breakout or trend-following strategy on a liquid market, because the rules are easy to state exactly and easy to check on a chart. The best strategy is one you can define without judgement and test properly, not the one with the best-looking backtest.
- Do algorithmic trading strategies work?
- Some do for a time, many don't, and most stop working if they were overfit to past data. Regulator data shows most retail traders lose money. Testing on unseen data, with realistic costs and across several markets, is what separates a real edge from a lucky backtest. See is algo trading profitable?
- Can I build an algorithmic trading strategy without coding?
- Yes. No-code builders let you assemble rules from setups and filters, or describe a strategy in plain English. Tessera's Strategy Lab does both and backtests on 1-minute to daily candles. On the Free plan the smallest candle is 5 minutes.
- Which algorithmic trading strategies are most profitable?
- In our backtests the highest return came from a breakout, ETHUSDT 4h Bollinger band breakout, at +1,893% after costs from September 2019 to November 2026. Breakouts were also the family that survived most often, 53 of the 130 published strategies. Return alone is a poor guide, though: compare drawdown, profit factor and how a strategy did on data it never saw. You can sort all 130 by each in the strategy library.
- What are trading algorithms?
- A trading algorithm is a strategy written as exact rules a computer can follow: when to enter, where the stop and target go, and how much to risk. The six families in this guide cover most of what retail traders run. In Strategy Lab you can describe one in plain English and it is backtested for you, with no code.
Backtested strategies that held up
Each one was searched from hundreds of variants, then tested once on a locked final year it was never tuned on. Full rules, every trade and a free prompt to rebuild it.
- ETHUSDT
+1,893.2%
Sep 2019 to Nov 2026
Profit factor
1.39
Win rate
35.2%
Max DD
−18.9%
Breakout · 4 hours
ETHUSDT 4h Bollinger band breakout
Enter when the candle closes above the upper Bollinger band(30, 2) for longs, below the lower band for shorts, with the 200 EMA trend. ETHUSDT 4-hour candles, long and short, 3R target.
See the rules and results - EURUSD
+1,339.5%
Nov 2006 to Nov 2026
Profit factor
1.66
Win rate
53.0%
Max DD
−16.0%
Momentum · Daily
EURUSD daily CCI cross
Enter when CCI(14) crosses above -100 for longs, below 100 for shorts. EURUSD daily candles, long and short, 1.5R target.
See the rules and results - ADAUSDT
+937.9%
Sep 2019 to Nov 2026
Profit factor
1.50
Win rate
34.5%
Max DD
−15.0%
Breakout · 4 hours
ADAUSDT 4h Bollinger band breakout
Enter when the candle closes above the upper Bollinger band(20, 2) for longs, below the lower band for shorts, with the 200 EMA trend. ADAUSDT 4-hour candles, long and short, 3R target.
See the rules and results
Keep reading
Algo tradingHow to Build an Algo Trading Strategy: From Idea to Rules to Running Bot
How to build an algo trading strategy: turn an idea into exact rules, backtest with costs, validate, paper trade, deploy with limits, then review and improve.
Algo tradingSystematic vs Discretionary Trading: Which Suits You, and the Hybrid Path
Systematic vs discretionary trading compared: speed, testing, emotion and flexibility, how to turn your playbook into testable rules, and the hybrid path.
Algo tradingIs Algo Trading Profitable? What the Evidence Actually Says (2026)
Only 204 of 344,081 strategy variants we backtested stayed profitable on a year they never saw. What separated them, who makes money and how to check yours.