Mean Reversion & Divergence✓ Audited v5

RSI Divergence & Mean Reversion Strategy

by J. Welles Wilder / Backpulse Lab ✓

Detects regular and hidden bullish/bearish RSI divergences where price action and momentum disagree, catching market tops and bottoms before trend reversals unfold.

5m15m1H
Start 3-day free trial

Strategy performanceTick data

Real tick dataFees (0.04%) and slippage included
Profit factor2.51
Scale 0 to 4 · gross win / loss
Sharpe ratio2.44
Scale 0 to 4 · risk-adjusted
Max drawdown5.9%
Scale 0 to 20% · peak to trough, lower is better

Past results do not guarantee future performance.

Best for

Contrarian traders seeking precise tops and bottoms with tight stop losses.

CryptoForexEquities

Mathematical pivot divergence calculation

Dynamic risk-to-reward ratio 1:2.5 minimum

Automated exit upon RSI center-line (50) crossover

Optimal parameter settings

Discovered across 50,000+ historical simulations on real tick data, with fees and slippage included.

RSI Length

Relative Strength Index period.

Default14
Recommended14
Oversold Level

Oversold trigger threshold.

Default30
Recommended28
Overbought Level

Overbought trigger threshold.

Default70
Recommended72

Use this strategy

Copy the code into TradingView, or send its alerts straight to your exchange.

rsi_divergence_reversal.pine
1//@version=5
2strategy("RSI Divergence Strategy [Backpulse]", overlay=false, initial_capital=10000)
3
4rsi = ta.rsi(close, 14)
5
6if (ta.crossover(rsi, 30))
7 strategy.entry("Long", strategy.long)
8if (ta.crossunder(rsi, 70))
9 strategy.entry("Short", strategy.short)

Add it to TradingView

  1. Copy the codeUse the button above
  2. Open the Pine EditorPaste it and press Save
  3. Add to chartStrategy Tester shows the history
Automation

Send alerts straight to your exchange

Paste the JSON payload into a TradingView alert. Orders execute within 300ms on your connected exchange.

BinanceBybitOKXTradovate
Keep exploring

Similar strategies.

Compared with RSI Divergence Strategy (70.2% win rate).

Trend & Scalping
68.4%Win rate
-1.8 pts vs RSI Divergence Strategy
UT Bot Alerts
Profit factor2.35
Sharpe2.41
Max DD6.8%
Trend Following
64.2%Win rate
-6.0 pts vs RSI Divergence Strategy
Supertrend Strategy
Profit factor2.18
Sharpe2.12
Max DD7.9%
Institutional Price Action
71.6%Win rate
+1.4 pts vs RSI Divergence Strategy
SMC Strategy
Profit factor2.74
Sharpe2.68
Max DD5.4%
Ready to test it

Backtest and automate RSI Divergence Strategy.

Test 20,000 parameter combinations in seconds and auto-execute the signals on your exchange.

Pro free for 3 daysNo credit cardCancel anytime

Backtested results are hypothetical and do not guarantee future performance. Trading involves substantial risk of loss.

RSI Divergence StrategyFree 3-day trial
Start free