Linear Regression Channel

lin_reg_channel

Function Name: lin_reg_channel

Tags: Statistics

Category: Trend

This study draws a least-mean-square fit line of last period number of values and parallel lines above and below this line. These lines represent standard deviations of price values from the LMS fit line, multiplied by the StDevMultiple parameter. Two standard deviations will cover about 95% of values above and below the LMS fit line (assuming gaussian distribution of prices).

 

Parameters

Period

 

Default Value: 200  |  Minimum: 3  |  Maximum: 1000

 

Type: Numeric

StDevMultiple

 

Default Value: 2  |  Minimum: 0  |  Maximum: 5

 

Type: Numeric