OPEN-SOURCE SCRIPT
Jarass regression lines

Double Linear Regression Ultimate + MA Ribbon (DLRC + MA)
The DLRC + MA indicator is an advanced technical analysis tool that combines double linear regression channels with a moving average ribbon (MA Ribbon). Designed for traders who want to simultaneously track trend, volatility, and potential support/resistance levels.
Key Features:
1. Double Linear Regression Channels:
• Inner Channel – shorter period, more sensitive to recent price movements.
• Outer Channel – longer period, reflects the long-term trend.
• Both channels display upper and lower boundaries and a midline.
• Optional logarithmic scale for price adjustment.
• Real-time R² values to assess regression accuracy.
2. MA Ribbon:
• Up to 4 different moving averages simultaneously.
• Supports SMA, EMA, SMMA (RMA), WMA, VWMA.
• Each MA can be individually enabled/disabled, with customizable period, source, and color.
• Helps identify trend direction and dynamic support/resistance levels.
3. Visualization:
• Channels are filled with semi-transparent colors for clarity.
• Midline for quick trend direction assessment.
• Label displays R² values of the channels in real time.
4. Suitable For:
• Short-term and long-term traders seeking a combination of linear regression analysis and classic trend-following tools.
• Useful for identifying overbought/oversold zones and potential trend reversal points.
Summary:
DLRC + MA combines statistical precision of linear regression with intuitive trend visualization via a MA ribbon. It provides quick insight into market direction, volatility, and potential turning points, all in one chart overlay.
The DLRC + MA indicator is an advanced technical analysis tool that combines double linear regression channels with a moving average ribbon (MA Ribbon). Designed for traders who want to simultaneously track trend, volatility, and potential support/resistance levels.
Key Features:
1. Double Linear Regression Channels:
• Inner Channel – shorter period, more sensitive to recent price movements.
• Outer Channel – longer period, reflects the long-term trend.
• Both channels display upper and lower boundaries and a midline.
• Optional logarithmic scale for price adjustment.
• Real-time R² values to assess regression accuracy.
2. MA Ribbon:
• Up to 4 different moving averages simultaneously.
• Supports SMA, EMA, SMMA (RMA), WMA, VWMA.
• Each MA can be individually enabled/disabled, with customizable period, source, and color.
• Helps identify trend direction and dynamic support/resistance levels.
3. Visualization:
• Channels are filled with semi-transparent colors for clarity.
• Midline for quick trend direction assessment.
• Label displays R² values of the channels in real time.
4. Suitable For:
• Short-term and long-term traders seeking a combination of linear regression analysis and classic trend-following tools.
• Useful for identifying overbought/oversold zones and potential trend reversal points.
Summary:
DLRC + MA combines statistical precision of linear regression with intuitive trend visualization via a MA ribbon. It provides quick insight into market direction, volatility, and potential turning points, all in one chart overlay.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
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.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
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.