Mean-reversion scalping rests on an assumption that something, a pair, a spread, a distance from VWAP, tends to come back. The augmented Dickey-Fuller (ADF) test is the classic statistical check of that. Its null hypothesis is that the series has a unit root, which roughly means shocks are permanent and it wanders like a random walk. Rejecting the null suggests the series is stationary and pulls back towards a mean.
Run on a single major pair's price, the ADF test almost never rejects. That isn't surprising and doesn't mean nothing in forex ever reverts. It means the price level isn't anchored to anything over the sample. Where the test gets more interesting is on constructed series: the spread between two related pairs, or price minus a slow moving average, or an intraday series that resets every session.
Some caveats are worth keeping in mind:
- The test has low power, especially on short samples. It often fails to reject even when there is real but slow reversion.
- Choices matter: whether you include a constant, a trend, and how many lagged terms. Different settings can flip the result, so decide before you look.
- Stationarity over the whole sample can hide regime changes. A spread that reverted nicely for a year and then drifted off for six months might still pass overall.
A useful habit is to run it on rolling windows rather than once on everything. If the test statistic hovers comfortably in rejection territory most of the time, that's more reassuring than a single pass.
For people trading spreads or reversion to a level: do you use ADF or something like it, or do you judge reversion mainly by backtest results?
The augmented Dickey-Fuller test: what it can and can't tell you about whether a pair or a spread mean-reverts
-
Shadow Trader
- Posts: 6144
- Joined: Wed Sep 09, 2026 5:19 pm