Indicator · Pine Script v5 · On the chart

RSI Technique - V

by Tikam02· code credited to Sofien-Kaabar

RSI Technique - V identifies rapid reversal pivot points based on the Relative Strength Index.

View on GitHub

GitHub stars20on the repository
Pine versionv5runs as is
Lines of code30
Settings1inputs
LicenceApache-2.0
Last update2 years ago30 Apr 2024

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above, or the copy button on the code below.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.

Source Code

30 lines of Pine Script v5 from Pinescrips/V-RSI.txt, published under Apache-2.0. Keep the author's credit and licence lines when you reuse it.

V-RSI.txt
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © Sofien-Kaabar

//@version=5
indicator("RSI Technique - V", overlay = true)
lookback = input(defval = 8, title = 'Lookback')

rsi = ta.rsi(close, lookback)

bullish_signal = rsi > 20 and rsi[1] < 20 and rsi[2] > 20
bearish_signal = rsi < 80 and rsi[1] > 80 and rsi[2] < 80

plotshape(bullish_signal,  style = shape.triangleup,   color = color.blue,   location =  location.belowbar, size = size.small)
plotshape(bearish_signal,  style = shape.triangledown, color = color.orange, location =  location.abovebar, size = size.small)


--------------------------------------------------------------------------------------------------------------------------------

The V-RSI Trading Technique
From its name, the V-RSI trading technique is a simple method to predict a complete reversal based on the pattern detected on the indicator. The V-technique occurs when the RSI shapes a V or an inverted V around the oversold and overbought levels, thus showing that the market is ready for reversal. The trading conditions for the default version are as follows:

A bullish signal is detected whenever the 8-period RSI surpases 15 when the previous RSI is below 15 and the prior RSI is above 15.
A bearish signal is detected whenever the 8-period RSI breaks 85 when the previous RSI is above 85 and the prior RSI is below 85.



You can tighten the conditions a bit by adding the following:

A bullish signal is detected whenever the 8-period RSI surpases 15 when the previous RSI is below 15 and the prior RSI is above 15. At the same time, the current RSI must be below the RSI from two periods ago.
A bearish signal is detected whenever the 8-period RSI breaks 85 when the previous RSI is above 85 and the prior RSI is below 85. At the same time, the current RSI must be above the RSI from two periods ago.

Overview

RSI Technique - V monitors an RSI oscillator, configurable via the lookback setting, looking for sharp V-shaped spikes around extreme zones. A bullish signal appears when the indicator briefly dips below 20 and rebounds on the next bar, while a bearish signal triggers when it pokes above 80 and immediately drops back down. The script plots directional triangles directly on the price chart. Signals trigger on single-bar threshold bounces without trend filters.

Details

Published by

Tikam02 on GitHub

Code credit

Sofien-Kaabar, as written in the script's header

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

Oscillators & momentum, Mean reversion

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Lookbackint8lookback
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.

Similar Pine Scripts

This indicator plots trade entry and exit signals on the price chart by combining Bollinger Bands with optional filter conditions. It calculates standard Bollinger Bands along with RSI, Aroon, and moving average filters. Reversal signals trigger when price bre

Indicator v4 Volatility & bandsOscillators & momentum
Updated 2 months ago · None stated GitHub repository of Bollinger Bands Winner IND [Alorse]
285 stars

Mean Reversion Study is an indicator that identifies trade setups combining exponential moving averages, RSI extremes, and engulfing candlestick patterns. It highlights bullish setups when a bullish engulfing candle forms below the EMA while RSI is oversold, a

Indicator v4 Mean reversionCandlestick patterns
Updated 3 years ago · None stated GitHub repository of Mean Reversion Study
147 stars

This indicator combines Bollinger Bands, RSI, Stochastic RSI, and volume spike detection to identify mean-reversion conditions during range-bound market regimes. It calculates Bollinger Band width to identify low-volatility states and triggers buy or sell sign

Indicator v5 Oscillators & momentumVolatility & bands
Updated 6 weeks ago · MIT GitHub repository of BTC Dec 2025 — Range + Gamma Flush
53 stars

This overlay indicator calculates the 14-period Relative Strength Index to identify overbought and oversold market conditions. When RSI crosses key thresholds, it plots initial long or short entry labels directly on the price chart. If price continues moving a

Indicator v6 Oscillators & momentumMean reversion
Updated 2 months ago · MPL-2.0 GitHub repository of RSI Multi-Layer Entry Indicator

Commodity Heat Reversal plots score-based mean-reversion reversal markers on the price chart for commodity futures, aimed at the four-hour timeframe. It builds separate long and short heat scores from ATR distance to a mean moving average, ATR expansion, RSI e

Indicator v6 Mean reversionVolatility & bands
Updated yesterday · MIT GitHub repository of Commodity Heat Reversal [WavesUnchained]
8 stars

This indicator detects contrarian inflection points and potential market reversals by combining sentiment, volume, and price action metrics directly on the price chart. It evaluates overbought and oversold conditions with the RSI and Stochastic oscillators, hi

Indicator v5 Oscillators & momentumVolatility & bands
Updated 7 weeks ago · None stated GitHub repository of GCR Inflection Point Scanner

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers