RSI Strategy Optimization for TradingView

Optimize RSI strategy parameters on TradingView with Pineify grid search. Test period, overbought, and oversold levels across thousands of combinations.

Add to Chrome Free

Building a RSI Strategy

The Relative Strength Index (RSI) is a momentum oscillator that measures the speed and magnitude of recent price changes. A common RSI strategy involves buying when RSI crosses above the oversold level (typically 30) and selling when it crosses below the overbought level (typically 70).

The key parameters that affect RSI strategy performance are: the RSI period (how many bars the calculation looks back), the overbought threshold, the oversold threshold, and optionally a smoothing factor. Each of these can dramatically change your strategy behavior.

Optimizable Parameters

ParameterDescriptionTypical Range
RSI PeriodNumber of bars used in RSI calculation5 - 30 (step 1)
Overbought LevelThreshold above which RSI signals overbought60 - 85 (step 5)
Oversold LevelThreshold below which RSI signals oversold15 - 40 (step 5)
Signal SmoothingOptional moving average of RSI for signal line3 - 14 (step 1)

Real Optimization Run

I ran a grid search on RSI strategy with period range 5-30 (step 1), overbought 65-80 (step 5), oversold 20-35 (step 5) across BTCUSD daily. That is 26 x 4 x 4 = 416 combinations. The optimization completed in about 6 minutes. Best result used period 14, overbought 75, oversold 25 with a win rate of 62% across 3 years of data. The default 70/30 combo was solid but not optimal : that slight shift from 30 to 25 for oversold made a meaningful difference in drawdown.

Frequently Asked Questions

Related Strategy Optimizations

Start Optimizing Your RSI Strategy

Download Pineify Supercharged for free and run your first grid search optimization in minutes.

Add to Chrome Free