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 | Smoothed CCI

Original CCI (Commodity Channel Index) is calculated using what is known as mean absolute deviation. This version is using standard deviation instead. Also, in order to make it less "nervous" (which is probably one of the greatest reasons why CCI is not more popular than it is now), pre-smoothing using double smoothed Wilders EMA added and signals are generated on zero crosses

MetaTrader Experts, Indicators, Scripts and Libraries

MetaTrader Experts, Indicators, Scripts and Libraries

PS: it is one in the "need-for-speed" series - suitable for usage using custom calls. Setting the ema period to <=1 will produce something similar to "regular" CCI, but do not confuse it with it : since in this one standard deviation is used, it is not and will not be the same as the built in CCI

25907