An Optimization of Dual Moving Average Trend Following Strategy Based on Indicators Combination
Overview
This strategy generates trading signals by calculating fast and slow moving average lines and combining Parabolic SAR indicator. It belongs to the trend following strategy. When the fast MA crosses over the slow MA, long position will be opened. When the fast MA crosses below the slow MA, short position will be opened. Parabolic SAR is used to filter fake breakouts.
Strategy Principle
- Calculate fast and slow moving average lines. The parameters can be customized.
- Compare the two MA lines to determine market trend. When fast MA crosses over slow MA, it indicates bullish trend. When fast MA crosses below slow MA, it indicates bearish trend.
- Further confirmation is made by checking if close price is above/below fast MA. Only when fast MA crosses over slow MA and close price is above fast MA, long signal is generated. Only when fast MA crosses below slow MA and close price is below fast MA, short signal is generated.
- Parabolic SAR is used to filter fake signals. Only when all the three criteria are met, final signal is generated.
- Stop loss is set based on maximum tolerable loss. ATR indicator is used to calculate dynamic stop loss price.
Advantages
- MA lines determine market trend and avoid excessive trading in range-bound market.
- Dual filters lower risk of fake breakout significantly.
- Stop loss strategy effectively limits per trade loss.
Risks
- Indicator strategies tend to generate false signals
- No consideration of currency exposure risk
- Potentially miss initial trend in opposite direction
The strategy can be optimized in below aspects:
- Optimize MA parameters to fit specific product
- Add other indicators or models for signal filtering
- Consider real-time hedging or auto currency conversion
Directions for Optimization
- Optimize MA parameters to better capture trends
- Increase model diversity to improve signal accuracy
- Multi-timeframe verification to avoid being trapped
- Enhance stop loss strategy to increase stability
Conclusion
This is a typical dual moving average cross and indicators combination trend following strategy. By comparing fast and slow MA directions, market trend is determined. Various filter indicators are used avoid false signals. At the same time, stop loss function is implemented to control per trade loss. The advantage is that the strategy logic is simple and easy to understand and optimize. The disadvantage is that as a coarse trend tool, there is still room to improve signal accuracy, by introducing machine learning models for example.
- 1

