Skip to main content

CommodityChannelIndexIndicatorOverrides

Interface

Overrides for the 'Commodity Channel Index' indicator.

Use these properties to customize indicator via IChartWidgetApi.createStudy and IStudyApi.applyOverrides.

Indexable

[key: string]: StudyOverrideValueType

Properties

hlines background.color

Default value: #2196F3

Type

string


hlines background.transparency

Default value: 90

Type

number


hlines background.visible

Default value: true

Type

boolean


lowerlimit.color

Default value: #787B86

Type

string


lowerlimit.linestyle

Default value: 2

Type

number


lowerlimit.linewidth

Default value: 1

Type

number


lowerlimit.value

Default value: -100

Type

number


lowerlimit.visible

Default value: true

Type

boolean


plot.color

Default value: #2196F3

Type

string


plot.display

Default value: 15

Type

number


plot.linestyle

Default value: 0

Type

number


plot.linewidth

Default value: 1

Type

number


plot.plottype

Default value: line

Type

LineStudyPlotStyleName


plot.trackprice

Default value: false

Type

boolean


plot.transparency

Default value: 0

Type

number


smoothed ma.display

Default value: 0

Type

number


smoothed ma.linestyle

Default value: 0

Type

number


smoothed ma.linewidth

Default value: 1

Type

number


smoothed ma.plottype

Default value: line

Type

LineStudyPlotStyleName


smoothed ma.trackprice

Default value: false

Type

boolean


smoothed ma.transparency

Default value: 0

Type

number


upperlimit.color

Default value: #787B86

Type

string


upperlimit.linestyle

Default value: 2

Type

number


upperlimit.linewidth

Default value: 1

Type

number


upperlimit.value

Default value: 100

Type

number


upperlimit.visible

Default value: true

Type

boolean