Type/to search

Momentum Reversal Strategy

Common strategy
Created: 2024-01-03 17:14:15
Last modified: 3 years ago
1
Follow
1802
Followers

img

Overview

This strategy is a momentum reversal strategy based on moving averages and the relative strength index (RSI). It uses the crossover of fast and slow moving averages along with overbought and oversold signals to determine entries and exits.

Strategy Logic

The strategy uses a 14-day moving average as the fast signal line and a 28-day moving average as the slow line. It also incorporates the RSI indicator to gauge whether the market is overbought or oversold.

When the 14-day MA crosses above the 28-day MA and the RSI is below 30 or the RSI is below 13, it signals a reversal in the momentum to the upside, prompting a long entry. When the 14-day MA crosses back below the 28-day MA, it signals a failure of the momentum reversal which prompts a partial profit taking exit.

In addition, the strategy has a partial profit-taking mechanism. When the profit of the open position reaches the set take profit level (default 8%), it will partially take profit (default selling 50%).

Advantage Analysis

The strategy combines the advantages of moving averages while avoiding whipsaw losses.

  1. Using fast and slow moving averages filters out some noise.

  2. RSI gauges overbought and oversold levels, avoiding chasing new highs.

  3. The partial profit-taking locks in some profits and reduces risk.

Risk Analysis

  1. Dual moving average crossovers can produce whipsaws, leading to losses. This strategy uses the RSI to provide additional confirmation, filtering some whipsaw signals.

  2. Partial profit-taking may result in missing larger moves. The take profit level can be adjusted to balance risk versus reward.

Optimization Directions

  1. Test different parameter combinations of moving averages to find optimal settings.

  2. Test different RSI threshold levels.

  3. Adjust partial profit-taking take profit level and sell ratio to balance risk/reward.

Conclusion

Overall this is a typical mean reversion strategy. It uses fast/slow MA crosses to determine market turns supplemented by RSI to filter signals. It also implements partial profit taking to lock in some profits. The strategy is simple yet practical. Parameters can be adjusted to suit different market conditions.

Source
Pine
/*backtest
start: 2024-01-01 00:00:00
end: 2024-01-02 00:00:00
period: 1m
basePeriod: 1m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=3
strategy(title = "14/28 SMA and RSI", shorttitle = "14/28 SMA and RSI", overlay = false, pyramiding = 0, default_qty_type = strategy.percent_of_equity, default_qty_value = 100, currency = currency.USD)
src = close, len = input(14, minval=1, title="Length")
take_Profit=input(8, title="Take Profit")
Strategy parameters
Strategy parameters
Length
Take Profit
Percent of Quantity to Sell
Close Overbought and Take Profit
SMA Signal Period
SMA Longer Period
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)