Linear Regression (All Data)

everget Wizard Updated   
The tool plots a linear regression line using the entire history of an instrument on chart. There are may be issues on intraday timeframes less then 1h. On daily, weekly and monthly charts it works without problem.

If an instrument has a lot of data points, you may not see the line (this is TV feature):

To fix that you need to scroll your chart to the left and find the starting point of the line:

And then do an auto-scroll to the last bar:
Release Notes:
  • Add fix for intraday resolutions
Release Notes:
  • Fix index
Release Notes:
  • Add license

Freelance -> Telegram: @alex_everget

A list of Free indicators:

A list of Paid indicators:

Earn $30:
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.


The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?