Skip to content
All library documents

Detrended Synthetic Price Oscillator from Moving Average Differences

Article MQL5 code base

Summary

The Detrended Synthetic Price oscillator is described as a way to display price movement after removing a trend component. Its calculation uses the difference between an exponential moving average and a half-period moving average. The result is intended to emphasize shorter-term movement relative to the broader trend represented by the averages.

The indicator has three configurable inputs: the half-period moving average length, the moving average calculation method, and the applied price series. The description does not specify a signal threshold, interpretation rules, or how to combine the oscillator with other indicators. It also provides no charts, backtest, or performance evidence, so it explains the construction at a high level without showing whether it offers a trading edge.

Key ideas

  • The oscillator aims to show price movement with the trend component removed.
  • It is calculated from the difference between an EMA and a half-period moving average.
  • Users can set the half-period length, averaging method, and applied price.
  • The description does not give signal rules or evidence of trading performance.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.