Skip to content
All library documents

Combining Two-Day Reversals with Range Breakouts and Stochastic Filters

Article Strategy library · Author: ChaoZhang

Summary

This strategy combines a short-term reversal signal with a range breakout condition. Its reversal component looks for a two-day change in closing prices and checks whether the Stochastic fast and slow lines have the specified relationship around a threshold. A separate long breakout component detects a move above the highest high of a lookback window. The strategy acts only when the reversal and breakout signals agree; an option can invert the resulting direction, and the script closes positions when there is no combined signal.

The document lists default indicator and lookback settings and publishes a brief BTC/USDT futures backtest configuration, but it provides no performance statistics or interpretation of results. Its prose discusses both upside and downside breakouts, while the source code’s breakout function only detects a move above the recent high, so short-side confirmation is not clearly implemented. False signals, parameter sensitivity, and excessive trading are acknowledged risks; the stated backtest window is too short to establish robustness.

Key ideas

  • The reversal component combines consecutive closing-price movement with a Stochastic fast and slow line condition.
  • The breakout component detects price exceeding the previous lookback window’s highest high.
  • A trade signal requires agreement between the reversal and breakout components.
  • The source code’s breakout function detects upside breaks only, despite broader prose about high and low breaks.
  • The published BTC/USDT futures test settings cover a short period and include no reported performance measures.

Tags

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