Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal


Choppiness_Index - indicator for MetaTrader 5

Scriptor | English Русский 中文 Español Deutsch 日本語 Português

votes: 10
2018.07.13 16:06

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


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


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

Translated from Russian by MetaQuotes Software Corp.
Original code:

ButtMA ButtMA

Indicator Butterworth MA.


Indicator Acceleration Bands

Choppiness_IndexH Choppiness_IndexH

Indicator Choppiness Index Histogram

Exp_GStopLoss_Tm Exp_GStopLoss_Tm

An Expert Advisor for closing all positions, in case of the total losses on those positions exceeded the Stop Loss level fixed in inputs, or where it is necessary to close all positions beyond the time interval fixed in the settings.