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?
optionalcolors?: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?
optionalhistogram?:string
macd?
optionalmacd?:string
signal?
optionalsignal?:string
name?
optionalname?:string
Defined in: indicators/src/plugins.ts:300
Inherited from
ownPane?
optionalownPane?: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?
optionalflex?:number
minHeight?
optionalminHeight?:number
Inherited from
pane?
optionalpane?: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.