A Linear Regression line is a derivative from Line.
When you select “Add Linear Regression” from the chart contextual menu, the program is expecting two clicks defining two days. Between those two days, a linear regression line is calculated based on the close values.