• Übersicht
  • Bewertungen (2)
  • Diskussion (1)
  • Neue Funktionen

SSACD Forecast

SSACD - Singular Spectral Average Convergence/Divergence

This is an analogue of the MACD indicator based on singular spectrum analysis (SSA).

SSA is an effective method to handle non-stationary time series with unknown internal structure. It is used for determining the main components (trend, seasonal and wave fluctuations), smoothing and noise reduction. The method allows finding previously unknown series periods and make forecasts on the basis of the detected periodic patterns.

The recognized smoothed price fluctuations are not lagging in time relative to the source series as opposed to MACD, which uses moving averages. Accordingly, this indicator has solved the MACD problem of lagging to more accurately and synchronously reflect the variability of the price series behavior. The resulting forecast for the identified "fast" and "slow" price fluctuations takes into account the aggregate analysis of various detected factors, which form the "wave" behavior of the data series, and it can be used to reduce risks in a strategy.

The characteristic behavior, as well as the signals and interpretation of the indicator correspond to the same properties of the linear MACD.


  1. Algorithm — the forecast algorithm (1 - vector, 2 - recurrent)
  2. N: Data fragment — the length of the analyzed price series.
  3. Time-dependent lag — determines the window of data "influence" (N/2, ..., N/4).
  4. FastTrend high-freq. limit — a filter parameter for identifying a fast oscillating equivalent of the MA.
  5. SlowTrend high-freq. limit — a filter parameter for identifying a slow oscillating equivalent of the MA.
  6. Signal SMA period — the smoothing period of the difference between the fast and slow moving averages.
  7. Data preparation — the method of preparing data for the analysis.
  8. Forecast preparation — the method of preparing data for the forecast.
  9. Forecast smoothing — forecast smoothing method.
  10. Recalculate period — indicator refresh interval (s)
  11. Forecast рoints — the number of prediction points.
  12. Backward shift (testing) — a shift of the analyzed fragment deeper into the history. Configuration of the model and forecast based on known data.
  13. Magic Number — identifier to connect to the EA.
  14. (H-S)%max: Buy support signal — validity level of the buy signal (in % of the maximum).
  15. (H-S)%max: Sell support signal — validity level of the sell signal (in % of the maximum).

Explanation to the set of parameters

The influence window limits the number of past points which affect the current price. A reasonable value if s = 1 or 2.

High frequence limit for defining MAs indicates the weight of the high-frequency noise in the total variance of the price series (in percentage). For the fast oscillating MA it should be equal to 0.5 - 1.5, for the slow one 1.5 - 4. All oscillations, whose weight does not exceed this level will be filtered out.

BacwardShift shifts calculations along the price series in order to compare the forecast with the known prices and to select the indicator parameters.

Data preparation - modification of the price series for another sequence in order to improve the forecast result on a certain timeframe.

P.S. Trend visualization along the price chart is available using the SSA Trend Predictor indicator.

DGK754900 2019.10.08 20:13 


Aurora 2017.12.09 16:54 

Der Benutzer hat keinen Kommentar hinterlassen

Version 2.5 2017.04.12
Modified the algorithm. Fixed the inaccuracies. Prepared for integration with an expert.
Version 2.0 2017.01.26
1. Added auxiliary "validity" signal, which displays the breaking of the "noise" level.
2. Provided the ability to smooth the forecast according to significance of the forecast values obtained earlier.
3. Provided the ability to connect to the EA by requesting the buffers 6 and 7 of the indicator.