Skip to content
All library documents

Stochastic and Moving Average Signals with a Stochastic Filter and Stop Loss

Article Strategy library · Author: ChaoZhang

Summary

This strategy combines stochastic oscillator levels and moving average direction to take long or short positions. A long entry is triggered by an upward stochastic cross in oversold territory or a filter signal, provided the moving average is rising; short entries use the corresponding overbought and falling average conditions. The filter checks whether the stochastic K value has remained below 50 for a configurable span before a K/D cross. Positions use a fixed share of capital and a stop loss.

The document gives adjustable indicator settings and describes exits based on the stochastic K line crossing the moving average while the average changes direction. It reports no performance measurements; the published setup identifies BTC/USDT on Binance over a one-month period, but gives no backtest results. The author notes that stochastic signals can lag and perform poorly around turning points, and that fixed-size positions can suffer during a run of losses. The code also appears inconsistent with parts of the prose: its filter is a smoothed test of K being above 50, and its oversold entry uses a crossunder rather than an upward cross. Results and robustness therefore remain unestablished.

Key ideas

  • The strategy combines stochastic overbought or oversold signals with moving average direction for entries.
  • A stochastic filter is intended to qualify K/D crosses after a sustained condition around the 50 level.
  • The described exits pair a stochastic K and moving average cross with a change in average direction.
  • Position size is a fixed share of capital, and entries include a percentage stop loss.
  • The document provides no measured performance and identifies lag and trend reversals as risks.

Tags

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