Skip to content
All library documents

Combining Stochastic Reversals with Detrended Synthetic Price Signals

Article Strategy library · Author: ChaoZhang

Summary

This strategy combines a stochastic reversal signal with a detrended synthetic price (DSP) signal and enters only when both indicate the same direction. The stochastic component compares recent closes and fast and slow oscillator lines to identify potential reversals. DSP subtracts a slower exponential moving average of the high-low midpoint from a faster one, then uses upper and lower bands to assign directional states. The source closes positions when the combined signal is neutral, and includes an option to reverse the resulting direction.

The document supplies parameter defaults and backtest settings for BTC/USDT futures over a one-month period, but gives no performance metrics or test conclusions. Its prose description of the reversal rules does not fully match the conditions in the code, and the DSP band comparisons in the source appear opposite to the prose's stated crossing interpretation. Requiring agreement between indicators may filter some signals, but can also delay or suppress entries; oscillator behavior and parameter choices remain important limitations.

Key ideas

  • The strategy requires agreement between a stochastic reversal signal and a DSP directional state.
  • The stochastic component uses close-price sequences and the relationship between fast and slow lines.
  • DSP is formed from the difference between faster and slower exponential averages of the high-low midpoint.
  • The source closes positions when the combined signal becomes neutral and allows direction reversal.
  • The document reports backtest settings but no performance results, and its prose and code differ in places.

Tags

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