Type/to search

Momentum Reversal Trading Strategy

Cryptocurrency
Created: 2023-10-07 16:52:05
Last modified: 3 years ago
1
Follow
1781
Followers

Overview

This strategy is based on the concept of momentum reversal trading. It uses RSI, Stoch and MACD to determine the current trend direction, and sets stop loss and take profit based on ATR, to implement an automated trading strategy that can efficiently capture trend reversals.

Trading Logic

The strategy uses RSI, Stoch and MACD as three indicators to determine the current trend direction. The specific logic is:

  • RSI(7): RSI above 50 indicates an uptrend, while below 50 a downtrend
  • Stoch(%K, 14, 3, 3): %K above 50 is uptrend, below 50 is downtrend
  • MACD(12, 26, 9): MACD above Signal line is uptrend, below is downtrend

When all three indicators are bullish, the bar color is set to green. When all are bearish, the bar color is set to red. If there is divergence between the indicators, the bar color is set to black.

The trading rules are:

  • When the current bar is green, and the previous bar is black or red, go long. The entry price is 0.01 above the high of the bar.
  • When the current bar is red, and the previous bar is black or green, go short. The entry price is 0.01 below the low of the bar.
  • If the bar turns to red or black during a long position, close the long trade.
  • If the bar turns to green or black during a short position, close the short trade.

The strategy also uses ATR(7) to set the stop loss and take profit. The stop loss is set at 1.5 times ATR, and take profit at 3 times ATR.

Advantage Analysis

The advantages of this strategy include:

  1. Using multiple indicators to determine trend can effectively filter false breakouts. High probability of trend reversal when RSI, Stoch and MACD all agree.

  2. ATR stop loss and take profit settings are reasonable. ATR can effectively track market volatility. By using multiples of ATR, stops and targets can be dynamically adjusted based on market conditions.

  3. Simple and clear logic, easy to understand and automate. Suitable as an automated trading strategy.

Risk Analysis

The risks of this strategy include:

  1. Errors in individual indicators can affect entry timing. Can consider adjusting parameters or adding more confirmation indicators to reduce errors.

  2. Size of ATR significantly affects stops and targets. Incorrect ATR calculation may result in stops being too wide or targets too tight. Can add additional indicators to confirm ATR.

  3. Lack of trend determination. Focused on reversal trading, insufficient trend analysis may lead to whipsaws in ranging markets. Can add trend indicators.

  4. Overfitting risk. Requires thorough backtesting to verify robustness of parameters and rules.

Improvement Directions

Possible improvements for this strategy:

  1. Adjusting or adding indicators to improve precision in determining reversal points. E.g. adding Bollinger Bands to check overbought/oversold levels.

  2. Optimizing ATR calculation to better track volatility. E.g. using ATR/Price ratios.

  3. Adding trend indicators to avoid whipsaws during ranging markets. E.g. moving averages.

  4. Optimizing money management, such as adjusting position sizing based on drawdown.

  5. Period optimization to test robustness across timeframes.

  6. More backtesting on various products and time periods to verify reliability.

Summary

This strategy is designed based on momentum reversal concepts, using RSI, Stoch and MACD combo to identify reversals, with dynamic ATR stops and targets. It forms a relatively complete trend reversal system. Advantages include clear logic and reasonable stops/targets. Deficiencies include signal errors and lack of trend filters. Improvements can be made by optimizing indicators, adding trends, and adjusting position sizing. This can make the strategy more robust.

Source
Pine
/*backtest
start: 2023-09-06 00:00:00
end: 2023-10-06 00:00:00
period: 2h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © jwitt98
//The PowerX strategy - based on the rules outlined in the book "The PowerX Strategy: How to Trade Stocks and Options in Only 15 Minutes a Day" by Markus Heitkoetter
Strategy parameters
Strategy parameters
Start date
End date
Allow long positions
Allow short positions
Keep risk at or above the set point
Select the multipliers for the stop loss and profit targets
Stop loss multiple
Profit target multiple
Money management
Use money management
Percent risk per trade
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)