Linear Regression Angle
Under the Hood
LINEARREG_ANGLE calculates the angle in degrees of the linear regression line over a specified period (default 14), providing a measure of trend steepness. The angle is derived from the arctan of the regression slope, converted to degrees. Positive angles indicate uptrends (0 to 90°), negative angles indicate downtrends (0 to -90°), and angles near zero suggest sideways markets. Steeper angles (higher absolute values) indicate stronger, more aggressive trends. This converts the abstract concept of 'slope' into an intuitive angular measurement.
In Practice
Cryptocurrency traders use LINEARREG_ANGLE to quantify trend strength and steepness in intuitive units. Angles above +45° suggest aggressive uptrends; below -45° indicate aggressive downtrends; between -15° and +15° suggest ranging markets. LINEARREG_ANGLE excels as a trend strength filter - only taking trend-following trades when the angle exceeds a threshold (e.g., |angle| > 30°). Combined with LINEARREG for trend direction and TSF for forecasts, LINEARREG_ANGLE provides comprehensive statistical trend analysis. It's popular among systematic traders who need quantifiable trend metrics for automated decision rules.
Build automated strategies using Linear Regression Angle (Trend Steepness) and hundreds of other indicators. Connect to your favourite exchange and let the bot execute trades 24/7 — no code required.