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 ...

82

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...

12

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.

4

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...

2021

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...

642

The Natural Market Slope was created by Jim Sloman and this is one of his many Ocean Indicators which I'm publishing thanks to receiving source materials from @altcoinz and @tmac87. I did completely rewrite the formula for this indicator but I commented out the original calculation so you can compare or just for study purposes. I like this version better because...

100

I used MACD to find peak and trough points in the Linear Regression Slope

99

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...

2159

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...

1553

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...

834

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...

672

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...

349

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

420

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

560

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...

518