TradingView
LuxAlgo
4 окт 2021 г., 16:34

The Echo Forecast [LuxAlgo] 

Bitcoin / U.S. dollarBitstamp

Описание

This indicator uses a simple time series forecasting method derived from the similarity between recent prices and similar/dissimilar historical prices. We named this method "ECHO".

This method originally assumes that future prices can be estimated from a historical series of observations that are most similar to the most recent price variations. This similarity is quantified using the correlation coefficient. Such an assumption can prove to be relatively effective with the forecasting of a periodic time series. We later introduced the ability to select dissimilar series of observations for further experimentation.

This forecasting technique is closely inspired by the analogue method introduced by Lorenz for the prediction of atmospheric data.

1. Settings

  • Evaluation Window: Window size used for finding historical observations similar/dissimilar to recent observations. The total evaluation window is equal to "Forecast Window" + "Evaluation Window"
  • Forecast Window: Determines the forecasting horizon.
  • Forecast Mode: Determines whether to choose historical series similar or dissimilar to the recent price observations.
  • Forecast Construction: Determines how the forecast is constructed. See "Usage" below.
  • Src: Source input of the forecast


Other style settings are self-explanatory.

2. Usage

This tool can be used to forecast future trends but also to indicate which historical variations have the highest degree of similarity/dissimilarity between the observations in the orange zone.

The forecasting window determines the prices segment (in orange) to be used as a reference for the search of the most similar/dissimilar historical price segment (in green) within the gray area.



Most forecasting techniques highly benefit from a detrended series. Due to the nature of this method, we highly recommend applying it to a detrended and periodic series.



You can see above the method is applied on a smooth periodic oscillator and a momentum oscillator.

The construction of the forecast is made from the price changes obtained in the green area, denoted as w(t). Using the "Cumulative" options we construct the forecast from the cumulative sum of w(t). Finally, we add the most recent price value to this cumulated series.



Using the "Mean" options will add the series w(t) with the mean of the prices within the orange segment.



Finally the "Linreg" will add the series w(t) to an extrapolated linear regression fit to the prices within the orange segment.

Информация о релизе

Minor changes.

Информация о релизе

Updated styling & switched to version 5.
Комментарии
UnknownUnicorn6774437
Extremely interesting work! Thanks! I am always glad to see your new indicators!
sintukumar96842
Used to time frame
....?
GoldTrendAnalyst
@sintukumar96842, so far it works for 30m and 4 hour time frame
expomil
Congratulations

A very interesting indicator.

What period of time (or periods) would be recommended to work and have a more accurate projection of reality, also what values do you recommend should be placed in the time periods to be used.

Thank you

Cheers
Jaysmcstudent1
@expomil, 1h @jaycash23 telegram
expomil
GOOD DAY

Very good and interesting indicator, good like everything you work and advertise

To work forecasts / projections, what periods are recommended 15 / 30 / 45 / 1 H / 4 H / 1 D
Should the values vary for the different periods?
What period of time gives them the best value or result and how it should be configured
Thank you so much
you are a reference
A_Traders_Edge
AND IN 89 LINES OF CODE !?!?! COME ON MAN! Brings back that good ol' "noob" feeling. In fact, ya know what??? I HATE IT....this is one of the most disgusting implementations of forecasting that Ive ever had the unfortunate luck lay my eyes on....thus, CONGRATULATIONS for adding more POOP to the library!
LuxAlgo
@chasinalts, Thanks for your feedback, cheers!
A_Traders_Edge
@LuxAlgo, I hope that came across very over-the-top (as was intended) to fully express the sarcasm of my disdain.
LuxAlgo
@chasinalts, Advanced levels of sarcasm haha but understood now, appreciate the support <3
Ещё