Indicators

Updated:

Feb 21, 2026

Linear Regression

Linear Regression

No headings found on page

The Linear Regression indicator is a tool in technical analysis that calculates and displays a trend line based on the linear regression method, that is, a line that minimizes the distance to price points over a specific period. This indicator helps traders identify the direction of the trend and predict future price movements by identifying dynamic support and resistance zones.

Using Settings

Clicking on the indicator settings icon will open its configuration window, within which you can make several choices regarding the indicator's functionality.

Parameters

In the Parameters section you can select:

  • Input Data: The price data to use for calculation (Close, Open, High, Low and Volume)

  • Length: The number of periods over which the linear regression line is calculated (default: 21 periods)

Subgraph

In the Subgraph section you can change the colors and style of the line:

  • Regression Line Color: Set the color of the regression line

  • Secondary Color: Set an optional secondary color

  • Subgraph Style: Choose the display style

  • Line Style: Define the line style 

  • Line Width: Define the width of the line

  • Use Secondary Axis: Option to display on a secondary axis

Table of Contents

No headings found on page

Tools for futures, currency & options involves substantial risk & is not appropriate for everyone. Only risk capital should be used for trading.

Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.

Tools for futures, currency & options involves substantial risk & is not appropriate for everyone. Only risk capital should be used for trading. Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.

Deepcharts © 2026 All right reserved

Tools for futures, currency & options involves substantial risk & is not appropriate for everyone. Only risk capital should be used for trading. Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.

Deepcharts © 2026 All right reserved