IndicatorBuilt inTrend

Linear Regression Channel

Use on chart

Loading the chart…

Live chart with this indicator added. Change the symbol and timeframe inside the chart. 00 uses3 views0

What the Linear Regression Channel shows

Linear Regression Channel: a best-fit trend line through recent prices with bands set by standard deviation.

The Linear Regression Channel fits a straight line to the most recent prices using the least squares method. It then draws an upper and a lower line at a chosen number of standard deviations from that line. The shaded area between them holds most of the price action in the window. The middle line shows the average trend, and its slope shows direction.

Traders read price near the upper line as stretched upward and near the lower line as stretched downward, relative to the trend. A break outside the channel can point to a change in pace or direction. In a strong trend, price may ride along one edge of the channel. The channel depends on the chosen window, so changing the count changes the picture.

On Free Charts the defaults are a Count of 100 bars, an Upper Deviation of 2 and a Lower Deviation of 2, on the close price. It is drawn only over the last Count bars at the right edge of the chart. For intraday Nifty or Bank Nifty, traders often use a smaller count, such as 50.

How to use it

  1. Click Use on chart to add it with the default settings.
  2. Open its settings to change the count, the upper and lower deviation or the source.
  3. Check the slope of the middle line, and see how price behaves near the outer lines.

Settings and what it draws

Settings

InputTypeDefault
CountWhole number100
Upper DeviationNumber2
Lower DeviationNumber2
SourcePrice sourceclose

Draws on the price chart

  • Linear RegressionLine
  • UpperLine
  • LowerLine

Comments (0)

    No comments yet. Be the first to say how it worked for you.

    More built-in tools

    See all
    • Majority Rule

      Majority Rule shows the percentage of the last bars that closed higher than the bar before. Majority Rule is a simple measure of how often price has gone up over a recent window, as a percentage of…

      Other 101
    • Historical Volatility

      Shows the annualised standard deviation of log price returns over the last N bars, as a percentage. Historical Volatility measures how much price has actually moved. It takes the logarithm of the…

      Volatility 100
    • Double EMA

      The double exponential moving average: an EMA built to remove part of the lag of a normal EMA. The Double Exponential Moving Average (DEMA) was introduced by Patrick Mulloy. It takes an EMA and an…

      Trend 010