@pond-ts/financial API Reference
    Preparing search index...

    Function linearRegressionAt

    • The fitted line read at one x — the projection every regression study reports.

      x is in the window's own coordinates, the ones linearRegressionValues documents: period − 1 is the window's last bar (TA-Lib LINEARREG), period is one bar past it (TA-Lib TSF), and 0 would be the intercept itself.

      Row-aligned and length-preserving; a bar with no fit stays NaN.

      Parameters

      Returns Float64Array