Guide 04
The main types of rules-based strategies
Most strategies fall into a few families, each built on a different belief about how price behaves. Knowing the family tells you what the strategy needs from the market, and when it is likely to struggle.
01Trend following
The idea: prices that have been moving in one direction tend to keep going long enough to profit from, so join the move and stay until it shows signs of ending. Rules usually involve moving averages, channel breakouts or a trailing stop.
Where it struggles: choppy, sideways markets. The strategy keeps entering on apparent trends that reverse, taking a series of small losses. Trend followers typically accept many small losers in exchange for fewer large winners, which can be psychologically hard to follow.
02Mean reversion
The idea: price stretches away from a typical level and tends to return. Rules buy weakness or sell strength relative to an average, a band or an oscillator reading, and exit when price returns toward the middle.
Where it struggles: strong trending moves. A mean-reversion strategy can keep buying a falling market. Because winners tend to be small and frequent while a loser can be large, a missing or poorly placed stop is the classic way these strategies fail.
03Breakout
The idea: when price leaves a defined range or level, volatility often expands and the move can continue. Rules place entries just beyond a recent high, low or consolidation zone.
Where it struggles: false breakouts, where price pokes through the level and immediately reverses. Quiet markets produce many of these. Some breakout strategies add a volatility or volume filter to avoid the weakest signals.
04Opening range breakout
The idea: a specialised breakout. You mark the high and low of the first few minutes of a session (the "opening range"), then trade a move beyond either edge, with a stop on the other side or inside the range. It suits traders who want a clearly defined start and end of activity each day.
Where it struggles: days where the opening range is either very narrow, producing frequent whipsaws, or very wide, making the stop distance large relative to the likely reward. Scheduled news around the open can also distort the range. The length of the opening range is a parameter that is easy to overfit, so test nearby values (see overfitting).
05Moving average crossover
The idea: a faster average crossing above a slower one signals upward momentum, and crossing below signals the reverse. It is one of the simplest trend-following rules, which makes it a good teaching example.
Where it struggles: sideways markets, where the averages tangle and cross repeatedly. Because averages lag, signals also arrive after part of the move is over. Variations change the type of average, the periods and the filters. Our sister site movingaveragecrossover.com goes deeper on this one.
06Choosing and combining
No family wins in every market condition, which is why people sometimes run strategies of different types side by side, hoping their weak periods do not coincide. That is a hope, not a guarantee. Whatever you choose, run it through the backtesting process, and for explanations of the indicators these strategies use, see indicators.ninja.
FAQFrequently asked questions
Which strategy type is best for beginners?
There is no single best type. Simple, easy-to-explain rules such as a basic crossover or opening range are easier to test and understand, which helps you learn how strategies behave.
Is trend following or mean reversion more profitable?
Neither is inherently more profitable. Each suits different market conditions, and both can lose money. Results depend on the market, the period, the costs and the execution.
What is an opening range?
The high and low of a market during a set period at the start of a session, for example the first several minutes. An opening range breakout trades a move beyond that high or low.
Can one strategy mix several types?
Yes, for example a breakout entry with a trend filter. More components mean more settings, so the overfitting risk grows with them.