- 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

LAND SECURITIES GROUP PLC ORD 10 2/3P, BURFORD CAPITAL LIMITED ORD NPV, SIRIUS MINERALS PLC ORD 0.25P, BIDSTACK GROUP PLC ORD 0.5P, LLOYDS BANKING GROUP PLC ORD 10P, TCG

- Indices
FTSE 100, DAX Index, Euro Stoxx 50, S&P 500, Nasdaq Composite, Nikkei 225

- 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: Least Squares Moving Average (LSMA)

Recent

All time

Impulse responses can fully describe their associated systems, for example a linearly weighted moving average (WMA) has a linearly decaying impulse response, therefore we can deduce that lag is reduced since recent values are the ones with the most weights, the Blackman moving average (or Blackman filter) has a bell shaped impulse response, that is mid term values...

99

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

146

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.

43

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

31

The "AC-P" version of Jaggedsoft's RSX Divergence and Everget's RSX script is my personal customized version of RSX with the following additions and modifications: LSMA-D line that averages in three LSMA components to form a composite, the LSMA-D line. Offset for the LSMA-D line is set to -2 to offset latency from averaging togther the LSMA components to form a...

460

Introduction Technical analysis make often uses of classical statistical procedures, one of them being regression analysis, and since fitting polynomial functions that minimize the sum of squares can be achieved with the use of the mean, variance, covariance...etc, technical analyst only needed to replace the mean in all those calculations with a moving average,...

147

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

89

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

326

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

586

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

76

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

346

Introduction Strategy based on the bilateral stochastic oscillator, this oscillator aim to detect trends and possible reversal points of the current trend. The oscillator is composed of 1 bull line in blue and 1 bear line in red as well as a signal line in orange, the strategy have many options such as two different strategy framework and a martingale mode. If...

158

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

36

Introduction I already estimated the least-squares moving average numerous times, one of the most elegant ways was by rescaling a linear function to the price by using the z-score, today i will propose a new smoother (FLSMA) based on the line rescaling approach and the inverse fisher transform of a scaled moving average error with the goal to provide an...

97

This script allows you to add two moving averages to a chart, where the type of moving average can be chosen from a collection of 15 different moving average algorithms. Each moving average can also have different lengths and crossovers/unders can be displayed and alerted on. The supported moving average types are: Simple Moving Average ( SMA ) Exponential...

149

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

Introduction The fast z-score is a modification of the classic z-score that allow for smoother and faster results by using two least squares moving averages, however oscillators of this kind can be hard to read and modifying its shape to allow a better interpretation can be an interesting thing to do. The Indicator I already talked about the fisher transform,...

58

Its a pretty old script and i have absolutely no idea how i did it, the code kinda look like the phase wrapping/unwrapping formula. This indicator is an oscillator, sometimes its reactivity is impressive so i think its a good idea to post it, feel free to experiment with it.

51

Community & Tools

For Business

© 2020 TradingView.
Made with

Select market data provided by ICE Data Services