Type/to search

RSI Divergence Trading Strategy

Common strategy
Created: 2024-01-23 11:08:48
Last modified: 3 years ago
1
Follow
1802
Followers

img

Overview

The RSI divergence trading strategy captures mispricing opportunities by analyzing the divergence between the RSI indicator and price. It goes long or short when the divergence appears.

Strategy Logic

The strategy is based on the value-price divergence when RSI diverges from price. RSI reflects the strength while price reflects the supply-demand relationship. When the two diverge, it indicates market mispricing for arbitrage.

Specifically, a regular bullish divergence happens when RSI forms a higher low while price prints a lower low. This shows that although the market looks weak on the surface, it is actually garnering strength internally for a bounce. When RSI diverges from price and breaks above the 50-line, it presents an opportunity to catch the bounce.

A regular bearish divergence happens when RSI makes a lower high while price forms a higher high. This suggests that although the market looks strong externally, it is showing weakness signals internally. When RSI diverges from price and breaks below the 50-line, it allows profiting from the short side.

There are also hidden bullish and bearish divergences where the relationship between RSI and price is opposite of regular divergences, but the logic remains the same for taking profits.

Advantages

  1. Captures market mispricing from value-price divergence
  2. Improves win rate combining indicator and price divergence
  3. Covers more opportunities distinguishing all types of divergences

Risk Analysis

  1. Fake divergences can happen under special market conditions
  2. Breaking 50-line has relatively low success rate, can optimize
  3. Picking wrong direction could lead to big losses

Optimization Directions

  1. Optimize RSI parameters for higher accuracy
  2. Combine signals from other indicators to confirm divergences
  3. Assess risk-reward for longs and shorts to control per trade loss

Summary

The RSI divergence strategy arbitrages market mispricing through analyzing divergence between value and price signals. Its advantage lies in timely catching trend reversal opportunities, while its risk comes from the accuracy of divergence recognition. With continuous optimization, steady gains can be achieved in live trading.

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

//@version=5
strategy(title="Divergence Indicator")
len = input.int(title="RSI Period", minval=1, defval=14)
src = input(title="RSI Source", defval=close)
Strategy parameters
Strategy parameters
RSI Period
RSI Source
Pivot Lookback Right
Pivot Lookback Left
Max of Lookback Range
Min of Lookback Range
Plot Bullish
Plot Hidden Bullish
Plot Bearish
Plot Hidden Bearish
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)