Skip to content
All library documents

MACD and Stochastic Signals for Range Breakout Entries

Article Strategy library · Author: ChaoZhang

Summary

This strategy combines MACD direction with Stochastic crosses to time entries. It goes long when MACD is above its signal line and %K crosses above 30, and short when MACD is below its signal line and %K crosses below 70. The stated defaults include MACD lengths of 180 and 390, signal smoothing of 135, and Stochastic periods of 14, 1, and 3. Exits are take-profit orders set 3% from the average entry price; the described code does not specify a stop loss, despite the overview referring to stop-loss and take-profit controls.

The published configuration specifies daily BTC/USDT futures data from December 2022 to December 2023, with hourly base data. It gives no trade counts, returns, or other performance evidence. The text frames the method as a way to enter after a range breakout, but the shown entry conditions do not directly test whether price has broken a defined range. False breakouts, parameter sensitivity, and missed entries remain concerns. Parameter searches, additional filters, and different holding periods are suggested, not validated.

Key ideas

  • Long entries require MACD above its signal line and %K crossing above 30.
  • Short entries require MACD below its signal line and %K crossing below 70.
  • The listed take-profit exits are set 3% from average entry price, and the shown rules omit a stop loss.
  • The stated backtest configuration supplies no performance results.
  • The entry conditions use indicator alignment but do not directly measure a price-range breakout.

Tags

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