> For the complete documentation index, see [llms.txt](https://support.tiger.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.tiger.com/english/windows/chart/graphical-objects-in-chart-window/linear-regression.md).

# Linear Regression

A regression channel is a channel that when building, will adjust its boundaries by itself.

Enabled on the Drawing toolbar with the button **Linear Regression**.![](https://s3-eu-central-1.amazonaws.com/euc-cdn.freshdesk.com/data/helpdesk/attachments/production/80034709218/original/L5w_nCmgxsTQ-OCLZkHFhyrTIjVy3-pUNw.png?1630681415)

<figure><img src="https://s3-eu-central-1.amazonaws.com/euc-cdn.freshdesk.com/data/helpdesk/attachments/production/80034709312/original/EJiDsJZGlY0BHdO1wP6ExU-iW4D7ZjsWWA.png?1630681439" alt=""><figcaption></figcaption></figure>

### Linear Regression instrument settings

![](https://s3-eu-central-1.amazonaws.com/euc-cdn.freshdesk.com/data/helpdesk/attachments/production/80074202254/original/ab8uYaJA8bLtKDrSFySmms187vd9h3K4dw.png?1643887027)

#### Parameters

| Name            | Description                                                                                           |
| --------------- | ----------------------------------------------------------------------------------------------------- |
| Up Line         | This option enables / disables the display of the upper channel line on the chart.                    |
| Center Line     | This option enables / disables the display of the middle channel line on the chart.                   |
| Down line       | This option enables / disables the display of the lower channel line on the chart.                    |
| Guide Lines     | The option enables / disables the display of two vertical guides that bound the channel on the chart. |
| Regression Type | Sets the type of lines displayed on the chart.                                                        |

#### Line

| Name         | Description                                                                     |
| ------------ | ------------------------------------------------------------------------------- |
| Expand start | Extends all lines to the left of the chart beginning.                           |
| Expand end   | Extends all lines to the right from the chart beginning.                        |
| Line Color   | Sets the line color.                                                            |
| Line Width   | Sets the line width.                                                            |
| Line Style   | Sets the line display style: solid, dashes, point, dash-point, dash-two points. |

#### Object

| Name       | Description                                                |
| ---------- | ---------------------------------------------------------- |
| Visibility | Sets the parameter on which the channel will be displayed. |
| Position   | Display of a channel above or below the chart.             |

#### Control points

| Name        | Description                                                                     |
| ----------- | ------------------------------------------------------------------------------- |
| Time, Price | Ability to manually set the coordinates of points on the time and price scales. |
| Lock        | The option enables a position on the chart to be locked.                        |

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://support.tiger.com/english/windows/chart/graphical-objects-in-chart-window/linear-regression.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
