编辑精选
OPEN-SOURCE SCRIPT
已更新

Linear Regression (All Data)

45 373
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提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。