logo
Developers

RSI Divergence Strategy

Script from: TradingViewIntradayDivergenceScalpingMomentumReversal

The RSI Divergence Strategy employs the Relative Strength Index (RSI) to identify divergence signals that suggest potential reversals in price. Traders utilize this method by setting "take profit", "stop loss", and optional trailing stops to optimize their exit points. Customizing RSI length, source, and divergence line length allows for tailored strategies. Although primarily used for scalping, settings can be adjusted for various trading approaches. Note: "Zoom" feature only alters visual scale, not performance.

Zcash / TetherUS (ZECUSDT)

+ RSI Divergence Strategy

@ 4 h

2.99

Risk Reward

103.47 %

Total ROI

736

Total Trades

Zcash / TetherUS (ZECUSDT)

+ RSI Divergence Strategy

@ 2 h

2.75

Risk Reward

150.25 %

Total ROI

1137

Total Trades

Bitcoin SV/Tether (BSVUSDT)

+ RSI Divergence Strategy

@ Daily

2.39

Risk Reward

15.60 %

Total ROI

86

Total Trades

Bitcoin SV (BSVUSD)

+ RSI Divergence Strategy

@ 4 h

1.29

Risk Reward

21.07 %

Total ROI

573

Total Trades

Novavax, Inc. (NVAX)

+ RSI Divergence Strategy

@ 1 h

2.99

Risk Reward

96.97 %

Total ROI

930

Total Trades

Premium users only

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

@ 2 h

11.17

Risk Reward

51.73 %

Total ROI

1063

Total Trades

Premium users only

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

@ 4 h

8.88

Risk Reward

84.40 %

Total ROI

130

Total Trades

UiPath, Inc. (PATH)

+ RSI Divergence Strategy

@ 1 h

2.56

Risk Reward

7.58 %

Total ROI

235

Total Trades

Rent the Runway, Inc. (RENT)

+ RSI Divergence Strategy

@ Daily

2.47

Risk Reward

6.31 %

Total ROI

30

Total Trades

Zscaler, Inc. (ZS)

+ RSI Divergence Strategy

@ Daily

2.45

Risk Reward

32.06 %

Total ROI

94

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

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

Active Trades

Create your account to see on which symbols RSI Divergence Strategy is currently trading on.

Guide

How does the RSI Divergence Strategy strategy work ?

The RSI Divergence Strategy employs the RSI Divergence indicator on TradingView to identify potential buy or sell opportunities based on divergences between price action and RSI (Relative Strength Index) behavior. Divergence occurs when the RSI direction differs from the price trend, indicating possible trend reversals. The strategy provides customizable variables including "take profit", "stop loss", and "trailing stop loss" for optimizing trade exits.

  • Long positions are initiated when a bullish divergence is detected, where the price makes lower lows while RSI makes higher lows. Conversely, short positions are signaled by a bearish divergence, characterized by higher highs in price and lower highs in RSI.
  • The strategy's parameters such as "RSI length", "source", and "RSI Divergence length" allow traders to modify the RSI settings for different trade setups, whether it be scalping or longer-term strategies. Customization of these settings is crucial for aligning the strategy with individual trading goals and market conditions.
  • Separate "take profit" and "stop" levels are provided for the buy and sell groups, making it possible to apply distinct exit strategies for long and short positions. The "trailing stop" feature dynamically adjusts the stop level as trades move into profit, helping to lock in gains.
  • Furthermore, the script includes a "zoom" feature designed to visually adjust the indicator's scale on the chart without affecting the strategy's outcomes.

Traders using this script can adjust these inputs to fine-tune the strategy's sensitivity and risk management according to their specific trading style and risk tolerance.

How to use the RSI Divergence Strategy strategy ?

This trading strategy employs RSI Divergence combined with calculated linear regression to identify potential entries for long and short positions. Entry signals are generated when there's a divergence between the RSI trend and the price trend, with specific conditions for trade entry and exit based on profit targets and stop levels.

To trade this strategy manually on TradingView:

  • Apply the RSI indicator with a length of 14 to your chart.
  • Plot two linear regression lines: one for the RSI (over the past 14 periods) and another for the price (also over the past 14 periods).
  • Identify divergence between the RSI line's direction and the price line's direction. A bullish divergence occurs when the RSI is making higher lows while the price is making lower lows. Conversely, a bearish divergence occurs when the RSI is making lower highs while the price is making higher highs.
  • Enter long positions when a bullish divergence is identified, and the RSI has not gone above 70 in the past 7 bars (indicating an overbought condition).
  • Enter short positions when a bearish divergence is identified, and the RSI has not gone below 30 in the past 7 bars (indicating an oversold condition).
  • For long entries, set a take profit level at 25% above the entry price and a stop loss at 5% below the entry price. Optionally, employ a trailing stop of 0.25% from the entry price.
  • For short entries, set a take profit level at 25% below the entry price and a stop loss at 5% above the entry price. Similarly, you can use a trailing stop of 0.25% from the entry price.
  • Close positions when the take profit or stop loss level is reached, or manually when you observe the trend reversing or weakening.

How to optimize the RSI Divergence Strategy trading strategy ?

Improving the RSI Divergence Strategy in manual trading hinges on refining entry signals, enhancing risk management, and tailoring the strategy to align with individual trading styles. To elevate the effectiveness of this strategy, the following plan outlines key areas of enhancement:

  • Multiple Time Frame Analysis: Validate RSI divergence signals by conducting a multiple time frame analysis. For instance, if a divergence is spotted on a 15-minute chart, check the 1-hour chart to ensure it corroborates the direction of the trade. This helps filter out weaker signals and increases the reliability of potential trades.
  • Volume Confirmation: Use volume indicators to confirm divergence signals. A divergence accompanied by significant changes in trading volume can validate the likelihood of a strong reversal.
  • Combination with Other Indicators: Incorporate other technical indicators like Moving Averages (MA), Bollinger Bands, or MACD to provide additional confirmation or exit signals. For example, entering a trade when the price crosses a MA line, while a divergence is present, can add an extra layer of confirmation.
  • Refined Entry and Exit Points: Sharpen entrance strategies by waiting for a candlestick pattern that confirms the direction implied by the divergence. For exits, instead of a fixed percentage, use a dynamic stop loss like the Average True Range (ATR) to adapt to current market volatility.
  • Price Action Analysis: Integrate price action analysis such as support/resistance levels, trendlines, and chart patterns to pinpoint more precise entry and exit points. This can significantly improve the accuracy and profitability of the strategy.
  • Backtesting and Forward Testing: Regularly backtest the modified strategy against historical data and forward test in a simulated environment. This should be done each time a significant change is made to the strategy, to ensure its effectiveness and to fine-tune any parameters.
  • Journaling and Review: Maintain a trading journal documenting all trades, observations, and modifications to the strategy. Periodically review the journal to identify patterns in successes and failures to continuously improve the trading approach.

These improvements should be considered iteratively, starting with one change at a time. This systematic approach ensures that the impact of each enhancement can be measured, thereby understanding its effectiveness before adding additional layers of complexity.

For which kind of traders is the RSI Divergence Strategy strategy suitable ?

The RSI Divergence Strategy is well-suited for traders who excel at technical analysis and have a keen eye for spotting trends and reversals. This strategy caters to those with a solid understanding of the Relative Strength Index and its divergence patterns in relation to price movements.

  • Day Traders: With its ability to generate quick signals for potential reversals, day traders can benefit from short-term price movements.
  • Swing Traders: Though primarily used for scalping, with adjustment of the RSI length and divergence parameters, swing traders can also utilize this strategy to capture larger market swings over a few days or weeks.
  • Scalpers: The default settings are configured for scalping, making it ideal for traders looking for rapid trade execution and small profit margins multiple times within a trading day.

This strategy is versatile and can be adapted to different time frames and market conditions, appealing to a wide range of traders with varying trading styles.

Key Takeaways of RSI Divergence Strategy

  • Strategy Essence: Utilizes RSI divergences to pinpoint market reversals, providing entry signals for trades.
  • Automation: Executable through a TradingView script, automating trade entries and exits based on predefined RSI values and divergence.
  • Alerts: Incorporates alert conditions within the script to notify traders of potential trade opportunities as they arise.
  • Manual Trading: Can be manually operated by visually identifying divergences and confirming with RSI and price action analysis for more control.
  • Combination: Best utilized by merging automated alerts with manual analysis, especially for refinement of entry and exit points.
  • Optimization: Improved through multi-time frame analysis, volume confirmation, integration with other indicators, and evaluative tools like ATR for dynamic stop losses.
  • Risk Management: Enhanced by using price action analysis, support/resistance levels, and by maintaining a comprehensive trade journal.
  • Trading Style Versatility: Adaptable for day traders, swing traders, and scalpers by adjusting RSI and divergence settings to match the desired trading tempo.
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