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
PairTradingLong
The Pair Trading Long strategy is part of Domenico D'Errico's pair trading system. By design, ...
Monkey Bars
Before you start, watch this detailed video. The Monkey Bars chart mode displays price action ...
Time Charts
Time charts are probably the most popular chart type in terms of aggregation as the algorithm of ...