Skip to main content

Interface: SpreadIndicatorOverrides

Charting Library.SpreadIndicatorOverrides

Overrides for the 'Spread' indicator.

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

Indexable

▪ [key: string]: StudyOverrideValueType

Properties

baseline.color

baseline.color: string

Default value: rgba(0, 0, 0, 0)


baseline.display

baseline.display: number

Default value: 0


baseline.linestyle

baseline.linestyle: number

Default value: 0


baseline.linewidth

baseline.linewidth: number

Default value: 2


baseline.plottype

baseline.plottype: LineStudyPlotStyleName

Default value: line


baseline.trackprice

baseline.trackprice: boolean

Default value: false


baseline.transparency

baseline.transparency: number

Default value: 0


negative fill.color

negative fill.color: string

Default value: ``


negative fill.transparency

negative fill.transparency: number

Default value: 0


negative fill.visible

negative fill.visible: boolean

Default value: true


plot.color

plot.color: string

Default value: #800080


plot.display

plot.display: number

Default value: 15


plot.linestyle

plot.linestyle: number

Default value: 0


plot.linewidth

plot.linewidth: number

Default value: 2


plot.plottype

plot.plottype: LineStudyPlotStyleName

Default value: line


plot.trackprice

plot.trackprice: boolean

Default value: false


plot.transparency

plot.transparency: number

Default value: 35


positive fill.color

positive fill.color: string

Default value: ``


positive fill.transparency

positive fill.transparency: number

Default value: 0


positive fill.visible

positive fill.visible: boolean

Default value: true