Skip to content

charton API


charton API / @chart-on/indicators / regressionChannelIndicator

Variable: regressionChannelIndicator ​

const regressionChannelIndicator: IndicatorDef<RegressionChannelInputs>

Defined in: index.ts:3581

Linear regression channel on the price pane: a least-squares line through the last length values of the source (all of them when there are fewer), with bands mult standard deviations of the values around it (population form, divided by the bar count), as the regression trend drawing fits it. It moves with each new bar, so it is drawn over those bars only.