Dual Moving Average Trading Strategy
Overview
The dual moving average trading strategy generates trading signals by calculating exponential moving averages (EMAs) of different timeframes to form a fast EMA and slow EMA, and observing their golden crosses and death crosses. It goes long when the fast EMA crosses above the slow EMA, and goes short when the fast EMA crosses below the slow EMA. This strategy captures the trend reversal points of the moving averages and is a commonly used trend following strategy.
Strategy Logic
The core indicators of the dual moving average strategy are the fast EMA and slow EMA. The fast EMA has a default parameter of 12 days, while the slow EMA has a default parameter of 26 days. The formula for exponential moving average is:
EMA(t) = (C(t) - EMA(t-1)) x SF + EMA(t-1)
Where C(t) is today's closing price, and SF is the smoothing factor. Different from simple moving average, EMA assigns more weight to the recent data and thus responds faster to price changes.
The trading rules are:
-
Enter long positions on golden cross of fast EMA crossing above slow EMA from below.
-
Enter short positions on death cross of fast EMA crossing below slow EMA from above.
-
Exit positions on divergence of the EMAs.
By capturing the crossover patterns of the EMAs, it can reflect the market trends and increase profitability.
Advantages
As a mature technical indicator strategy, the dual moving average strategy has the following strengths:
-
Its logic is clear and easy to understand and implement.
-
It gives highly accurate judgement on market supply and demand and thus has relatively high win rate.
-
It effectively filters market noise and captures main trends.
-
It can be applied across different instruments and timeframes.
-
It can be combined with other indicators for strategy enrichment.
-
It has a high capital utilization efficiency for large capital trading.
Risk Analysis
There are also certain limitations of the strategy:
-
It fails to react to intense market moves like sharp bear market selloffs.
-
It tends to generate frequent false signals and whipsaws in sideways rangebound markets.
-
Its parameters need optimization across different markets and timeframes.
-
It cannot determine appropriate reversal levels of the trend.
The risks can be mitigated by adjusting EMA periods, adding supplementary filters etc. to make the strategy more robust.
Enhancement Opportunities
The dual moving average strategy can be improved from the following aspects:
-
Incorporate MACD indicator to judge trend strength and avoid wrong trades.
-
Add trading volumes to confirm true breakout signals.
-
Combine with Bollinger Bands, candlestick patterns for more precise entry and exit rules.
-
Utilize machine learning approaches like LSTM to auto optimize parameters for better adaptiveness.
Conclusion
The dual moving average trading strategy captures trading opportunities from EMA golden crosses and death crosses to determine trend reversal points for steady profits. With the advantages of simplicity, capital efficiency and ease of implementation, it is a preferred choice for algorithmic trading beginners. But it also has certain flaws like generating false signals. More indicators should be introduced to optimize it for specific markets and environments. Overall speaking, it is a very practical and useful technical indicator strategy.
- 1

