Documentation / @finchart/indicators / AttachCrLook
Interface: AttachCrLook
Defined in: indicators/src/plugins.ts:1319
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:1323
The band and its four averages. The averages share one colour by default — the legend tells them apart by name (the window from a source, MA1…MA4 or labels from a node).
cr?
optionalcr?:string
ma1?
optionalma1?:string
ma2?
optionalma2?:string
ma3?
optionalma3?:string
ma4?
optionalma4?:string
labels?
optionallabels?: [string,string,string,string]
Defined in: indicators/src/plugins.ts:1329
The four averages' legend names. From a source they read MA(w) with each window; from a node the windows are not known, so they read MA1…MA4 unless you name them here.
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:1321
Omit it to create a new pane, with a line at 100 (the balance point); the axis stays autoScale.