Quantify the time frame you are using.
Quantify the volatility of the equity you are trading.
Quantify the definition of Range.
If time frame is short, it will usually be more volatile hence more false signals, vice versa.
Let's say that we are talking about "Daily" bars.
How to measure volatility? We see frequent gapping action, no orderliness in OHLC with prior bars, sometimes volatility swipes that exceeds the range limit define by 2*ATR(10). Hence, we can use Standard Deviaton ( square root of Variance, the squared difference of CLOSE from Moving Average).
But how to know whether StDev is abnormal? Hence, we need to compare its volatility relative to its historical volatility or to its base index (Beta). The better one is Connor's 100-day Historical Volatility. If it's below 50, its definitely not volatile. 50-150 normal. Over 150 means volatile.
Now, what's the definition of range? (Usually, the intial start of ranging is difficult. But ranging indicates deliberate trapping of price within an immediate Support and Resistance for Distribution/Accumulation or simple, uncertainty between buyers and sellers)
1) Overbought-Oversold Oscillators oscillating between OB zone and OS zone frequently, more frequent than the past
2) Frequent crossing of moving average. Moving average is flat. E.g.Price always cross 20-SMA in less than half cycle period=10
3) Due to swinging nature of price, investors will not take the risk due to unfavourable MFE/MAE ratio. Hence, volume starts to decline.
Hence, from here, define Stable-Range vs. Volatile Range.
Worst case is volatile range as you get in and out very frequently. Hence, rather than using a moving average crossover strategy, you can use a dynamic breakout strategy with volume and market breadth confirmation. If its stable-range, there is order, thus look for special candlesticks or 2-bar patterns coupled with indicator confirmation.
Then create 2 buy conditions. To make a good trading system, try to make entry and exit signal "conditional".
Just my 2'cents.