Linear Regression

Description:

Linear Regression is a statistical technique used to model the relationship between a dependent variable and one or more independent variables. Financial markets often use it to analyze price trends and forecast future price movements based on historical data. By fitting a straight line (called the regression line) to the price data points, traders can identify the general direction of a trend and make informed decisions based on that information.

Input Parameters:

  • Length: Number of periods used in the calculation.
  • Offset: The offset value is used to access the data of any candle or indicator concerning the current candle, to access the current candle data it will use the offset value of "0", to access previous candle data "-1" offset value will be used, access data of previous to previous "-2" will be used.
  • Price Source: The specific data points (such as open, high, low, or close) from each candle in a financial chart that an indicator uses for mathematical computations, enabling the calculation of metrics like the average over a specified period.

Use Cases:

  • Using it with Broader Market Context: When interpreting Linear Regression indicators, a strong trend in a specific asset may be influenced by factors such as economic news, market sentiment, or other external forces.
  • Combine with other Indicators: With other technical analysis tools, such as moving averages or momentum oscillators, to validate signals and improve the accuracy of your trading strategy.

This feature can be used in:

  • Market Scanner
  • Strategy Tester
  • Dynamic Alerts
  • Multi-Factor Alerts
  • Smart Checklist

Do you want to learn more? Check out our Learning Center Article.

May 13, 2024

Contact Us

Not finding what you're looking for? Contact Us Directly