anchorMatchFactor
Documentation / @elitechart/core / anchorMatchFactor
Defined in: compare/compare-types.ts:46
Anchor-matched scaling factor.
Returns a scalar k such that primaryAnchor = compareAnchor × k.
Apply k to every compare-bar close to plot them on the primary's
price axis.
Parameters
primaryAnchor
number
compareAnchor
number
Returns
number