• Overview
  • Reviews
  • Comments
  • What's new

SSA Fast Trend Forecast

This indicator extracts a trend from a price series and forecasts its further development. Algorithm is based on modern technique of Singular Spectral Analysis (SSA). SSA is used for extracting the main components (trend, seasonal and wave fluctuations), smoothing and eliminating noise. Does not require the series to be stationary, as well as the information on presence of periodic components and their periods. It can be applied both to price series and to the data of other indicators.

Implementation with the FFT algorithm allowed to improve the data processing speed by more than 50 times compared to the conventional approach, implemented in the SSA Trend Predictor.


Features of the method and Operation principle

Dynamics of prices is presented as a process caused by influence of factor on different scales and additional "noise". Influence factors determine the trend and regularities of price changes, noise oscillations hide the useful information. Processing by the Caterpillar-SSA method allows to separate subspaces of the signal and noise, evaluate the contribution and scale of significant influence factors. Extracted "signal" does not have phase delays unlike the conventional filtering methods and smoothed average. A forecast is plotted based on the identified trend and periodicity. Forecast based on a properly chose model is the hedging method in the trading strategy.


Usage

Managing the indicator parameters allows to adjust the smoothness of the extracted trend and to control the noise filtering threshold, consider on suppress the contribution of the components in the signal, which affect it on different time scales. The optimum decomposition of data into signal and noise components is determined using the time horizon of the trading strategy and the current market situation.


Forecast

The forecast of the future values is performed according to the constructed model, which considers the statistical characteristics of data and the best within the model. Note that the "left out" influence factors can be very significant. Adequate model - good forecast. It is necessary to focus on quality and not quantity forecast of price fluctuations and use it as a hedging signal.


Description of the parameters

  1. Algorithm — forecast algorithm (1- vector, 2- recurrent),
  2. N: Data fragment — length of the analyzed price series,
  3. Time-dependent lag — determines the influence history on counting (N/2,...,N/4),
  4. Trend High-Freq limit — parameter for filtering noise for the trend (remove the contribution of high frequency oscillations),
  5. Forecast High-Freq limit — parameter for filtering noise for the forecast,
  6. Transform to forecast – transform method for plotting the forecast,
  7. Recalculate period – indicator recalculation period (с),
  8. Predictable points — the number of forecast points,
  9. Backward shift (testing) — backward shift of analyzed fragment in history. For construction of the model and forecast according to the known data.
  10. * VISUAL OPTIONS *
  11. General part — color of the main trend graph,
  12. Prediction — color of the forecast trend graph,
  13. Plot style — line or histogram drawing type.


Recommendations

Length of the price series fragment (N) is selected in the range of 216 – 2048 based on the statistical uniformity of data.

The best effect window of the previous N/2 – N/3.

The parameter for filtering noise - Noise HF Limit: the longer the series the smaller the filtration parameter. For the short fragments, the evaluation of the statistical properties is performed with a increased error - the level should be increased.

The number of prediction points with acceptable forecast probability is 10-30 in a customized model. For further analysis it is reasonable to use a more coarse timeframe. Simultaneous application of two indicators with different parameters (N=1024 and 512) will show the divergence of influence factors related to different time scales or will confirm the forecast.

No reviews
Version 1.60 - 2017.01.19
Added the ability to average forecast results using "weight ratios" considering the importance of the previous results.
Version 1.50 - 2016.12.26
Update to allow working with in an expert
Version 1.40 - 2016.09.09
Возможно применение не только к ряду цен, но и к другим индикаторам.
Более удобный контроль параметров управления.
Исправлено соответствующее описание индикатора.