Far as I known this is Mladen's invention:
Theory:
The commodity channel index (CCI) is an oscillator originally introduced by Donald Lambert in 1980. It is calculated as:
(price - average) / (0.015 * mean absolute deviation)
This version:
In this version we are adding (changing) the following:
Option to change the mean absolute deviation to:
- standard deviation
- ATR (average true range)
- option to chose to smooth the value of such a "CCI"
- option to change color on zero crosses or on slope direction change
- Is the same as in regular CCI (if smoothing is not used):
What is different :
- levels are not going to be the same (that will eventually need adjustments if you are used to use levels when using CCI for trading decisions)
- slope of the CCI is not going to be the same
Usage:
You can use the color changes for signals.
I did a version hopefully it works close to his. About the extended added prices, averages, more deviation types, and the Donchian channel. Alerts are when the color changes.