Skip to content

Documentation / @finchart/indicators / attachSqueezeMomentum

Function: attachSqueezeMomentum() ​

attachSqueezeMomentum(options): Plugin<PaneHost, OwnedPaneIndicatorApi<SqueezeMomentum>>

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

Mounts Squeeze Momentum — the momentum as a histogram and the two squeeze states as marker rows on its zero line (a zero-height bar still draws one pixel). The marker rows are registered without a name: a legend line reading "0.00" would say nothing, and node.out.squeezeOn is there for anything that wants the state as data.

Parameters ​

options ​

AttachSqueezeMomentumOptions

Returns ​

Plugin<PaneHost, OwnedPaneIndicatorApi<SqueezeMomentum>>