LinearRegressionSlope

Description

The Linear Regression Slope study displays expected price change based on linear regression analysis using the least squares method. High positive values of the slope might indicate a buying opportunity, while low negative values can be considered a signal to sell or open a short position. Note that this type of prediction is purely mathematical as all calculations are based on least squares averaging of previous values.

Input Parameters

Parameter Description
price The price used in calculations.
length The number of bars used for linear regression calculation.

Plots

Plot Description
LRS The Linear Regression Slope plot.
ZeroLine The zero level.

Example*

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

You may also like
GoldenCrossBreakouts
The Golden Cross Breakouts strategy is a moving average-based technical indicator proposed by ...
PairTradingLong
The Pair Trading Long strategy is part of Domenico D'Errico's pair trading system. By design, ...