Rejoignez notre page de fans
- Vues:
- 4945
- Note:
- Publié:
- 2018.07.13 16:06
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
Oscillator Choppiness Index is intended for assessing the market situation. It identifies three states:
- Trend
- Flat
- 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
Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/21339

Indicator Choppiness Index Histogram

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.