Singular Spectrum Decomposition
Feb 13, 2026

The Singular Spectrum Decomposition indicator is an advanced trading indicator built on Singular Spectrum Analysis (SSA) that separates raw price action into clear, interpretable components: Trend, Cycles, and Noise. By mathematically decomposing market data, this tool helps traders uncover the true structural behavior of an asset while also providing a smooth, jump-free trend forecast using Linear Recurrence Relations (LRR). It is designed for traders who want deeper insight into market structure, cycle timing, and mean reversion opportunities.
Warning: This decomposition is displayed retrospectively; historical values observed are subject to repainting.
USAGE
Unlike traditional indicators that rely on fixed formulas such as moving averages or oscillators, this trading indicator performs a full statistical decomposition of price. It analyzes a defined rolling window of recent bars and extracts the most dominant components driving market behavior.
The result is a layered view of price action, allowing traders to separate long-term direction, cyclical rotations, and short-term volatility.
The indicator splits price into four visual components:
- Trend (Overlay): The primary low-frequency structure plotted directly on the price chart. This represents the dominant directional bias and acts as a structural baseline for trend-following strategies.
- Long Term Periodic (P1): The most significant cyclical component. This often captures major swing rotations, macro pullbacks, or broader seasonal tendencies.
- Short Term Periodic (P2): A faster oscillating cycle that reflects intermediate pullbacks and shorter-term momentum shifts.
- Noise: The high-frequency residual component that represents randomness or structural volatility. This helps traders detect unstable or liquidity-driven environments.
By separating price into these layers, traders can stop reacting to “messy” raw candles and instead trade with structural clarity.
Cycle Exhaustion (P1/P2 Extremes)
One of the most powerful applications of this trading strategy is identifying cyclical exhaustion.
When the Long Term Periodic (P1) or Short Term Periodic (P2) components reach extreme values and begin curving back toward the zero line, it often signals that the current swing is losing momentum.
For example:
- If P1 is extended and starts flattening, the dominant cycle may be nearing completion.
- If P2 peaks while price is extended from trend, it may indicate a pullback is likely.
This approach provides a structured alternative to traditional overbought/oversold indicators, as it is derived from actual spectral decomposition rather than fixed thresholds.
Trend-Forecast Confluence & Mean Reversion
The dashed Trend extrapolation projects the likely path of the structural trend using Linear Recurrence Relations (LRR). This creates a forward-looking estimate of the market’s core bias.
Traders can use this in multiple ways:
- Trend Confirmation: If price pulls back toward a rising trend forecast and holds, it reinforces bullish structure.
- Mean Reversion Setup: If price becomes significantly extended from the solid Trend line while the forecast flattens or turns, it may signal a reversion opportunity.
- Structural Shift Detection: A price break through a flat or reversing trend projection may suggest regime change.
This makes the indicator suitable for both trend-following strategies and statistical mean reversion approaches.
Timing Entries with Dashboard Metrics
The built-in dashboard calculates the “Average Period” of the dominant cycles using zero-crossing detection. This provides a quantifiable cycle length in bars.
Example:
- If P2 shows an average period of 20 bars, a trader can anticipate that troughs tend to occur roughly 10 bars after peaks.
- Aligning these cycle expectations with the dominant Trend direction can significantly improve entry timing precision.
This transforms cycle analysis from subjective visual interpretation into a measurable trading framework.
Filtering Fakeouts with the Noise Component
The Noise component helps differentiate between structural breakouts and unstable volatility spikes.
- A breakout with low Noise expansion suggests a structurally supported move.
- A breakout accompanied by aggressive Noise spikes may indicate a liquidity sweep or fakeout.
This feature is particularly useful in volatile markets, helping traders avoid reacting to random price fluctuations.
DETAILS
The indicator implements a complete Singular Spectrum Analysis pipeline:
- Embedding: Constructs a trajectory matrix from the price series.
- Singular Value Decomposition: Performs eigendecomposition of the covariance matrix to isolate principal components.
- Diagonal Averaging: Reconstructs the time series into interpretable subcomponents.
This statistical foundation allows the indicator to extract meaningful structure without relying on arbitrary smoothing parameters.
Jump-Free Extrapolation
A common issue with LRR-based projections is the appearance of a vertical discontinuity between historical reconstruction and forecast.
This tool solves that problem by:
- Calculating relative LRR deltas
- Anchoring them to the final reconstructed SSA value
- Ensuring seamless visual continuity
The result is a mathematically consistent yet visually smooth forecast, ideal for traders who rely on clean structural signals.
Dashboard Metrics
The dashboard provides real-time cycle diagnostics, including:
- Average Period of P1
- Average Period of P2
- Dynamic cycle measurement via zero-crossing detection
This allows traders to quantify cycle frequency without manual chart measurement, making the tool suitable for systematic trading strategies and algorithmic workflows.
SETTINGS
The indicator includes customizable parameters to adapt to different markets and trading styles:
- Window Length (L): Controls the embedding dimension. Larger values detect longer cycles and produce smoother trends but may introduce lag.
- Buffer Length (N): Defines the number of recent bars used for static decomposition.
- Forecast Length: Determines how many bars the Trend component is projected forward.
- Show Trend on Price: Toggles the reconstructed trend overlay.
- Show Periodic/Noise: Controls visibility of P1, P2, and Noise components.
- Show Extrapolation: Enables or disables the dashed forecast projection.
- Dashboard Settings: Adjusts the position, size, and visibility of the metrics panel.
These settings allow the Singular Spectrum Decomposition to function as both a discretionary trading indicator and a structured analytical tool.
FAQ
What type of trading strategy works best with Singular Spectrum Decomposition?
This trading indicator works well for trend-following strategies, cycle-based swing trading, and mean reversion systems. By combining Trend direction with P1/P2 cycle extremes, traders can align entries with both structural bias and timing precision.
Does the indicator repaint?
Yes. Because SSA decomposition is calculated retrospectively on a rolling window, historical component values may repaint as new data becomes available.
How do I access the Singular Spectrum Decomposition [LuxAlgo] indicator?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Trading & investing are risky and many will lose money in connection with trading and investing activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.
Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.
Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.
As a provider of technical analysis tools and strategies, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content, tool, or platform feature we provide.
Charts used on this site are by TradingView in which the majority of our technical indicators are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.comTradingView® has no affiliation with the owner, developer, or provider of the Services described herein.
Market data is provided by CBOE, CME Group, BarChart, CoinAPI. CBOE BZX real-time US equities data is licensed from CBOE and provided through BarChart. Real-time futures data is licensed from CME Group and provided through BarChart. Select cryptocurrency data, including major coins, is provided through CoinAPI. All data is provided “as is” and should be verified independently for trading purposes.
This does not represent our full Disclaimer. Please read our full disclaimer.
© 2026 LuxAlgo Global, LLC.

