R1984

Linear Regression Cloud [R1984]

R1984 Telah dikemas kini   
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/L...on-Cloud-Pine-Script
Nota Keluaran:
Update screenshot
Nota Keluaran:
Update screenshot.
Nota Keluaran:
Added two additional linear regression plots. Default settings for the four plots are 15, 30, 60, and 120 days.
Nota Keluaran:
Fix preview image. :|
Nota Keluaran:
Fix preview image again. :(
Nota Keluaran:
Fix preview image one more time ffs. :'(
Nota Keluaran:
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.
Nota Keluaran:
Fix screenshot
Nota Keluaran:
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.
Nota Keluaran:
Fix screenshot ffs.
Nota Keluaran:
Ported to Pine v4.

More goodies coming... Soon™!
Nota Keluaran:
Fix preview chart.

Skrip dilindungi
Skrip ini diterbitkan secara sumber tertutup dan anda boleh menggunakannya dengan bebas. Anda boleh menyukainya untuk menggunakannya pada carta. Anda tidak dapat melihat atau mengubah kod sumbernya.
Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?