linearreg
LINEARREG
Type:
linearreg
• Category:indicators
Description
Linear Regression (line values)
Parameters
Name | Type | Description | Required | Default |
---|---|---|---|---|
dataExp | string | Price list | no | |
timeperiod | number | no | 14 |
Help
LINEARREG
Description
The LINEARREG worker is an indicator used in financial markets to calculate Linear Regression line values.
Overview
This worker calculates the Linear Regression line values based on a given set of price data and a specified time period. Linear Regression is a statistical method used to model the relationship between a dependent variable (in this case, price) and one or more independent variables (in this case, time).
What does this worker do?
The LINEARREG worker takes a list of price data and a time period as input, and outputs the Linear Regression line values for the given data.
How to interpret the results
The output of the LINEARREG worker represents the Linear Regression line values, which can be used to analyze and predict future price movements. A higher value indicates a stronger upward trend, while a lower value indicates a stronger downward trend.
Parameters
The following parameters can be passed to the LINEARREG worker:
Parameters Schema (JSON)
{
"dataExp": {
"type": "string",
"description": "Price list"
},
"timeperiod": {
"type": "number",
"default": 14
}
}
Parameters List
-
dataExp:
- Type:
string
- Description: Price list
- This parameter represents the list of price data used to calculate the Linear Regression line values.
- Type:
-
timeperiod:
- Type:
number
- Default:
14
- Description: The time period used to calculate the Linear Regression line values. A higher time period means the indicator will be less sensitive to price changes.
- Type:
By adjusting the timeperiod
parameter, you can customize the sensitivity of the Linear Regression indicator to suit your analysis needs.