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.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน