Can anyone post any CCI example?

I have found CCI is different from other indicators.

For example I have got this error:

Runtime Error: CommodityChannelIndex does not support Update(DateTime, decimal) method overload. Use Update(IBaseDataBar) instead. (Open Stacktrace)

It will be nice to have an example, it is very difficult to find bit and piece information.