charton API / @chart-on/core / index / RegressionChannel
Interface: RegressionChannel
Defined in: packages/core/src/drawing/bar-studies.ts:73
Least-squares line through the closes of a run of bars, with x the bar offset from its first bar.
Properties
count
count:
number
Defined in: packages/core/src/drawing/bar-studies.ts:75
Bars fitted.
deviation
deviation:
number
Defined in: packages/core/src/drawing/bar-studies.ts:81
Standard deviation of the closes around the line (population form).
intercept
intercept:
number
Defined in: packages/core/src/drawing/bar-studies.ts:77
Fitted price at the first bar.
r
r:
number
Defined in: packages/core/src/drawing/bar-studies.ts:83
Correlation of the closes with the bar offset, -1 to 1; 0 when either is flat.
slope
slope:
number
Defined in: packages/core/src/drawing/bar-studies.ts:79
Price change per bar.