Double Exponential Moving Average Quant Trading Strategy
Overview
This strategy generates trading signals by calculating the crossovers between 5-day exponential moving average (EMA) and 20-day simple moving average (SMA). It goes long when 5-day EMA crosses above 20-day SMA and closes position when price change reaches 5% or -5%. It also incorporates Trading Index Index (TII) as an auxiliary indicator.
Strategy Principle
Double exponential moving averages are widely used technical indicators. 5-day EMA represents recent price trends while 20-day SMA shows medium-term price moves. When shorter-term MA crosses above longer-term MA, it signals an upside breakout and upward price trend, indicating good timing to go long. On the contrary, downward crossover implies potential price reversal and should consider exiting positions.
This strategy sets 5-day EMA and 20-day SMA as trading signals. It goes long when 5-day EMA crosses over 20-day SMA and closes position when price change hits 5% or -5%. It also checks if TII is positive and rising to confirm the signal reliability.
The detailed steps are:
- Calculate 5-day EMA, 20-day SMA and TII
- Generate buy signal when 5-day EMA crosses over 20-day SMA while TII is positive and rising
- Enter long position
- Close position when price change reaches 5% or -5%
Advantages
This strategy utilizes the golden crossover between two MAs and has following pros:
- Clear and simple trading signals, easy to implement.
- MAs are mainstream and common technical indicators, golden cross signal is classical and reliable.
- Incorporating TII can filter some uncertain signals and improve win rate.
- Predefined stop loss/take profit standards effectively control per trade risk.
In general, this strategy has straightforward rules, utilizes mature technical indicators like MA crossovers, and has relatively comprehensive risk control measurements. It is suitable for beginners to learn and use in quantitative trading field.
Risks
There are still some risks within this strategy:
- MA crossover signals may lag.
- TII indicator does not perform well in range-bound markets.
- Fixed stop loss/take profit standards could be arbitrary.
Suggested improvements are:
- Optimize MA parameters to reduce the lag.
- Add other auxiliary indicators to enhance signal reliability.
- Set dynamic stop loss/take profit standards.
So there is room for further optimization.
Optimization Directions
This strategy can be improved from the following aspects:
-
Optimize MA parameters by testing shorter/longer EMA and SMA combinations to find the optimal pair.
-
Add other indicators like MACD, KDJ to filter false signals.
-
Employ machine learning algorithms to find better parameters through historical data modeling and statistics.
-
Set dynamic stop loss/take profit based on market volatility and instrument characteristics to better control risks.
-
Expand this strategy to other products like forex, cryptocurrencies.
Through above enhancements, the stability and profitability of this strategy can be substantially improved.
Conclusion
In conclusion, this is an easy-to-understand and implement dual MA crossover strategy. It takes advantage of MA signals and uses TII to filter errors. It controls risks by stop loss/take profit. The strategy suits beginners to learn and also has large room for optimizations. Further improvements on parameter tuning, signal filtering and dynamic stop loss can transform it into a practical and powerful trading strategy.
- 1

