Skip to content

CommodityChannelIndex Method (3)

CommodityChannelIndex (1 of 3)

Summary

The Commodity Channel Index identifies overbough and oversold conditions, price reversals and trend strength.

Signature

1
public abstract CommodityChannelIndex CommodityChannelIndex(int periods)

Parameters

Name Type Description
periods int The value of the periods used for calculation.

Return Value

CommodityChannelIndex

Declaring Type

cAlgo.API.Internals.IIndicatorsAccessor

CommodityChannelIndex (2 of 3)

Summary

The Commodity Channel Index identifies overbough and oversold conditions, price reversals and trend strength.

Signature

1
public abstract CommodityChannelIndex CommodityChannelIndex(Bars bars, int periods)

Parameters

Name Type Description
bars Bars The Bars that will be used by indicator, you can pass another timeframe/symbol bars
periods int The value of the periods used for calculation.

Return Value

CommodityChannelIndex

Declaring Type

cAlgo.API.Internals.IIndicatorsAccessor

CommodityChannelIndex (3 of 3)

Signature

1
public abstract CommodityChannelIndex CommodityChannelIndex(MarketSeries marketSeries, int periods)

Parameters

Name Type Description
marketSeries MarketSeries
periods int

Return Value

CommodityChannelIndex

Declaring Type

cAlgo.API.Internals.IIndicatorsAccessor


Last update: March 23, 2023