- Ideas
- Markets
- Cryptocurrencies
- Currencies
- Stocks
- Earnings Calendar
- Stock Screener
- Large-Cap
- Top Gainers
- Top Losers
- Most Active
- Most Volatile
- Overbought
- Oversold
- All Time High
- All Time Low
- Sector & Industry

Apple, Advanced Micro Devices Inc, Amazon Com Inc, TESLA INC, NETFLIX INC, Facebook Inc

- Indices
S&P 500, Nasdaq Composite, Dow 30, Nikkei 225, DAX Index, FTSE 100

- Futures
- Bonds
US 10Y, Euro Bund, Germany 10Y, Japan 10Y Yield, UK 10Y, India 10Y

- CFDs
Gold, Brent Oil, Crude Oil, CFDs on Natural Gas, Palladium, Silver

- Scripts
- Oscillators
- Centered Oscillators
- Volatility
- Trend Analysis
- Volume
- Moving Average
- Exponential Moving Average (EMA)
- Weighted Moving Average (WMA)
- Simple Moving Average (SMA)
- Hull Moving Average (HMA)
- Kaufman's Adaptive Moving Average (KAMA)
- Smoothed Moving Average (SMMA)
- Variable Index Dynamic Average (VIDYA)
- Volume-weighted Moving Average (VWMA)
- Fractal Adaptive Moving Average (FRAMA)
- Double Exponential Moving Average (DEMA)

- Breadth Indicators
- Bill Williams Indicators

- Screener
- Brokers
- Chart
- More

Top authors: leastsquares

Recent

All time

Introduction At the start of 2019 i published my first post "Approximating A Least Square Moving Average In Pine", who aimed to provide alternatives calculation of the least squares moving average (LSMA), a moving average who aim to estimate the underlying trend in the price without excessive lag. The LSMA has the form of a linear regression ax + b where x is a...

113

Quick script made by reusing some functions written for other projects. This is a variation on the least squares moving average, but with custom weights on the linear regression. This gives higher weights to recent values and values with high volume. Behaves very similarly to my volume weighted Hull moving average, especially with the hull smoothing option turned on.

38

Similar to Bollinger Bands but adjusted for momentum. Instead of having the centerline be a simply moving average and the bands showing the rolling variance, this does a linear regression, and shows the LSMA at the center, while the band width is the average deviation from the regression line instead of from the SMA. This means that unlike for normal Bollinger...

26

This is an experimental study which calculates a linear regression channel over a specified period or interval using custom moving average types for its calculations. Linear regression is a linear approach to modeling the relationship between a dependent variable and one or more independent variables. In linear regression, the relationships are modeled using...

504

Introduction Forecasting is a blurry science that deal with lot of uncertainty. Most of the time forecasting is made with the assumption that past values can be used to forecast a time series, the accuracy of the forecast depend on the type of time series, the pre-processing applied to it, the forecast model and the parameters of the model. In tradingview we...

304

Introduction The trend step indicator family has produced much interest in the community, those indicators showed in certain cases robustness and reactivity. Their ease of use/interpretation is also a major advantage. Although those indicators have a relatively good fit with the input price, they can still be improved by introducing least-squares fitting on their...

304

Introduction The estimation of a least squares moving average of any degree isn't an interesting goal, this is due to the fact that lsma of high degrees would highly overshoot as well as overfit the closing price, which wouldn't really appear smooth. However i proposed an estimate of an lsma of any degree using convolution and a new sine wave series, all the...

82

Introduction A simple oscillator using a modified lowess architecture, good in term of smoothness and reactivity. Lowess Regression Lowess or local regression is a non-parametric (can be used with data not fitting a normal distribution) smoothing method. This method fit a curve to the data using least squares. In order to have a lowess regression one must use...

54

Introduction It is possible to use a wide variety of filters for the estimation of a least squares moving average, one of the them being the Kaufman adaptive moving average (KAMA) which adapt to the market trend strength, by using KAMA in an lsma we therefore allow for an adaptive low lag filter which might provide a smarter way to remove noise while preserving...

70

Introduction The ability of the least squares moving average to provide a great low lag filter is something i always liked, however the least squares moving average can have other uses, one of them is using it with the z-score to provide a fast smoothing oscillator. The Indicator The indicator aim to provide fast and smooth results. length control the...

61

Strategy based on going long on bottom turning point of a user-definable MA, and short at the top turning point. Can set any length of MA, and choose between SMA or EMA.

72

Introduction I already mentioned various problems associated with the lsma, one of them being overshoots, so here i propose to use an lsma using a developed and adaptive form of 1st order polynomial to provide several improvements to the lsma. This indicator will adapt to various coefficient of determinations while also using various recursions. More In Depth...

56

Thank you to alexgrover for putting me wide to this, after putting up with long conversations and stupid questions. Follow him and behold: www.tradingview.com What is this? This is simply the function for a Least Squares Moving Average. You can render this on the chart by using the linreg() function in Pine. Personally I like to use the...

29

Introduction Another lsma estimate, i don't think you are surprised, the lsma is my favorite low-lag filter and i derived it so many times that our relationship became quite intimate. So i already talked about the classical method, the line-rescaling method and many others, but we did not made to many IIR estimate, the only one was made using a general filter...

34

Introduction The ability to reduce lag while keeping a good level of stability has been a major challenge for smoothing filters in technical analysis. Stability involve many parameters, one of them being overshoots. Overshoots are a common effect induced by low-lagging filters, they are defined as the ability of a signal output to exceed a target input. This...

44

An adaptive filtering technique allowing permanent re-evaluation of the filter parameters according to price volatility. The construction of this filter is based on the formula of moving ordinary least squares or lsma, the period parameter is estimated by dividing the true range with its highest. The filter will react faster during high volatility periods and...

38

Community & Tools

For Business

© 2020 TradingView

Stock Charts & Forex Charts

Stock Charts & Forex Charts

Made with

From the creators of MultiCharts

Select market data provided by ICE Data Services

This website uses cookies to ensure you get the best experience on our website. To learn more about cookies, including how to control cookies, please read our Cookies Policy.

Got it