编辑精选
OPEN-SOURCE SCRIPT

Linear Regression (All Data)

已更新
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
Linear RegressionlineartrendregressionregressionanalysisTrend Analysis

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


Freelance -> Telegram: @alex_everget

A list of FREE indicators:
bit.ly/2S7EPuN

A list of PAID indicators:
bit.ly/33MA81f

Earn $15:
tradingview.com/pricing/?share_your_love=everget
更多:

免责声明