Dual Moving Average Reversal Strategy
Overview
This strategy uses 2 indicators to generate trading signals: 2/20 Exponential Moving Average and Average True Range Reversal. It combines the ideas of trend following and short-term reversal, aiming to capture reversal opportunities.
Principle
The strategy consists of 2 parts:
-
2/20 Exponential Moving Average. It calculates 20-day EMA and generates signals when price crosses EMA up or down.
-
Average True Range Reversal Indicator. It calculates stop loss level based on ATR, and generates signals when price breaks through the stop loss level. Here 3.5 x ATR is used as the stop level.
The strategy combines the signals from both. It goes short when 2/20 EMA gives long signal while ATR reversal gives short signal. It goes long when opposite signals generated.
Advantage Analysis
The strategy combines trend following and reversal ideas, aiming to capture reversals. The advantages are:
-
2/20 EMA identifies mid-term trend, avoids market noise.
-
ATR reversal captures short-term reversals and opportunities.
-
Combining the signals captures trend reversal ahead of time and improves profitability.
-
Reasonable ATR stop loss provides certain risk control.
-
Customizable ATR multiplier adapts to different products.
-
Reversal option adapts to different market environments.
Risk Analysis
The risks are:
-
2/20 EMA is slow and may miss short-term chances.
-
ATR stop loss may be penetrated easily. Wider stop loss is needed.
-
Single indicator signal is unreliable. More filters are needed.
-
Beware of over-trading.
-
Parameter tuning and backtest are needed to fit the product.
-
Strict capital management is needed to control risk per trade.
Optimization Directions
The strategy can be improved from:
-
Tuning EMA parameters for best combination.
-
Optimizing ATR multiplier for better stop loss.
-
Adding filter conditions like volume and volatility.
-
Adding capital management model for dynamic position sizing.
-
Adding other stop loss strategies like Chandelier Exit.
-
Testing parameters across different products.
-
Adding machine learning models for better performance.
-
Combining multiple sub-strategies for more Alpha.
Conclusion
The strategy combines two major ideas and has certain advantage of capturing reversals. But inappropriate parameter selection can also introduce risks. Further improvements on stop loss strategy and adding filters can enhance stability and profitability.
/*backtest
start: 2022-10-27 00:00:00
end: 2023-11-02 00:00:00
period: 1d
basePeriod: 1h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=5
////////////////////////////////////////////////////////////
// Copyright by HPotter v1.0 05/04/2022
// This is combo strategies for get a cumulative signal. - 1

