CCI Instruction | Mastock Help

Short Name: CCI

Definition: Commodity Channel Index

Usage: CCI(period,modified)

  • Compute the CCI Indicator
  • Returns an array of values.

  • 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.

  • CCI(20,NO)