how is stock cci calculated?
 The commodity channel index is calculated as the difference between the typical price of a commodity and its simple moving average, divided by the mean absolute deviation of the typical price. 