LinearRegTrendline

Description

The Linear Regression Trendline study plots the trendline of price for the entire chart based on Linear Regression analysis. This line is derived by approximating all the past prices of the specified type using the least-squares method.

Input Parameters

Parameter Description
price The price used in calculations.

Plots

Plot Description
MiddleLR The Linear Regression Trendline.

Example*

*For illustrative purposes only. Not a recommendation of a specific security or investment strategy.

You may also like
Tick Charts
Tick charts plot price based on the number of trades (ticks). A new bar (or candlestick, line ...
PairTradingLong
The Pair Trading Long strategy is part of Domenico D'Errico's pair trading system. By design, ...
Bar Chart
The Bar chart shows aggregated data for open, high, low, and close price values as a vertical ...