Ehlers Linear Extrapolation Predictor is a new indicator by John Ehlers. The translation of this indicator into PineScript™ is a collaborative effort between @cheatcountry and I. The following is an excerpt from "PREDICTION" , by John Ehlers Niels Bohr said “Prediction is very difficult, especially if it’s about the future.”. Actually, prediction is pretty...

60

Fourier Spectrometer of Price w/ Extrapolation Forecast is a forecasting indicator that forecasts the sinusoidal frequency of input price. This method uses Linear Regression with a Fast Fourier Transform function for the forecast and is different from previous forecasting methods I've posted. Dotted lines are the forecast frequencies. You can change the UI...

36

Polynomial Regression Bands w/ Extrapolation of Price is a moving average built on Polynomial Regression. This indicator paints both a non-repainting moving average and also a projection forecast based on the Polynomial Regression. I've included 33 source types and 38 moving average types to smooth the price input before it's run through the Polynomial...

314

I wasn't going to post this because I don't like how this calculates by puling in the Open price, but I'm posting it anyway. This does work in it's current form but there is a. better way to do this. I'll revisit this in the future. Anyway... The k-Nearest Neighbor algorithm (k-NN) searches for k past patterns (neighbors) that are most similar to the current...

152

Hodrick-Prescott Extrapolation of Price is a Hodrick-Prescott filter used to extrapolate price. The distinctive feature of the Hodrick-Prescott filter is that it does not delay. It is calculated by minimizing the objective function. F = Sum((y(i) - x(i))^2,i=0..n-1) + lambda*Sum((y(i+1)+y(i-1)-2*y(i))^2,i=1..n-2) where x() - prices, y() - filter values....

50

What is the Modified Covariance AR Estimator? The Modified Covariance AR Estimator uses the modified covariance method to fit an autoregressive (AR) model to the input data. This method minimizes the forward and backward prediction errors in the least squares sense. The input is a frame of consecutive time samples, which is assumed to be the output of an AR...

63

Itakura-Saito Autoregressive Extrapolation of Price is an indicator that uses an autoregressive analysis to predict future prices. This is a linear technique that was originally derived or speech analysis algorithms. What is Itakura-Saito Autoregressive Analysis? The technique of linear prediction has been available for speech analysis since the late 1960s...

145

Fourier Extrapolator of Variety RSI w/ Bollinger Bands is an RSI indicator that shows the original RSI, the Fourier Extrapolation of RSI in the past, and then the projection of the Fourier Extrapolated RSI for the future. This indicator has 8 different types of RSI including a new type of RSI called T3 RSI. The purpose of this indicator is to demonstrate the...

65

Beta Peek/Valey based forecast The idea behind this indicator is to extrapolate a stationary time series and find the peeks of the extrapolated result. The highest and lowest of the extrapolated data represent really precise support and resistance if the data and its extrapolation are barelly equal with an error lower than the average. When the...

206

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

Fit a quadratic polynomial (parabola) to the last length data points by minimizing the sum of squares between the data and the fitted results. The script can extrapolate the results in the future and can also display the R-squared of the model. Note that this script is subject to some limitations (more in the "Notes" section). Settings Length : Number of...

2056

Introduction I already made an indicator (simple line) that tried to make lines on price such that the results would not repaint and give a good fit to the price, today i publish a channels indicator based on the simple line indicator. The indicator aim to show possible support and resistance levels when the central line posses a low sum of squares with the...

582

Introduction Nothing fancy in terms of code, take this post as an educational post where i provide information rather than an useful tool. Time-Series Forecasting And The Drift Method In time-series analysis one can use many many forecasting methods, some share similarities but they can all by classified in groups and sub-groups, the drift method is a...

194

Introduction Back when i started using pine i made a script called periodic channel who aimed to rescale an average correlated sine wave to the price...don't worked very well. So i tried to fix problems induced by the indicator without much success, i had to redo it from scratch while abandoning the idea of rescaling correlated smooth functions to the price, at...

285

Spiky Iguana Multi RSI Bands by RagingRocketBull 2018 Version 1.0 This indicator shows multiple RSI Bands with prices corresponding to specified overbought/oversold RSI levels. It is used to extrapolate the exact price levels currently matching a given set of RSI levels based on prior price/RSI levels action. You can think of it as a reverse RSI where RSI levels...

104

Introduction The oscillator version of the stationary extrapolated levels indicator. The methodology behind the extrapolated levels where to minimize the risk of making a decision based only on a forecast, therefore the indicator plotted levels in order to determine possible reversal points, signals where generated when the detrended series crossed over/under...

179

Basic extrapolator for forecast a time-series, all forecasts are mades length periods ahead. This is not a estimation of the exact price This should only be used for forecasting direction, dont expect the price to be at the same value of its forecast. Bias, Mean absolute error, Mean percentage error...etc look useless here, its better to use...

127