Skip to content
All library documents

Stochastic Oscillator Range Trading with ATR Exits

Article Strategy library · Author: ChaoZhang

Summary

This range-trading method uses the Stochastic Oscillator to enter long when its %K value is below an oversold threshold and short when it is above an overbought threshold. The stated defaults are 20 and 80, with a 14-period stochastic calculation. It sets stop-loss and take-profit distances to twice the 14-period average true range and requires a 20-bar interval between new trades. The intended setting is a defined, oscillating range, where entries near the perceived low or high may benefit from a return across the range.

The document gives BTC/USDT futures backtest settings over a stated period, but no performance figures or evidence that the range identification is reliable. Its code fixes order quantity at one and computes a risk amount without using it to size positions, so the claim of a one-percent equity risk per trade is not reflected in the implementation. A breakout into a sustained trend can leave the strategy trading against the move, and extreme conditions can exceed expected losses. Proposed improvements include trend filters, dynamic exits, and better range detection; these are suggestions rather than validated enhancements.

Key ideas

  • The strategy uses stochastic overbought and oversold readings to seek reversals within a trading range.
  • Stops and targets are each set at twice the ATR distance, with a minimum interval between entries.
  • The implementation uses a fixed order quantity, so its calculated risk amount does not control position size.
  • A range breakout or incorrect range assessment can make countertrend entries lose.
  • Suggested filters and dynamic exits are untested ideas in the document.

Tags

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