MACD Signal-Line Crossover with Adjustable Trade Direction
Summary
This system derives MACD from the difference between a fast eight-period EMA and a slow sixteen-period EMA, then smooths MACD with an eleven-period simple moving average to form a signal line. When MACD is above the signal line, the strategy takes a long position; when it is below, it takes a short position. An optional reverse setting flips those directions. The document also describes plotting the two lines and coloring bars according to the position state.
The material explains the crossover logic and suggests that period changes, other indicators, and volatility measures could be explored. It gives no backtest performance results, despite listing a BTC/USDT futures test period. The discussion notes that volatile or trendless conditions can create misleading signals, and that signals based on historical prices may lag. It does not specify execution costs or provide comparative evidence that the listed parameter choices improve results.
Key ideas
- MACD is calculated as the difference between fast and slow EMAs.
- An eleven-period simple moving average of MACD serves as the signal line.
- The position switches long or short according to MACD's relationship with the signal line.
- An optional reverse setting inverts the position direction.
- The document describes risks from noisy conditions and lag but reports no backtest outcomes.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.