logo
Developers

MACD/RSI - edited

Script from: TradingViewSwingMomentumReversal

Employing the edited MACD/RSI strategy involves watching for MACD line crossovers with the signal line, paired with RSI indicators crossing overbought or oversold thresholds within a set "RSI lookback" period. This approach is typically enhanced for identifying potential reversals in market trends, though it remains under refinement for optimization.

FTX Token / TetherUS (FTTUSDT)

+ MACD/RSI - edited

@ 4 h

1.56

Risk Reward

865.89 %

Total ROI

36

Total Trades

LDO / TetherUS (LDOUSDT)

+ MACD/RSI - edited

@ 5 min

1.13

Risk Reward

41.84 %

Total ROI

213

Total Trades

FTX Token / TetherUS (FTTUSDT)

+ MACD/RSI - edited

@ 5 min

1.06

Risk Reward

25.34 %

Total ROI

168

Total Trades

OKB/Tether (OKBUSDT)

+ MACD/RSI - edited

@ 5 min

1.06

Risk Reward

9.11 %

Total ROI

239

Total Trades

FTX Token / TetherUS (FTTUSDT)

+ MACD/RSI - edited

@ 2 h

1.02

Risk Reward

9.30 %

Total ROI

52

Total Trades

Premium users only

Premium users can access all backtests with a Risk/Reward Ratio > 3

@ 2 h

7.75

Risk Reward

4.55 %

Total ROI

16

Total Trades

Premium users only

Premium users can access all backtests with a Risk/Reward Ratio > 3

@ 2 h

4.46

Risk Reward

223.55 %

Total ROI

18

Total Trades

Palantir Technologies Inc. (PLTR)

+ MACD/RSI - edited

@ 4 h

2.68

Risk Reward

274.37 %

Total ROI

18

Total Trades

Newmont Corporation (NEM)

+ MACD/RSI - edited

@ 4 h

2.40

Risk Reward

185.70 %

Total ROI

18

Total Trades

Viatris Inc. (VTRS)

+ MACD/RSI - edited

@ 1 h

1.67

Risk Reward

4.40 %

Total ROI

30

Total Trades

Chevron Corporation (CVX)

+ MACD/RSI - edited

@ 2 h

1.64

Risk Reward

56.43 %

Total ROI

26

Total Trades

Constellation Brands, Inc. (STZ)

+ MACD/RSI - edited

@ 15 min

1.56

Risk Reward

59.16 %

Total ROI

115

Total Trades
Create your account for free to see all 42+ backtests

Access filters, details, best timeframes, explore 100K+ backtests and more

Active Trades

Create your account to see on which symbols MACD/RSI - edited is currently trading on.

Guide

How does the MACD/RSI - edited strategy work ?

The MACD/RSI - edited strategy employs a dual-indicator approach where trades are executed based on the confluence of MACD and RSI signals within a specified date range. For a BUY signal, the strategy requires the MACD to cross over the zero line, indicating potential bullish momentum. Concurrently, it checks to see if the RSI has crossed back up from being oversold within a set lookback period, suggesting an increase in buying pressure.

Conversely, for a SELL signal, the MACD must cross under the zero line, hinting at potential bearish momentum, and the RSI should cross back down from overbought within the same lookback window, indicating increasing selling pressure.

Users can modify RSI overbought/sold thresholds, the lookback period, or MACD settings like the fast/slow lengths or smoothing to fit their specific trading style. Stop loss parameters can also be adjusted, automatically executing exits at a certain percentage loss to protect from larger downturns.

How to use the MACD/RSI - edited strategy ?

This trading strategy uses the RSI and MACD indicators to identify potential entry points for long and short positions based on oversold/overbought conditions and MACD histogram crossovers, while employing a stop-loss mechanism to manage risk.

To trade this strategy manually on TradingView:

  • Set up RSI with a length of 14, an oversold threshold at 30 and an overbought threshold at 70. Look for price crossover above 30 for a long entry signal, and a crossunder below 70 for a short entry signal, within a lookback period of 7 bars.
  • Configure MACD with a fast length of 12, a slow length of 26, and a signal smoothing of 9. You may choose between SMA or EMA for both the oscillator and the signal line according to your preference. Enter long when the MACD histogram crosses above 0; enter short when it crosses below 0.
  • Calculate the stop-loss for a long position as 15% below the average entry price and for a short position as 15% above the average entry price.
  • Enter a long position when the MACD histogram crosses above zero and the RSI signals oversold within the past 7 bars. Enter a short position when the MACD histogram crosses below zero and the RSI signals overbought within the same lookback period.
  • Exit the position with a stop order at the pre-calculated stop-loss level, ensuring you manage your risk appropriately.

How to optimize the MACD/RSI - edited trading strategy ?

Improving the "MACD/RSI - edited" strategy manually involves refining its components and execution to enhance performance and reduce risk. By adjusting indicator parameters, incorporating additional analysis tools, and optimizing trade management practices, traders can potentially increase the strategy's effectiveness. Here's a concise improvement plan:

  • Optimize Indicator Settings: Experiment with different RSI periods and MACD settings. Lower timeframes might respond better to shorter periods, which can catch trends earlier, albeit with increased noise. Conversely, higher timeframes might benefit from longer periods for smoother signals with fewer false positives. Use backtesting to find the sweet spot for your selected market.
  • Filter Trades with Price Action: Confirm signals with bullish or bearish candlestick patterns near oversold or overbought zones. This further validates the reversal potential suggested by the indicators, leading to more robust entry signals.
  • Incorporate Support and Resistance: Use historical support and resistance levels to determine entry and exit points. Entering long positions close to support or short positions near resistance can add another layer of confirmation to the strategy's signals.
  • Add Trend Analysis: Apply a moving average or trendlines to establish the primary trend's direction. Trade only in the direction of the trend to increase the probability of success. For instance, take long positions only above the chosen moving average or vice versa.
  • Implement Volume Analysis: Include volume as a confirmation tool. Look for increased volume on the candle or bar that aligns with the crossover signals to confirm the strength behind the move.
  • Use Multiple Timeframe Analysis: Analyze higher timeframes to confirm overall market direction and sentiment. Cross-reference signals with those on a longer-term chart to ensure alignment.
  • Dynamic Stop Loss and Take Profit: Instead of a fixed percentage, use Average True Range (ATR) to set dynamic stop losses and take profits, which adjust to current market volatility.
  • Risk Management: Apply a consistent risk management strategy where you only risk a small percentage of your total capital on each trade. This ensures that no single loss significantly impacts the overall trading account.
  • Continuous Evaluation: Keep a trading journal detailing all trades, strategies, thought processes, and outcomes. Review this journal periodically to assess what is working and what isn't, then iterate on the strategy accordingly.

For which kind of traders is the MACD/RSI - edited strategy suitable ?

This particular trading strategy is designed for traders who thrive on technical analysis and prefer a systematic, indicator-based approach to trading. It is tailored specifically towards:

  • Reversal Traders: Those who focus on pinpointing the moments where markets shift from an uptrend to a downtrend, or vice versa, will find the combination of MACD for momentum and RSI for overbought/oversold conditions a valuable asset.
  • Swing Traders: The strategy is also well-suited for swing traders who hold positions for several days to capture price swings, as the lookback period and indicators used allow for identifying significant market movements.
  • Intermediate to Advanced Traders: Given the need to interpret and potentially adjust indicator parameters, traders with a level of experience that allows for nuanced understanding and customization of technical indicators will benefit the most from this strategy.

The confluence of RSI and MACD signals makes for a focused strategy that aims to maximize entry precision by combining trend and momentum indicators. It is less suited for absolute beginners or those looking for a high-frequency trading style.

Key Takeaways of MACD/RSI - edited

  • Core Mechanism: The strategy hinges on MACD and RSI indicators to identify market reversals through the calculation of crossovers in specified date ranges.
  • Trading Application: Best applied manually in TradingView or semi-automatically with customized alerts for entry points defined by the script's logic.
  • Indicator Settings Adjustment: Fine-tune RSI periods and MACD settings to align with your specific trading timeframe and market volatility for improved signal accuracy.
  • Trade Confirmation: Enhance entry precision by incorporating additional tools like price action, volume analysis, and use of support/resistance levels.
  • Trend Alignment: Validate signals further with moving average or trendline analysis, ensuring trades are consistent with the overall market trend.
  • Dynamic Stop Loss/Take Profit: Utilize ATR for more adaptable stop loss and take profit levels responsive to market conditions.
  • Risk Management: Manage risk by capping the trade exposure to a fraction of the trading capital to safeguard against heavy losses.
  • Strategy Refinement: Continuously review and adjust the strategy based on real trade data collected in a detailed trading journal.
Explore the best Trading & TradingView strategies

Stop trading blindly. Explore the best strategies among 100K+ backtests and improve your trading skills with data.

Start for free