Stationarity: why price levels break most statistics and returns only partly fix it
Posted: Mon Nov 23, 2026 9:14 am
A lot of strategy testing quietly assumes that the market's behaviour in the past is a fair sample of its behaviour in the future. In statistics that assumption has a name, stationarity, and forex prices do not meet it.
A stationary series has a constant mean and variance and a stable relationship between its values over time. Price levels clearly do not: EURUSD can trade around 1.05 for a year and around 1.15 the next. Any statistic calculated on price levels, an average, a correlation, a regression, depends heavily on which period you picked. Two pairs can show a high correlation of price levels simply because both trended over the sample, which is one of the classic spurious-correlation traps.
Converting prices to returns, the bar-to-bar percentage or pip change, removes most of the trend problem. Returns hover around zero. But they are still not fully stationary, because their variance changes. Volatility comes in clusters, rises around news and sessions, and shifts over months. A 10-pip move means something different in a 40-pip-range week than in a 120-pip-range week.
That is why so many indicators normalise. ATR-based stops, z-scores, Bollinger widths and percentile ranks are all ways of expressing a move relative to current volatility, which brings the numbers closer to something comparable over time.
Practical consequences for testing a scalping idea:
- Rules expressed in fixed pips are tied to the volatility of the test period. Rules expressed relative to ATR or recent range usually travel better.
- Splitting a test by volatility regime shows whether the edge is spread across conditions or comes from one.
- A formal check such as the augmented Dickey-Fuller test can tell you whether a spread or indicator series behaves like a stationary one before you build a mean-reversion rule on it.
Does anyone run stationarity checks before building mean-reversion rules, especially on pair spreads? I'm interested in whether people found it changes which ideas are worth testing.
A stationary series has a constant mean and variance and a stable relationship between its values over time. Price levels clearly do not: EURUSD can trade around 1.05 for a year and around 1.15 the next. Any statistic calculated on price levels, an average, a correlation, a regression, depends heavily on which period you picked. Two pairs can show a high correlation of price levels simply because both trended over the sample, which is one of the classic spurious-correlation traps.
Converting prices to returns, the bar-to-bar percentage or pip change, removes most of the trend problem. Returns hover around zero. But they are still not fully stationary, because their variance changes. Volatility comes in clusters, rises around news and sessions, and shifts over months. A 10-pip move means something different in a 40-pip-range week than in a 120-pip-range week.
That is why so many indicators normalise. ATR-based stops, z-scores, Bollinger widths and percentile ranks are all ways of expressing a move relative to current volatility, which brings the numbers closer to something comparable over time.
Practical consequences for testing a scalping idea:
- Rules expressed in fixed pips are tied to the volatility of the test period. Rules expressed relative to ATR or recent range usually travel better.
- Splitting a test by volatility regime shows whether the edge is spread across conditions or comes from one.
- A formal check such as the augmented Dickey-Fuller test can tell you whether a spread or indicator series behaves like a stationary one before you build a mean-reversion rule on it.
Does anyone run stationarity checks before building mean-reversion rules, especially on pair spreads? I'm interested in whether people found it changes which ideas are worth testing.