Indicators

Random Walk Index (RWI) Indicator Explained

How the Random Walk Index tests whether moves exceed random-walk expectations, and how to automate RWI in Setup.Cash.

By Setup.Cash TeamLast updated 2026-07-032 min read208 words

Featured image placeholder

/og/setup-cash-og.svg

The Random Walk Index (RWI) asks the statistician's question: is this move bigger than a random walk would produce? It compares price displacement to the ATR-scaled range expected from randomness — RWI High above 1 means the upmove is statistically real.

How It Works

  • RWI High = (high − low N bars ago) ÷ (ATR × √N); RWI Low mirrors for downmoves.
  • √N is the random-walk scaling — displacement beyond it implies genuine trend.
  • Readings above 1.0 reject the randomness hypothesis for that direction.

How to Trade It

Trade only when the relevant RWI exceeds 1 (the move is non-random), and prefer crossovers where RWI High overtakes RWI Low as trend-flip confirmation. It's a rigorous filter for markets where you suspect most 'signals' are noise.

Building It in Setup.Cash

Add Random Walk Index (RWI) in the strategy builder — the length input controls its sensitivity — and use its value in any entry, exit, or filter condition. You can also combine it with other tools in the Indicators Lab or via the AI indicator generator. See CTI for the correlation-based cousin. For the full category overview, see the volatility & statistics library guide.

Volatility indicators qualify trades rather than generate them — backtest your system with and without this filter and compare the drawdowns.

Not financial advice. Trading involves risk. Use backtesting and paper trading before risking real capital.

Related Posts

View all

Start here

Build your trading bot workflow with structure

Use Setup.Cash to create, backtest, and paper trade rule-based strategies without relying on guesswork. Not financial advice. Trading involves risk.