Type/to search

Momentum Reversal Moving Average Combination Strategy

Cryptocurrency
Created: 2023-11-24 10:23:36
Last modified: 3 years ago
1
Follow
1779
Followers

img

Overview

This strategy identifies trends by combining multiple moving average indicators. Specifically, this strategy uses a fast moving average ribbon and a slow moving average ribbon at the same time. The fast moving average ribbon consists of a 5-day EMA and a 25-day WMA, while the slow moving average ribbon consists of a 28-day EMA and a 72-day WMA. It generates a buy signal when the fast MA crosses above the slow MA, and a sell signal when the fast MA crosses below the slow MA. In addition, this strategy also uses the RSI indicator to assist in judging the timing.

Strategy Logic

  1. Use double moving averages to determine the trend direction
    • Fast MA Ribbon: 5-day EMA, 25-day WMA
    • Slow MA Ribbon: 28-day EMA, 72-day WMA
    • When fast MA crosses above slow MA, generate a buy signal
    • When fast MA crosses below slow MA, generate a sell signal
  2. Use RSI indicator to assist in determining the timing of buys and sells
    • RSI Low to Buy: Generate a buy signal when RSI<35
    • RSI High to Sell: Generate a sell signal when RSI>65
  3. Adopt trend tracking mechanisms including moving stop loss and moving take profit
    • Moving stop loss: Track highest/lowest price to prevent excessive losses
    • Moving take profit: Track highest/lowest price for timely profit taking

Advantage Analysis

  1. Using double MAs to determine trends, fast and slow MAs working together can effectively identify turning points
  2. RSI indicator’s assistance helps avoid erroneous signals from MAs
  3. Moving stop loss mechanism effectively controls losses of individual losing trades
  4. Moving take profit mechanism locks in profits and prevents profit retracement

Risk Analysis

  1. Relatively high probability of failure in trend determination by double MAs, may generate false signals
  2. Improper RSI parameter settings may miss trading opportunities
  3. Excessively large stop loss magnitude may cause unnecessary losses
  4. Excessively small take profit magnitude may result in profit shrinkage

Optimization Directions

  1. Parameters of fast and slow MAs can be optimized to find optimal parameter combinations
  2. RSI parameters can also be optimized to find better overbought/oversold lines
  3. Test with different stop loss magnitudes to find balance between minimizing losses and avoiding false signals
  4. Try adaptive take profit strategies to allow take profit magnitude to adjust on its own based on market volatility

Conclusion

This strategy captures and tracks trends by determining trend direction with double MAs, judging timing assisted by RSI, and methods like moving take profit and stop loss. Further improvements can be achieved by optimizing parameters of MAs, RSI and profit/loss limits. The overall logic is clear and easy to understand and optimize. It is a practical and effective trend tracking strategy.

Source
Pine
/*backtest
start: 2023-11-16 00:00:00
end: 2023-11-23 00:00:00
period: 3m
basePeriod: 1m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=3
strategy(title="[WAI GUA]", shorttitle="[EOS] 1.0", overlay=false )

//study(title="[WAI GUA]", shorttitle="[EOS] 1.0", overlay=true)
Strategy parameters
Strategy parameters
IS This a RENKO Chart
Alternate TimeFrame Multiplier (0=none)
Show Coloured MA Ribbons
Show Ribbon Median MA Lines
FAST MA Ribbon Type:
FAST Ribbon Lower MA Length
FAST Ribbon Upper Length
SLOW MA Ribbon Type:
SLOW Ribbon Lower MA Length
SLOW Ribbon Upper Length
Backtest Start Year
Backtest Start Month
Backtest Start Day
start
increment
maximum
Use Opposite Trade as a Close Signal
Colour Candles to Trade Order state
What type of Orders
Trailing Stop
Trailing Stop (%)
Take Profit
Take Profit (%)
Trailing Profit (%)
Stop Loss
Stop Loss (%)
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)