trading-signals
    Preparing search index...

    Class LinearRegression

    线性回归(LINREG) 类型:趋势

    通过最小二乘法在给定周期内将一条直线拟合到价格数据上。直线的斜率指示趋势的方向和强度。 其用法类似于移动平均线,但数学上更精确,因为它最小化了价格点与拟合直线之间的平方距离。

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    interval: number
    prices: number[] = []

    Accessors

    Methods