## Regression Line

A **Regression Line** is a line of best fit through the selected data points.

This line is calculated using a linear regression calculation.

#### Position and Edit

To apply a regression line to a price chart, left click at the date the regression line is to be calculated from, then move the cursor to the date of the regression line's end point and click a second time.

The price level at which the clicks occur does not matter. The software uses a mathematical formula to calculate a gradient using the values of the price data type for each trading interval between the selected dates.

The default price data type is **Close**. Users can change the data type by selecting **Open, High, Low** or **Close** from the **Calculate Using** command's drop-down menu in the **Regression Line Properties** dialog box.

In the above example, the green dashed **Regression Line** is calculated using the **Close** price data, while the red dashed **Regression Line** is calculated for the same time-period using the Low price data.

After placing the line on the chart, it can be moved and resized by dragging the "handles" common to Your SOFTWARE tools.

As the regression line is re-positioned or resized, its gradient (both angle and length) will be recalculated and re-plotted onto the screen.

The line's position and size can also be manually altered by entering new **Start / End Dates** in the **Regression Line Properties** dialog box.

#### Properties and Format

Double-click the line to open the **Regression Line** properties dialog box.

Use the standard properties functionality to adjust the line's position (date), color and style properties.

#### Pop-up Menu

The pop-up menu (single right mouse click) for **Regression Line** has the standard links: **Properties, Cut, Copy, Delete, Lock** and **Help**.

In addition to the standard links, the pop-up menu includes the **Parallel Trendline** command.

Click this to create a parallel line.

**Note** - This function will create one parallel Trendline, __not__ a duplicate **Regression** line. The resulting line is not a **Regression** line and will not have regression line functionality and its gradient will not be recalculated. When you move or resize the new line it will adhere to standard trendline functionality.

## Related

- Drawing Tools
- Access Panel
- Tool Palette
- Tools on Line Tab
- Andrews Pitchfork
- Arrowline
- Circle
- Cursor
- Fibonacci Retracement
- Horizontal Line
- Option Scanner
- Price Target
- Range Projector
- Rectangle
- Risk to Reward
- Text
- Trendline
- Triangle
- Tubbs 2 Point Swing Rule
- Tubbs 3 Point Swing Rule
- Tubbs Law of Proportion
- Tubbs Oblique Line
- Vertical Line
- Wave Extension
- Tools on Gann Tab
- ABC Pressure Points
- Balance Time Tool
- Calendar Bar Count
- Gann Angle
- Gann Emblem
- Gann Fan
- Gann Line
- Tools on Gann2 Tab
- About Gann Boxes and Squares
- Gann Square Properties
- 144 Gann Square
- 168 Gann Square
- 458 Gann Square
- 52 Gann Square
- Gann Box
- Gann Square
- Preset Gann Square
- Range Square
- Square of High/Low
- Square of Nine
- Square of the Range
- Tools on Channel Tab
- About Regression Lines and Channels
- Linear Regression Channel
- Price Percentage Channel
- Raff Regression Channel
- Regression Percentage Channel
- Standard Deviation Channel
- Common Tool Behavior
- Lock / Unlock
- Select a Tool
- Extend Lines
- Parallel Lines
- Common Tool Functionality
- Appearance
- Default Settings

## Comments