Return Autocorrelation: Measuring Whether a Recent Move Tends to Continue
Charts can create the impression that rising prices keep rising and falling prices keep falling. You can test that impression numerically by measuring the relationship between the previous return and the next. That correlation is called autocorrelation.
How much does the previous move tell you about the next?
Autocorrelation compares a series with a time-shifted version of itself. For candle returns, pair each return with the preceding candle's return and calculate correlation. A one-step shift gives lag-1 autocorrelation, commonly written ρ1.
ρ1 > 0: Persistence.
• A rise tends to be followed by another rise.
• Potentially favorable structure for following moves.
ρ1 < 0: Reversal.
• A rise tends to be followed by a pullback.
• Potentially favorable structure for fading moves.
ρ1 ≈ 0: No linear memory.
• The last move provides little linear information about the next.
• A rule based only on that direction lacks this evidence.
─────────────
The key is not merely the sign,
but how far it is from zero.
The computation is simple: create a return series, shift a copy by one observation and calculate their correlation. A spreadsheet function can do it. The difficult part is interpreting the result, where most misunderstandings occur.
A small sample can easily produce 0.2
The first calculation will usually be nonzero. Values such as 0.13 or −0.09 may look like discoveries, but random data can produce them. The expected noise depends on sample size.
100 bars:
1 ÷ √100 = 0.100.
Two-standard-error range: ±0.200.
1,000 bars:
1 ÷ √1000 = 0.032.
Approximate range: ±0.063.
10,000 bars:
1 ÷ √10000 = 0.010.
Approximate range: ±0.020.
─────────────
ρ1 = −0.05 from 1,000 hourly bars
lies inside ±0.063
and is not distinguishable from zero by this rough check.
The same −0.05 is weak evidence from 100 bars but may support a reversal tendency from 10,000. Always report how many observations produced the number. The same issue affects win rates; see trade sample size.
A real correlation is useless for trading if it cannot cover costs
Statistical evidence of nonzero correlation is separate from whether its magnitude is economically tradable. A simplified linear model translates it into an expected next-bar move.
Hourly return standard deviation: 0.4%.
Measured ρ1: 0.05.
Previous bar: +0.4%.
Expected next move:
0.05 × 0.4% = +0.02%.
Round-trip taker cost: −0.10%.
Net expectancy:
+0.02% − 0.10% = −0.08%.
─────────────
The correlation may be statistically present,
yet trading it has negative expected value.
Solving ρ1 × 0.4% > 0.10% gives a required ρ1 > 0.25. The original guide argues that a stable 0.25 correlation is extremely difficult to find in liquid major-coin minute or hourly returns, since trading would tend to erode it. See round-trip trading costs for the 0.10% assumption and frequency and fee drag for accumulation.
False negative autocorrelation: Bid-ask bounce
Short-interval returns often show weak negative correlation. This may reflect transactions alternating between bid and ask rather than genuine market reversal: an artifact of recorded execution prices.
Ask 100.02; bid 100.00.
Trades:
100.02 → 100.00 → 100.02 → 100.00 …
Approximate returns:
−0.02% → +0.02% → −0.02% …
• The signs alternate.
• Autocorrelation becomes artificially negative.
The underlying quoted value
has not moved.
─────────────
Trading this as a reversal signal
means repeatedly paying the spread.
Do not accept negative second- or tick-level autocorrelation at face value. Recalculate using the midpoint of bid and ask. If it disappears, the effect came from transaction recording rather than underlying price behavior. See reading the order book.
Timeframes and regimes can reverse the sign
Autocorrelation is not a fixed property of the entire market. It varies with sampling interval and measurement period, sometimes changing sign.
One-minute bars: ρ1 = −0.04, mainly bid-ask bounce.
Hourly bars: ρ1 = +0.02, inside the noise range.
Daily bars: ρ1 = +0.06, insufficient evidence with n=400 and about ±0.10 noise.
Split by regime:
Trend: ρ1 = +0.11.
Range: ρ1 = −0.08.
Combined: ρ1 = +0.01.
─────────────
Opposite regimes can combine
to look as if they cancel toward zero.
A full-period zero can mean little linear dependence, or opposing regimes masking one another. Separate measurement can reveal more. See market regimes, ADX for trend strength, and mean reversion for the reversal premise.
Measurement procedure: Define the sequence first
A few lines calculate correlation, but the result becomes unreliable without a sound measurement process.
① Fix the timeframe and period first.
Do not change them after seeing the value.
② Record sample size n and the noise range together.
Use roughly 2 × (1 ÷ √n) as the reference.
③ Also measure midpoint returns instead of closes.
Short-interval negatives may be bid-ask bounce.
④ Translate the effect into costs.
Does ρ1 × return standard deviation exceed round-trip costs?
If not, statistical significance alone does not establish a trade.
⑤ Measure regimes separately.
⑥ Check whether the sign persists in another period.
─────────────
Record:
• Timeframe, period and sample size n.
• ρ1 and its noise range.
• The cost comparison.
• The number of timeframes and periods tested.
The last item is especially important. Six timeframes × 20 coins × five periods = 600 attempts. Some readings exceeding the noise range are expected by chance, not automatically discoveries. See multiple-testing traps. Check lookahead bias for future-information leakage, walk-forward analysis and the backtesting guide for strategy validation, and overfitting for tuning settings to the data.
Recap
② Positive suggests persistence; negative suggests reversal; zero means no measured linear memory.
③ Approximate noise range ≈ (1 ÷ √n) × 2.
④ 100 bars give ±0.200; 1,000 give ±0.063.
⑤ Values inside that range are not distinguished from zero by this check.
⑥ The simplified next-move estimate is ρ1 × previous return.
⑦ 0.05 × 0.4% gives +0.02%.
⑧ After 0.10% costs, expectancy is −0.08%.
⑨ Covering those costs requires correlation around 0.25 or higher.
⑩ Short-interval negatives often reflect bid-ask bounce.
⑪ Rechecking midpoint returns can remove that artifact.
⑫ Combining opposite regimes can cancel their effects.
Assess whether the effect exceeds costs, not merely whether correlation exists. A nonzero value alone does not justify a trade. Sample size and round-trip costs make it interpretable.
Caution
All figures are hypothetical illustrations, not observed asset or account measurements: 0.4% standard deviation, 0.05 and 0.25 correlations, 0.10% fees, samples of 100, 1,000 and 10,000 bars, minute/hour/day readings of −0.04/+0.02/+0.06, regime readings of +0.11/−0.08, quotes of 100.00/100.02 and 600 attempts. The 1 ÷ √n approximation assumes independence; clustered market volatility can widen uncertainty. Autocorrelation measures linear relationships only, so zero does not exclude nonlinear dependence. Nonzero historical dependence does not ensure persistence or future profit. Leverage can lose all principal, and decisions remain your responsibility.
NOONOO TRADING invites you to follow live trading in our free chat.
Start in the bot📈 OKX trading fee discount for new registrations
Register for the OKX Fee Discount →