Skip to content
All library documents

JMA-Smoothed Random Walk Index for Trend Detection

Article MQL5 code base

Summary

The Random Walk Index (RWI) is presented as a way to assess whether price movement is more consistent with a statistically meaningful trend or with random, choppy behavior. It compares observed price ranges over a chosen period with a range expected under a random-walk model, scaled by average true range and the square root of the period. Larger normalized ranges are interpreted as stronger directional movement.

This variant applies JMA smoothing to reduce the frequent signals associated with the regular RWI. The source gives a high-price calculation expression and a qualitative explanation, but no parameter values, full implementation, test results, or rules for entering and exiting trades. Smoothing may reduce signal frequency, but the text does not quantify its effect or establish improved performance.

Key ideas

  • RWI compares price range with a random-walk expectation to identify directional movement.
  • Its range calculation is normalized by average true range and the square root of the lookback period.
  • The JMA-smoothed variant aims to reduce frequent signals from the unsmoothed indicator.
  • The description provides no trading rules or empirical performance evidence.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.