Skip to main content

Interface: RatioIndicatorOverrides

Charting Library.RatioIndicatorOverrides

Overrides for the 'Ratio' 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


negativefill.color

negativefill.color: string

Default value: ``


negativefill.transparency

negativefill.transparency: number

Default value: 0


negativefill.visible

negativefill.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


positivefill.color

positivefill.color: string

Default value: ``


positivefill.transparency

positivefill.transparency: number

Default value: 0


positivefill.visible

positivefill.visible: boolean

Default value: true