Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | Choppiness_Index

Oscillator Choppiness Index is intended for assessing the market situation. It identifies three states:

  1. Trend
  2. Flat
  3. Instable consolidation

Values below 38.2 indicate a trend on the market, while those above 61.8 indicate a flat market. Values close to 100 indicates an instable consolidation.

the lower the oscillator value is, the more expresed the trend component is on the market.

The indicator has four configured parameters:

  • Period - calculation period
  • Trend level - trend boundary level
  • Choppiness level - flat boundary level
  • Consolidation level - consolidation boundary level

Calculations:

  

CI = 100.0 * log10( SumATR / ( MaxHigh - MinLow)) / log10X

where:

  

log10X = log10(Period) ATR = ATR(1) SumATR - sum of ATR over the Period MaxHigh - maximum High value within the Period MinLow- minimum Low value within the Period

MetaTrader Experts, Indicators, Scripts and Libraries

21339