编辑精选
OPEN-SOURCE SCRIPT
已更新

Linear Regression (All Data)

46 864
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:
快照
版本注释
  • Add fix for intraday resolutions
版本注释
  • Fix index
版本注释
  • Add license

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。