MACD Trend Following with Zero-Line Confirmation
Summary
This strategy uses the MACD line, its signal line, and the zero line to identify directional trades. It enters long when MACD is above both the signal line and zero, and short when it is below both. Positions close when MACD crosses back across the signal line. The document describes recent significant lows and highs as possible stop levels, and suggests adding filters, volatility-based stops, and position sizing.
The published settings describe a BTC/USDT futures backtest over a stated date range, but no performance results are provided. There is also a gap between the explanation and the supplied strategy logic: the code closes positions on reverse signal-line crosses, while the described recent-high or recent-low stops are commented out rather than implemented. MACD is lagging, and the document notes that choppy markets can generate frequent trades and costs. It offers no evidence that the proposed filters or parameter changes improve results.
Key ideas
- Long entries require MACD above its signal line and the zero line.
- Short entries require MACD below its signal line and the zero line.
- Positions close when MACD crosses the signal line in the opposite direction.
- The source code does not implement the recent-swing stop losses described in the text.
- The document provides backtest settings but no performance statistics.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.