RSI Buy Sell Signals — Complete TradingView Guide
RSI buy sell signals explained for TradingView. Overbought, oversold, divergences, and centerline cross — with Pine Script code, parameter settings, and real chart examples from NQ and ES trading.
RSI Signal Interpretation
Quick-reference guide to 6 signal types you will see on the chart.
| Signal Type | Indicator Condition | Market Meaning | Reliability |
|---|---|---|---|
| Overbought (>70) → Sell | RSI crosses above 70 then drops back below 70 | Price has moved up too fast. Expect pullback or reversal. Stronger signal when RSI stays below 70 after the drop. | 3/5 |
| Oversold (<30) → Buy | RSI crosses below 30 then rises back above 30 | Price has sold off excessively. Bounce or reversal likely. Most reliable in range-bound markets. | 3/5 |
| Bullish Divergence → Buy | Price makes lower low, RSI makes higher low | Downward momentum is weakening. Reversal to the upside incoming. One of the most reliable RSI signals. | 5/5 |
| Bearish Divergence → Sell | Price makes higher high, RSI makes lower high | Upward momentum is stalling. Reversal to the downside likely. Works best after extended trends. | 4/5 |
| Centerline Cross (50) | RSI crosses above or below the 50 level | Above 50 = bullish momentum, below 50 = bearish momentum. Used as trend filter rather than entry signal. | 4/5 |
| Failure Swing → Reversal | RSI crosses below 30, bounces above 30, pulls back above 30, then breaks above the bounce high | Classic bullish failure swing. Momentum has shifted and the downtrend is exhausted. | 4/5 |
RSI Pine Script Signal Code
Ready-to-use Pine Script code for generating buy/sell signals. Copy and paste into your TradingView Pine Editor.
//@version=5
indicator("RSI Buy Sell Signals", overlay=false)
len = input.int(14, "RSI Length")
src = input.source(close, "Source")
ob = input.int(70, "Overbought Level")
os = input.int(30, "Oversold Level")
rsi = ta.rsi(src, len)
// Oversold Buy Signal
buySignal = ta.crossover(rsi, os)
// Overbought Sell Signal
sellSignal = ta.crossunder(rsi, ob)
// Bullish Divergence
lowerLowPrice = low < low[1] and rsi > rsi[1]
bullDiv = low[2] > low and rsi[2] < rsi
// Bearish Divergence
higherHighPrice = high > high[1] and rsi < rsi[1]
bearDiv = high[2] < high and rsi[2] > rsi
plot(rsi, "RSI", color=#2962FF)
hline(ob, "Overbought", color=#FF5252, linestyle=hline.style_dashed)
hline(50, "Midline", color=#757575, linestyle=hline.style_dotted)
hline(os, "Oversold", color=#4CAF50, linestyle=hline.style_dashed)
plotshape(buySignal, "Buy", shape.triangleup, location.bottom, color=#4CAF50, size=size.small)
plotshape(sellSignal, "Sell", shape.triangledown, location.top, color=#FF5252, size=size.small)
plotshape(bullDiv, "Bull Div", shape.labelup, location.bottom, color=#00BCD4, size=size.small)
plotshape(bearDiv, "Bear Div", shape.labeldown, location.top, color=#FF9800, size=size.small)
alertcondition(buySignal, "RSI Oversold Buy", "RSI crossed above oversold (30)")
alertcondition(sellSignal, "RSI Overbought Sell", "RSI crossed below overbought (70)")
alertcondition(bullDiv, "RSI Bullish Divergence", "Bullish RSI divergence detected")
alertcondition(bearDiv, "RSI Bearish Divergence", "Bearish RSI divergence detected")Recommended Parameters for RSI
Parameter settings tested across different market conditions and timeframes.
| Parameter | Default | Description |
|---|---|---|
| RSI Length | 14 | Lookback period. Lower values (7-9) create more signals for scalping. Higher values (21) filter noise for swing trading. |
| Source | Close | Price source. Close gives standard RSI. HLC3 for smoother readings on volatile markets. |
| Overbought Level | 70 | Threshold above which RSI is overbought. Tighten to 80 for strong trends, loosen to 65 for range markets. |
| Oversold Level | 30 | Threshold below which RSI is oversold. Tighten to 20 for strong downtrends. |
RSI + Pineify Invite-Only: Better Together
RSI alone gives you one signal type. Pineify invite-only indicator combines RSI with RSI divergences, MACD confirmation, and Supertrend filters in one overlay. Fewer charts, clearer signals.
Instead of switching between 6 different signals on separate charts, you get a single multi-confirmation setup.
See the Invite-Only IndicatorRelated Resources
FAQ
RSI Signals FAQ
Stop juggling RSI with 4 other charts
Pineify combines RSI, RSI, MACD, and Supertrend into one invite-only indicator. One click setup.
Try Pineify Free