PROTECTED SOURCE SCRIPT
已更新 Linear Regression Cloud [R1984]

TradingView Pine script to compare fast vs slow linear regression lines measured in days.
This indicator compares fast and slow linear regression lines, and that's it!
The fast line crossing above the slow line is generally bullish. The fast line crossing below the slow line is generally bearish. The lines and the space between them tend to act as resistance and support relative to the price movement against them.
30 days as the fast line and 60 days as the slow line appear to work well for BTC/USD. Check out multiples of that too: 15/30, 45/90, and 60/120.
Source code available here: github.com/1984bot/Linear-Regression-Cloud-Pine-Script
This indicator compares fast and slow linear regression lines, and that's it!
The fast line crossing above the slow line is generally bullish. The fast line crossing below the slow line is generally bearish. The lines and the space between them tend to act as resistance and support relative to the price movement against them.
30 days as the fast line and 60 days as the slow line appear to work well for BTC/USD. Check out multiples of that too: 15/30, 45/90, and 60/120.
Source code available here: github.com/1984bot/Linear-Regression-Cloud-Pine-Script
版本注释
Update screenshot版本注释
Update screenshot.版本注释
Added two additional linear regression plots. Default settings for the four plots are 15, 30, 60, and 120 days.版本注释
Fix preview image. :|版本注释
Fix preview image again. :(版本注释
Fix preview image one more time ffs. :'(版本注释
Lots of updates:- Set time interval for regression length inputs; no longer locked to days only
- Up to six rolling linear regression plots
- Improved gradient shading
- Adjustments for light vs dark backgrounds
- Color themes
- Probably more that I can't remember
Enjoy this while it lasts; I will likely be making it private soon.
版本注释
Fix screenshot版本注释
Fixed a bug where the script would fail to compile if the regression length exceeded Pine's 15,000 candle limit. This typically only occurred on low timeframe charts (<15 minute candles).Now if a regression length exceeds the 15K limit, the plot will be disabled. Don't blame me; blame TV for crippling Pine.
版本注释
Fix screenshot ffs.版本注释
Ported to Pine v4.More goodies coming... Soon™!
版本注释
Fix preview chart.受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。