Skip to main content
Version: v26

MACDIndicatorOverrides

Interface

Overrides for the 'MACD' indicator.

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

Indexable

[key: string]: StudyOverrideValueType

Properties

histogram.color

Default value: #FF5252

Type

string


histogram.display

Default value: 15

Type

number


histogram.linestyle

Default value: 0

Type

number


histogram.linewidth

Default value: 1

Type

number


histogram.plottype

Default value: columns

Type

LineStudyPlotStyleName


histogram.trackprice

Default value: false

Type

boolean


histogram.transparency

Default value: 0

Type

number


macd.color

Default value: #2196F3

Type

string


macd.display

Default value: 15

Type

number


macd.linestyle

Default value: 0

Type

number


macd.linewidth

Default value: 1

Type

number


macd.plottype

Default value: line

Type

LineStudyPlotStyleName


macd.trackprice

Default value: false

Type

boolean


macd.transparency

Default value: 0

Type

number


signal.color

Default value: #FF6D00

Type

string


signal.display

Default value: 15

Type

number


signal.linestyle

Default value: 0

Type

number


signal.linewidth

Default value: 1

Type

number


signal.plottype

Default value: line

Type

LineStudyPlotStyleName


signal.trackprice

Default value: false

Type

boolean


signal.transparency

Default value: 0

Type

number