Skip to content
All library documents

Using the Lyapunov Exponent to Study Market Regimes

Article MQL5 articles

Summary

The article introduces chaos theory concepts such as nonlinear dynamics, sensitivity to initial conditions, and limited predictability, while distinguishing mathematical chaos theory from Bill Williams’ looser use of the term. It then presents an indicator that estimates a local Lyapunov exponent from price series using phase-space reconstruction and nearest-neighbor distances. A companion analysis classifies adjacent price moves as reversals or continuations and compares those events with positive and negative exponent readings.

In the reported EURUSD hourly sample, positive and negative readings occur at nearly equal rates for both event types, with less than a half percentage point difference between reversal and continuation shares. The author interprets this as little evidence that the exponent alone determines whether price reverses or continues. The article supplies an exploratory statistic, not a validated forecasting or trading strategy; its simple event definitions, chosen parameters, single market and timeframe, and lack of out-of-sample tests limit what can be inferred.

Key ideas

  • The article separates scientific chaos theory from indicator-based uses of the word by trading systems.
  • A local Lyapunov estimate is calculated from phase-space neighbors and their subsequent divergence.
  • The accompanying script compares exponent signs with simple classifications of reversals and continuations.
  • In the reported EURUSD hourly analysis, positive and negative readings have nearly balanced event shares.
  • The observed balance does not establish predictive value, and the analysis lacks out-of-sample validation.

Tags

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