Skip to content

Documentation / @finchart/indicators / AttachMacdLook

Interface: AttachMacdLook ​

Defined in: indicators/src/plugins.ts:409

The options shared by indicators that can create their own pane. Passing pane and ownPane together throws — a borrowed pane has nowhere to apply a size, and silently ignoring it would make the cause hard to track down.

Extends ​

Properties ​

colors? ​

optional colors?: object

Defined in: indicators/src/plugins.ts:417

histogram is one colour for every bar — it overrides the up/down slots the bars' tone would pick.

histogram? ​

optional histogram?: string

macd? ​

optional macd?: string

signal? ​

optional signal?: string


name? ​

optional name?: string

Defined in: indicators/src/plugins.ts:300

Inherited from ​

IndicatorNameOption.name


ownPane? ​

optional ownPane?: object

Defined in: indicators/src/plugins.ts:254

The size of the own pane to create. Omit it for OWNED_PANE_LAYOUT (flex 0.35, minHeight 60). Meaningless if pane is given — giving both throws ContractError.

flex? ​

optional flex?: number

minHeight? ​

optional minHeight?: number

Inherited from ​

OwnedPaneOptions.ownPane


pane? ​

optional pane?: SeriesHost

Defined in: indicators/src/plugins.ts:415

Which pane to mount on. Omit it to create a new pane — MACD's scale differs from price, so overlapping them breaks the value axis. Size it with ownPane.

Overrides ​

OwnedPaneOptions.pane