Skip to content
All library documents

MACD and Moving Average Trend Filter with Stop Losses

Article Strategy library · Author: Zero

Summary

This strategy combines moving averages with MACD to time trades in Bitcoin. It uses a faster and a slower moving average to define the trend, while MACD direction and its difference from the signal line confirm momentum. A long entry requires price above the faster average, that average above the slower one, and positive MACD conditions; the short setup reverses those conditions. Positions close when the MACD or moving-average relationship turns against the trade, with a 5% stop-loss rule also specified.

The document explains the indicators and gives executable rules, parameters, and a published one-hour backtest window on Bitfinex. It reports no backtest performance metrics, and the test spans only a short historical period, so it does not establish profitability or robustness. The rules are trend-following and may give late or whipsaw-prone signals as market conditions change; costs and execution effects are not evaluated in the accompanying discussion.

Key ideas

  • The moving-average relationship is used to identify the prevailing trend, while MACD confirms momentum.
  • Long and short entries require price, moving averages, and MACD to agree directionally.
  • Positions exit when MACD or the moving-average ordering signals a change, and a 5% stop loss is specified.
  • The published example uses hourly Bitcoin data over a brief period but provides no performance statistics.
  • The document does not establish that the rules remain effective across market regimes or after trading costs.

Tags

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