DSP
Detrended Synthetic Price (DSP) is a technical indicator that removes the overall trend from a price series, allowing traders to focus on short-term price fluctuations.
To use the indicator, you need to use the DetrendedSyntheticPrice class.
Description
The DSP indicator was developed to eliminate the long-term trend from a price chart, enabling traders to more clearly see short-term cycles and oscillations. It is particularly useful for identifying short-term trading opportunities that may be hidden by the dominant trend.
The main idea of DSP is that by removing the trend from the price series, it becomes easier to identify the cyclical components of price movement. This makes the indicator especially valuable for traders specializing in short-term trading and using cyclical patterns.
DSP is useful for:
- Identifying short-term market cycles
- Determining potential reversal points
- Detecting divergences with price
- Creating trading systems based on the cyclical nature of markets
Parameters
The indicator has the following parameters:
- Length - calculation period (default value: 10-20 periods)
Calculation
Calculating the Detrended Synthetic Price involves the following steps:
Calculate the moving average of price over the specified period:
MA = SMA(Price, Length)
Determine the offset for synthetic price calculation:
Offset = (Length / 2) + 1
Calculate synthetic price by subtracting the shifted moving average from the current price:
DSP = Price - MA[shifted (Length/2) + 1 periods back]
Where:
- Price - current price (usually closing price)
- MA - simple moving average
- Length - selected calculation period
Interpretation
The DSP indicator oscillates around the zero line and can be interpreted as follows:
Zero Line Crossovers:
- When DSP crosses the zero line from bottom to top, it can be viewed as a bullish signal
- When DSP crosses the zero line from top to bottom, it can be viewed as a bearish signal
Indicator Extremes:
- When DSP reaches extremely high values, it may indicate market overbought conditions
- When DSP reaches extremely low values, it may indicate market oversold conditions
Cyclical Analysis:
- Regular DSP oscillations can be used to determine market cycle periodicity
- Changes in oscillation amplitude may indicate shifts in market dynamics
Divergences:
- Bullish Divergence: price forms a new low, while DSP forms a higher low
- Bearish Divergence: price forms a new high, while DSP forms a lower high
Pattern Formation:
- Technical patterns (head and shoulders, double bottom, etc.) can form on the DSP chart, potentially providing additional trading signals