- 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

- 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
- Streams
- Brokers
- Chart
- More

Top authors: Least Squares Moving Average (LSMA)

Compute a rolling linear regression channel, the value of the bands at a precise point in time is equal to the last value of the corresponding extremity of a regression channel of equal length and mult at that point. The bands are made by adding/subtracting the RMSE of a linear regression to a least-squares moving average. Settings Length : Period of...

125

Plot a linear regression channel through the last length closing prices, with the possibility to use another source as input. The line is fit by using linear combinations between the WMA and SMA thus providing both an interesting and efficient method. The results are the same as the one provided by the built-in linear regression, only the computation differ. ...

265

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

1180

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

607

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

655

This is an experimental study designed using data from Bollinger Bands to determine price squeeze ranges and active levels of support and resistance. First, a set of Bollinger Bands using a Coefficient of Variation weighted moving average as the basis is calculated. Then, the relative percentage of current bandwidth to maximum bandwidth over the specified sampling...

501

Introduction I inspired myself from the MACD to present a different oscillator aiming to show more reactive/predictive information. The MACD originally show the relationship between two moving averages by subtracting one of fast period and another one of slow period. In my indicator i will use a similar concept, i will subtract a quadratic least squares moving...

193

You can choose one of these MA types in params: Simple Moving Average (SMA) Exponential Moving Average (EMA) Weighted Moving Average (WMA) Arnaud Legoux Moving Average (ALMA) Hull Moving Average (HMA) Volume-weighted Moving Average (VWMA) Least Square Moving Average (LSMA) Smoothed Moving Average (SMMA) Double Exponential Moving Average...

295

Lots of moving averages are based on a weighted sum, the most common ones being the simple (arithmetic) and linearly weighted moving average. The problems with the weighted sum approach is that when your moving average is a FIR filter then the number of operations increase with higher values of length, and when the weights are based on a complex calculation this...

118

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

194

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

236

This is an experimental study designed to visualize trend activity and volatility using a set of two Bollinger Bands calculated with a basis moving average type of your choice. The available moving averages in this script are: -Exponential Moving Average -Simple Moving Average -Weighted Moving Average -Volume Weighted Moving Average -Hull Moving Average ...

207

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

213

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

451

This is an experimental study inspired by Goichi Hosoda's Ichimoku Kinkō Hyō. In this study, a McGinley Dynamic replaces the Tenkan-Sen and Kaufman's Adaptive Moving Average replaces the Kijun-Sen. The cloud is calculated by taking the mean of the highest high and lowest low, adding a golden mean standard deviation above and below, and offsetting it over the...

170

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

47

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

224

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

163

Community & tools

For business

© 2020 TradingView

Made with

Made with

Select market data provided by ICE Data Services