Due to popular demand, I'm pusblishing Fourier Extrapolator of Price w/ Projection Forecast.. As stated in it's twin indicator, this one is also multi-harmonic (or multi-tone) trigonometric model of a price series xi, i=1..n, is given by: xi = m + Sum( a*Cos(w*i) + b*Sin(w*i), h=1..H ) Where: xi - past price at i-th bar, total n past prices; m - bias; ...

1724

Fourier Extrapolator of Price is a multi-harmonic (or multi-tone) trigonometric model of a price series xi, i=1..n, is given by: xi = m + Sum( a *Cos(w *i) + b *Sin(w *i), h=1..H ) Where: xi - past price at i-th bar, total n past prices; m - bias; a and b - scaling coefficients of harmonics; w - frequency of a harmonic; h - harmonic number; H -...

129

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

2622

This is an experimental study designed to calculate polynomial regression for any order polynomial that TV is able to support. This study aims to educate users on polynomial curve fitting, and the derivation process of Least Squares Moving Averages (LSMAs). I also designed this study with the intent of showcasing some of the capabilities and potential applications...

1452

Rᴀꜰꜰ Rᴇɢʀᴇꜱꜱɪᴏɴ Cʜᴀɴɴᴇʟ (RRC) This study aims to automate Raff Regression Channel drawing either based on ZigZag Indicator or optionally User Preference The Raff Regression Channel , developed by Gilbert Raff, is based on a linear regression, which is the least-squares line-of-best-fit for a price series, with evenly spaced trend lines above and below . The...

2280

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

1052

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

439

Double RSI uses a Slow RSI combined with a Fast RSI to generate Buy and Sell signals. Least Squares Moving Average is only here for filtering signals. It is very good on certain stocks or ETFs on longer timeframes for swing trading. If you get a Buy signal look at the LSMA trend and if the candle is above the LSMA. It works great for me on lower timeframes...

260

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

705

This is an example of what can be done by combining Legendre polynomials and analytic signals. I get a way of determining a smooth period and relative adaptive strength indicator without adding time lag. This indicator displays the following: The Least Squares fit of a polynomial to a DC subtracted time series - a best fit to a cycle. The normalized...

77

This is based on a video I watched while searching for good indicators to use for scanning pumps across the crypto market. You can probably find the video by searching for "Pump Finder On 15 Minute Chart With Best Trading Indicators". The approach presented uses LSMA and BB B% to detect pumps. Results: It does detect many pumps, it also detects many...

142

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

157

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

126

Bollinger Bands with user selection options to calculate the moving average basis and bands from a variety of different moving averages. The user selects their choice of moving average, and the bands automatically adjust. The user may select a MA that reacts faster to volatility or slower/smoother. Added additional options to color the bands or basis based on...

132

This is the Stochastic/LSMA Buy and Sell indicator. The Buy signal is generated when the %K line crosses up above the %D line from the stochastics while the signal candle is green and has come after a red candle. The Sell signal is generated when the %K line crosses down below the %D line from the stochastics while the signal candle is red and has come after a...

42

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

147

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 slope of the LSMA to...

106

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

75