Skip to content
All library documents

Choppiness Index for Classifying Trend, Flat, and Consolidating Markets

Article MQL5 code base

Summary

The Choppiness Index is presented as an oscillator for classifying market conditions as trending, flat, or undergoing unstable consolidation. Its histogram uses colors to distinguish established trends, trend transitions, flat conditions, and unstable consolidation. The described interpretation places values below -11.8 in the trend state, values above 11.8 in the flat state, and values near 50 in unstable consolidation; lower negative readings indicate a stronger trend component.

The calculation compares the sum of one-period ATR values across a chosen period with the high-low range over that period, applies a logarithmic transformation, and centers the result. Users can configure the calculation period and three state boundaries. The document explains the indicator and its inputs but provides no market examples, test results, or trading rules for entries, exits, or position sizing. The thresholds should therefore be treated as indicator settings, not demonstrated universal signals.

Key ideas

  • The oscillator is designed to distinguish trending, flat, and unstable consolidation states.
  • Its formula compares summed ATR with the high-low range over a selected period.
  • Readings below -11.8 indicate trend, while readings above 11.8 indicate flat conditions.
  • Values near 50 are associated with unstable consolidation in the described interpretation.
  • The document gives no backtest or complete trading strategy based on the indicator.

Tags

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