Short Name: CCI
Definition: Commodity Channel Index
Usage: CCI(period,modified)
Objective:
- Compute the CCI Indicator
- Returns an array of values.
Note:
- Period is usually 20
- Normally, the typical price is a simple average between the high, low and close of the day. When modified is set to YES, the typical price calculation uses the maximum of the high values, and the minimum of the low values, over the period.
Examples:
- CCI(20,NO)