Library "LinearRegressionLibrary" contains functions for fitting a regression line to the time series by means of different models, as well as functions for estimating the accuracy of the fit. Linear regression algorithms: RepeatedMedian(y, n, lastBar) applies repeated median regression (robust linear regression algorithm) to the input time series...

34

Shows the slope of KAMA by comparing last bar KAMA value to current bar KAMA value. Very simple, yet very effective determining the trend or volatility of market. When slope is very small market can be in range, hence it can be used as volatility filter for trend traders.

16

Greetings to all! As you probably know, TradingView now supports interactive inputs that can be directly set on a chart. I decided to build a tool that takes advantage of this incredible feature. This tool applies robust linear regression within a time interval on the chart that you can select interactively. Method The script uses an algorithm known as ...

163

Tʜᴇ Lɪɴᴇᴀʀ Rᴇɢʀᴇꜱꜱɪᴏɴ Cʜᴀɴɴᴇʟꜱ Linear Regression Channels are useful measure for technical and quantitative analysis in financial markets that help identifying trends and trend direction. The use of standard deviation gives traders ideas as to when prices are becoming overbought or oversold relative to the long term trend The basis of a linear regression...

2178

This script uses the Repeated Median (RM) estimator to construct a linear regression channel and thus offers an alternative to the available codes based on ordinary least squares. The RM estimator is a robust linear regression algorithm. It was proposed by Siegel in 1982 (1) and has since found many applications in science and engineering for linear trend...

883

This indicator tries to identify ranging and trending markets. It measures the angle of a Moving Average in order to filter out ranging markets. The idea is to only enter a trend following trade if the slope is steep enough. In order to create this indicator, I used a strategy script from bennef called "Trend Angle BF" and slightly modified it to transform it...

711

This is a study geared toward identifying price trends using Quadratic regression. Quadratic regression is the process of finding the equation of a parabola that best fits the set of data being analyzed. In this study, first a quadratic regression curve is calculated, then the slope of the curve is calculated and plotted. Custom bar colors are included. The...

671

Version 2 - Linear Regression Slope. This version will have more freedom on picking your own length for all the Inputs. One of the main reason I changed it is because, Slope calculation on transition period was not being computed properly. Because the Version 1, looks back the length assigned, and compute the slope based on two candle readings, could be 10 days...

2174

This strategy is based on the slope of the EMA130. Over that slope, the script calculates two EMAs (9,21) which are used to generate the main entry and exit signal. In particular, the strategy enters a LONG position when EMA9 > EMA21. On the contrary, it closes the LONG and opens a SHORT when EMA9 < EMA21. When the slope of the EMA130 is rising, it means that...

1599

This strategy compares the slope of a Moving Average (of your choosing) to the slope of a Momentum Indicator (of your choosing). Zero is the center line because 0 slope means sideways movement. When both lines cross your buy threshold, it buys. When both lines cross your Sell threshold, it sells. The lines may look choppy, but that is probably because it is...

358

The Linear Regression Slope is based on the Curve. List of All my Indicators - www.tradingview.com

565

This is version 1 of the Linear Regression Slope. In ideal world the Linear regression slope values will remain same for any time period length. because the equation is y = mx+b, where m is the slope. All I did here is m = y/x The Main Purpose of this indicator is to see, if the Trend is accelerating or decelerating. The first Blue bar will caution when a...

526

Shows slopes of macd line, signal line and histogram. A negative and rising slope shows improvement within a downtrend. A positive and falling slope shows deterioration within an uptrend.

180

EXPERIMENTAL: A helper script to map the Anti derivative slopes.

427

This indicator plots the trend of the angles made by the chosen means. This trend when analysed over multiple timeframes as well as different lengths can give an indication of the trend in short medium and long term. For example, in any particular timeframe, when the 20 EMA turns a negative arctan, it signifies that on a shorter timeframe (than the current...

168