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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.