Trading a sideways range
Most losing streaks do not come from a broken system. They come from using trend tools in a market that has no trend.
Why trend systems fail in a range
Almost every trend-following system contains a version of this condition: the fast average above the slow means up, below means down. When the two averages converge to within a fraction of a percent, ordinary noise flips that condition back and forth.
The system declares an uptrend and buys, declares a downtrend two bars later and sells, and both positions are stopped. That is not a fault in the system — it is a system being asked a question it was not built to answer.
Knowing you are in a range before it costs you
The visual method arrives late: you recognise the range after it has taken several stops from you. There is an earlier measure — the distance between two moving averages, expressed as a percentage of price.
It expands in a trend and collapses toward zero in a range. Expressing it as a percentage rather than in points is what makes it comparable across instruments at different prices.
Three states, not two
A single threshold produces constant flipping at its boundary — the very problem you are trying to solve. Two thresholds are needed, creating three zones: range, trend, and a transition band where neither condition holds.
A state should also have to hold for several bars before it is accepted. That adds lag, but removes most of the false signals — a deliberate trade-off.
What to do once you are sure
- Lower your expectations first. A range measuring 2% of price gives very different room than one measuring 0.4%. Know the height before you set a target.
- Expect false breakouts. Ranges more often end with a breakout that fails than with one that holds.
- Re-check your risk-to-reward. Inside a tight range there may not be room for a sensible ratio at all — and then the right decision is not to trade.
- Or move up a timeframe. A market can be ranging on the 4-hour while trending clearly on the daily.
The practical tool. We built an indicator that measures this automatically and classifies the state on the chart — Range Compression Detector. Free, open-source, with its limits written on its page.