forex software

Create and Test Forex Strategies

forex software

Sidebar

Indicator List

indicator:commodity_channel_index

Table of Contents

Commodity Channel Index

FIXME

Parameters

Logical rules for Opening Logic Condition slot.

  • CCI rises;
  • CCI falls;
  • CCI is higher than the Level line;
  • CCI is lower than the Level line;
  • CCI crosses the Level line upward;
  • CCI crosses the Level line downward;
  • CCI changes its direction upward;
  • CCI changes its direction downward;

Logical rules for Closing Logic Condition slot.

  • CCI rises;
  • CCI falls;
  • CCI is higher than the Level line;
  • CCI is lower than the Level line;
  • CCI crosses the Level line upward;
  • CCI crosses the Level line downward;
  • CCI changes its direction upward;
  • CCI changes its direction downward;

List box parameters

  • Smoothing method (Simple). The Moving Average method used for smoothing CCI value. Options: Simple, Weighted, Exponential, Smoothed.
  • Base price (Typical). The price the indicator is based on. Options: Open, High, Low, Close, Median, Typical, Weighted.

Numeric box parameters

  • Smoothing period (14). The period of smoothing used in the calculations. Minimum: 1, Maximum: 200.
  • Level (100). A critical level (for the appropriate logic). Minimum: -1000, Maximum: 1000.
  • Multiplier (0.015). The multiplier value. Minimum: 0, Maximum: 1.

Implementation

C# source code: Commodity Channel Index.

MQL source code: Commodity Channel Index.