Type of price to use (Open, High, Low, Close, etc.)
Return Value
Returns an object with the following properties:
StartValue: number - Starting value of the regression line
EndValue: number - Ending value of the regression line
Height: number - Channel height (maximum deviation from regression line)
Top: number - Upper channel line value
Bottom: number - Lower channel line value
Description
The LRCChannelParams method calculates parameters for a Linear Regression Channel. This includes:
The regression line (middle line)
Channel height based on maximum deviation
Upper and lower channel lines
The Linear Regression Channel is a technical analysis tool that combines linear regression with channel lines to show the trend direction and potential support/resistance levels.
Available Price Types can be found in the TPriceType section.