Skip to content
All library documents

Moving Average Breakouts with MACD Confirmation and Fixed Exits

Article Strategy library · Author: ChaoZhang

Summary

This strategy frames a moving average as a breakout level and uses a MACD condition to confirm long or short signals. The written rules call for entries after price clears the 20-day average by a small margin, with entry near the next session’s open. They also specify fixed stop and target levels relative to the average. The document recommends testing alternative average periods, adding volatility-based sizing, and considering higher-timeframe trend filters.

It provides BTC/USDT futures backtest settings for a one-month period, but no outcome statistics. There are substantial inconsistencies between the description and source: the code derives its reference level from rounded current price rather than a 20-day average, omits the described MACD filter, and uses other entry and exit conditions. The code’s order directions and stated stops and targets also differ from parts of the prose. The written strategy should therefore be treated as a concept rather than a verified implementation. Moving average signals can lag and whipsaw in ranging markets, and fixed levels may not fit changing volatility.

Key ideas

  • The written method uses a 20-day moving average as a breakout reference and MACD for confirmation.
  • The described plan enters near the next session’s open and uses fixed exits around the reference level.
  • The source code does not implement several of the stated rules, including the moving average and MACD filter.
  • The document supplies a backtest period but reports no performance results.
  • Lagging signals, range-bound whipsaws, and volatility-insensitive exits are key limitations.

Tags

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